1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

Easy WCG_config

Discussion in 'World Community Grid (WCG)' started by Mindweaver, Oct 19, 2009.

  1. Mindweaver

    Mindweaver Moderato®™ Staff Member

    Joined:
    Apr 16, 2009
    Messages:
    5,424 (2.62/day)
    Thanks Received:
    3,014
    Location:
    Statesville, NC
    Crunching for Team TPU
  2. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    Thanks bro gnite. When you come back tomorrow though, check this out. Don't think it's working. Completed WU's are still showing "ready to report" :( :confused:

    [​IMG]
     
  3. msgclb

    msgclb

    Joined:
    May 15, 2008
    Messages:
    1,718 (0.71/day)
    Thanks Received:
    4,270
    Location:
    Oklahoma City
    CP, I'm a simple guy so I keep a cc_config.xml file that I copy to my BOINC folder after I do a new install.

    This is what's in my Windows 7 \ProgramData\BOINC\cc_config.xml file.

    Code:
    <cc_config>
     <options>
      <report_results_immediately>1</report_results_immediately>
     </options>
    </cc_config>
    
    I opened the file by right-clicking the file and selecting Edit. I don't know what Mindweaver put in his installer.
     
    Mindweaver and Chicken Patty say thanks.
  4. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    I copied yours into my CC config file. Let's see how that one works :toast:

    I think this one seems to work

    [​IMG]
     
    msgclb says thanks.
  5. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    In order to fix the exe, I need to know the following information:

    1) What's the full path to the cc_config.xml that worked?

    2) What's the full path to where BOINC is installed?


    3) At the registry:

    HKEY_LOCAL_MACHINE\SOFTWARE\Space Sciences Laboratory, U.C. Berkeley\BOINC Setup
    OR
    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Space Sciences Laboratory, U.C. Berkeley\BOINC Setup

    Are DATADIR, INSTALLDIR, or MIGRATIONDIR correct? A screen shot of what is in there would be helpful.


    4) Do you have BOINC 32-bit installed on a 64-bit OS?
     
    Last edited: Mar 2, 2010
    Chicken Patty says thanks.
    Crunching for Team TPU
  6. Mindweaver

    Mindweaver Moderato®™ Staff Member

    Joined:
    Apr 16, 2009
    Messages:
    5,424 (2.62/day)
    Thanks Received:
    3,014
    Location:
    Statesville, NC
    Sorry bro.. I hate to ask you to brake your file but could you re run my file and copy what it's writing and post back. Don't for get to save your working file first... hehehe I won't be home for awhile today.

    Thanks msgclb for the help! :respect: It was really late and way past my bed time.. hehehe It should be the same code as yours.. but I could barely keep my eyes open.. So, I'll check it out today and fix the error. The file on the front page works if you have wcg installed in its default location on your system drive. I'll start working on a new release with SSD support, were the user is installing Boinc on a different drive. Thanks again msgclb! :respect:
     
    Last edited: Mar 2, 2010
    Crunching for Team TPU
  7. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    I'll get you guys the info when I get back from work. Thanks for the help :toast:
     
  8. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    I think this should get the right file...

    The cc_config.xml you edited (that works) should appear in the list of processed files. Let me know if it does or doesn't. If it does, then there's no need answering those 4 questions above (this fix addresses number 4--it will search both paths listed under 3). ;)


    FYI, the executable supports the "-dir" command (I forgot about this). In your instance, this would hook you up:
    WCGConfigEZ.exe -dir "D:\Program Data"

    If cc_config.xml exists, it would patch it. If it doesn't exist, it would create it with the appropiate settings.


    Running WCGConfigEZ.exe from your SSD might have also worked.
     
    Last edited: Mar 3, 2010
    Mindweaver and Chicken Patty say thanks.
    Crunching for Team TPU
  9. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    Thanks a lot FORD, I'll heck it out when I get home and post back :toast:
     
  10. Mindweaver

    Mindweaver Moderato®™ Staff Member

    Joined:
    Apr 16, 2009
    Messages:
    5,424 (2.62/day)
    Thanks Received:
    3,014
    Location:
    Statesville, NC
    Hey CP I seen the error in my code.. Forgot a ".

    I've fixed it. Please test and let me know after you have tested Ford's. Thanks and Thanks Ford for pulling my slack!... :p Long time know hear from! :toast:
     

    Attached Files:

    Chicken Patty says thanks.
    Crunching for Team TPU
  11. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    msgclb's was working. I tried yours now and it seems to work as well :toast:
     
    Mindweaver says thanks.
  12. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    Did the exe process the correct file? I want to get it fixed so other people won't encounter the same problem as you.


    Edit: This is an updated version. I changed the name of the executable as well as made a change which would make sure the previous changes will still work in Windows 98 SE and Windows 2000.


    Edit: Updated again. This version will always create cc_config.xml according to the BOINC/WCG registry data. I also updated the copyright year to 2010.
     
    Last edited: Mar 4, 2010
    Mindweaver and Chicken Patty say thanks.
    Crunching for Team TPU
  13. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    The last one that mind posted, yes it did. Working great :toast:
     
  14. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    Mindweaver hasn't posted an executable except in the OP which is still the original version (known to not be working in your situation). I mean the executable in that last post of mine.

    Mindweaver's batch programs and my executable have completely different code bases so they have to be tested individually. That is, my executables are not based on his batch programs.

    Please try running WCG Configurator 1.0.3 and let me know if the cc_config.xml that is known to be used by BOINC appears in the processed list. If it does and you want to take it a step further, try deleting the cc_config.xml, run the configurator again and make sure it recreates it in the appropriate location. If that works, it should work on any Windows 98 SE thru Windows 7 BOINC install where the registry contains the correct information (which should be all) even if it is installed on a different hard drive.
     
    Last edited: Mar 3, 2010
    Mindweaver and Chicken Patty say thanks.
    Crunching for Team TPU
  15. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    I'll do ao when I get home :toast:
     
  16. Mindweaver

    Mindweaver Moderato®™ Staff Member

    Joined:
    Apr 16, 2009
    Messages:
    5,424 (2.62/day)
    Thanks Received:
    3,014
    Location:
    Statesville, NC
    Hey FordGT90Concept after Chicken Patty has tested your exe. I'll update the OP with the new update. :toast: :respect:

    Thanks again bro for all the help with testing! :toast: :respect:
     
    Chicken Patty says thanks.
    Crunching for Team TPU
  17. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    Thanks for reminding me too! :laugh:

    Downloading and installing fords exe now.

    EDIT: Ok seems to be working so far. Thanks for all the help guys :toast: :rockout:
     
    Mindweaver says thanks.
  18. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    Was the correct file (if it hasn't changed from before: D:\ProgramData\cc_config.xml ) in the "processed" list? A screenshot of what it shows before it closes would be very helpful.

    It isn't an installer. It is a console application that can be ran from any where and discarded.
     
    Last edited: Mar 4, 2010
    Crunching for Team TPU
  19. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (10.99/day)
    Thanks Received:
    12,227
    Location:
    Miami, Florida
    Here you go dude:

    [​IMG]
     
    FordGT90Concept says thanks.
  20. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    Win! Mindweaver, the version attached to this post is ready for the OP...


    By the way, you can delete the C:\ProgramData\BOINC directory if all it contains is cc_config.xml. The previous version of the configurator would default to that location if it couldn't find it elsewhere. The current version defaults to the DATADIR registry entry.
     
    Last edited: Mar 6, 2010
    Mindweaver and Chicken Patty say thanks.
    Crunching for Team TPU
  21. msgclb

    msgclb

    Joined:
    May 15, 2008
    Messages:
    1,718 (0.71/day)
    Thanks Received:
    4,270
    Location:
    Oklahoma City
    After spending a week trying to get Ubuntu 9.10 to run BOINC on an AMD system that consists of an ASUS M3A76-CM and an Athlon II X4 620 I gave up and installed XP. BOINC hung itself trying to validate me! I didn't have a WCG config file for this XP install so I used FordGT90Concept's last version and it didn't give me any errors. I just did the install so it will be awhile before anything is ready to upload.

    That installer found where BOINC hid its files. I had to poke around to find them.
     
  22. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    The exe uses the registry which the BOINC/WCG installer creates. It should always get the right directory unless, of course, the registry is incorrect.
     
    Chicken Patty and Mindweaver say thanks.
    Crunching for Team TPU
  23. Mindweaver

    Mindweaver Moderato®™ Staff Member

    Joined:
    Apr 16, 2009
    Messages:
    5,424 (2.62/day)
    Thanks Received:
    3,014
    Location:
    Statesville, NC
    I've updated the OP! :toast: Great job! and thanks for the information! :respect:
     
    FordGT90Concept and Chicken Patty say thanks.
    Crunching for Team TPU
  24. FordGT90Concept

    FordGT90Concept "I go fast!1!11!1!"

    Joined:
    Oct 13, 2008
    Messages:
    14,096 (6.24/day)
    Thanks Received:
    3,915
    Location:
    IA, USA
    I should really completely recode it. Except the registry stuff, I really don't like the current version because it, well, isn't intelligent enough for my taste. I might recode it from scratch if I have time...

    What would be better: console version like it is now or make it a windowed application? Either way, it would be a one or two click ordeal.
     
    Crunching for Team TPU
  25. Trigger911

    Trigger911 New Member

    Joined:
    Jan 2, 2007
    Messages:
    600 (0.21/day)
    Thanks Received:
    63
    Location:
    Under Columbus, Ohio
    So this just makes the projects upload when there complete and that's it? whats the advantage? Pretty cool I tried this out on 3 of my machines 2x 64bit windows 7 enterprise and ultimate and windows 32bit enterprise.
     

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)

Share This Page