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

Simple WCG PPD Estimator

Discussion in 'World Community Grid (WCG)' started by [Ion], Dec 21, 2009.

  1. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (11.62/day)
    Thanks Received:
    12,225
    Location:
    Miami, Florida
    Just restarted, I even went in and deleted all the other versions and just freshly installed the 2010 version, x64.
  2. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    You verified they are there?

    If so, Ion is going to have to try statically linking it. No idea why installing the redist wouldn't fix it.
    Crunching for Team TPU
  3. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (11.62/day)
    Thanks Received:
    12,225
    Location:
    Miami, Florida
    That particular file it says it's missing is not in the folder you mentioned above. At least I don't find it.
  4. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    Do you by any chance have msvcr100.dll in those same directories? msvcr100d.dll is the debugging version which only comptuers with Visual Studio would have (and mine does):
    http://msdn.microsoft.com/en-us/library/abx4dbyh.aspx

    That would explain why those with visual studio can run it and those without cannot. Ion needs to compile it without debugging symbols (use /MD instead of /MDd).


    Edit: The GUI version without Benchmark is ready to go--just need new processor data. I also made it auto-fill the processor speed from the the registry.
    Crunching for Team TPU
  5. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    I'll see what I can do....the last time I had an issue where it wouldn't run without VS, I just compiled it with GCC instead....but that's not working this time :ohwell:
    How would I do that? I'm just doing Debug->Start without Debugging from VS2010
    Crunching for Team TPU
  6. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (11.62/day)
    Thanks Received:
    12,225
    Location:
    Miami, Florida
    Nope:

    [​IMG]
  7. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    In the standard toolbar, there should be a drop down box to select between Release, Debug, and maybe Configuration Manager... Try changing it to Release. What type of project is it? MFC, Win32, or CLR?


    I don't trust Windows Search. Hopefully it is there but Windows Search database is out of data.
    Crunching for Team TPU
  8. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    C2D (Conroe): 2
    C2D (Wolfdale): 2.2
    C2Q (Kentsfield): 4
    C2Q (Yorkfield): 4.45
    Ci3/Ci5 (Clarkdale): 4.1
    Ci5 (Lynnfield): 5.9
    Ci7 (quad-core): 8.1
    Ci7 (hex-core): 12.1
    Athlon 64X2 / Athlon X2: 1.7
    PhI X3: 2.3
    PhI X4: 3.2
    AII X2: 2.0
    AII X3: 3.0
    AII X4: 3.9
    PhII X2: 2.1
    PhII X3: 3.1
    PhII X4: 4.2
    PhII X6: 6.7


    :cool:

    Thanks again! :respect:


    EDIT:
    Win32
    Crunching for Team TPU
  9. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    I verified that changing it in that drop down box will change which DLL is loaded (msvcr100.dll or msvcr100D.dll). I would recommend changing it to "Release." If you want to manually change it, it appears under the Project properties, expand Configuration Properties, Expand C/C++, click on Code Generation. It is Runtime Library in here. Multi-threaded Debug DLL (/MDd) is msvcr100D.dll and Multi-threaded DLL (/MD) is msvcr100.dll. You'll want the latter (/MD).
    Crunching for Team TPU
  10. Chicken Patty

    Chicken Patty WCG Moderator Staff Member

    Joined:
    Nov 27, 2007
    Messages:
    28,341 (11.62/day)
    Thanks Received:
    12,225
    Location:
    Miami, Florida
    I looked for it manually, not there.
  11. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    WE HAVE LIFTOFF :cool:

    Check the version attached to this post, it should work on all WinXP or later systems (tested on my bro's XP system without VS or anything). It comes at a slight expense of size (~75k vs ~30k) but at least it works ;)

    Attached Files:

    scaminatrix says thanks.
    Crunching for Team TPU
  12. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    Here you go. I'll remove it once you got it.

    Requires .NET Framework 4.0.
    Last edited: Oct 25, 2010
    Crunching for Team TPU
  13. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    Got it :)
    Crunching for Team TPU
  14. KieX

    Joined:
    Dec 18, 2009
    Messages:
    2,408 (1.43/day)
    Thanks Received:
    2,461
    Location:
    London, UK
    Tested it for a little bit, seems solid. Compared it to scores I had/have and looks accurate. Good job :toast:

    7285PPD for i7 Hex @ 3.8GHz? Whoa, that make me reconsider making more rigs for upgrading instead.
  15. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    That seems reasonable, a hex will do about 50% more than a standard i7 @ any clock speed :)


    I've updated the OP with the two latest versions, I'll get a Linux version out at some point :cool:
    Crunching for Team TPU
  16. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    I noticed our two versions don't match and I wonder if it has to do with the 64-bit client. Currently, I have 64-bit as a 1.1 multi and 32-bit as a 1.0 multi. Is that backwards or something?
    [Ion] says thanks.
    Crunching for Team TPU
  17. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    No....that's right.

    I'm going to check over my version later and make sure that I have all of the numbers entered correctly
    Crunching for Team TPU
  18. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    Did you find the problem? By the way, it was also on Core i7 quad that I noticed it didn't match. The math for Core i7 quad WCG:

    x86: 8.1 * processor speed in megahertz * processor count
    x64: 8.1 * processor speed in megahertz * processor count * 1.1


    Edit: Ah, I worked backwards from what was in your screenshot:

    processor value = 33704.00 / 3830 / 1.1
    processor value = 8.0

    Is it possible your code is accidentally rounding 8.1 to 8.0?
    Crunching for Team TPU
  19. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    It might be, I'll check after school :toast:
    Crunching for Team TPU
  20. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    I'm talking w/ a user over @ XS, chances are good that there's going to be a web version of this shortly :toast:
    Crunching for Team TPU
  21. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    I could make a web version for you if you got a host for it. XD

    The only disadvantage is no auto-detecting clockspeed and OS architecture.
    Last edited: Oct 26, 2010
    Crunching for Team TPU
  22. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    Already have a host ;)

    I have a site under construction at http://infinityfx.co.cc .... if he doesn't come through, I'd love it if you could do so :toast:

    No auto-detecting clockspeed & OS is perfectly OK IMO :cool:
    Crunching for Team TPU
  23. FordGT90Concept

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

    Joined:
    Oct 13, 2008
    Messages:
    13,354 (6.30/day)
    Thanks Received:
    3,367
    Location:
    IA, USA
    Looks like PHP. I can handle PHP. XD
    Crunching for Team TPU
  24. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    Sorry, what looks like PHP?

    He was almost done as of last night, so assuming something didn't go wrong, he'll have it out today :)
    Crunching for Team TPU
  25. [Ion]

    [Ion] WCG Team Assistant

    Joined:
    Sep 15, 2009
    Messages:
    11,786 (6.62/day)
    Thanks Received:
    10,889
    Location:
    North Carolina, United States
    We now have a web version :rockout::rockout: :toast::toast:

    Available here :cool:

    Many thanks to Jonathan Horne ([XC] Oj101 at XtremeSystems) :respect:

    [​IMG]
    King Wookie and Chicken Patty say thanks.
    Crunching for Team TPU

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

Share This Page