Mini Collatz App Released
log in

Advanced search

Message boards : News : Mini Collatz App Released

1 · 2 · Next
Author Message
Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 11238 - Posted: 1 Feb 2011, 1:59:46 UTC

The mini collatz application has been released. If your machine is capable of running the collatz app, please continue to do so as the mini collatz app places a higher load on the server. Please check your preferences as both are enabled by default. If you have a mixture of fast and slow machines, you may want to consider creating sepearate preferences for work/home/school with collatz enabled for one and mini collatz enabled for another and then setting each host location as appropriate.

Profile Death
Avatar
Send message
Joined: 13 Jul 09
Posts: 9
Credit: 7,195,061
RAC: 0
Message 11241 - Posted: 1 Feb 2011, 9:01:18 UTC

Please clarify this mini app purpose.
What's the point of it?
____________
===
wbr, Me. Dead J. Dona

Profile [AF>EDLS] Polynesia
Avatar
Send message
Joined: 2 Sep 09
Posts: 13
Credit: 13,018,423
RAC: 0
Message 11244 - Posted: 1 Feb 2011, 10:45:21 UTC
Last modified: 1 Feb 2011, 11:42:07 UTC

it is clear that these are mini-coach on my gtx 470 are calculated:

4 minutes 30 seconds around
____________

terencewee*
Send message
Joined: 20 Dec 10
Posts: 12
Credit: 39,717,409
RAC: 0
Message 11250 - Posted: 1 Feb 2011, 22:13:44 UTC

@Slicker

Thanks for giving us the choice to choose between mini and normal Collatz.

Recently I installed my (extremely-old-but-very-trusty) 8800gtx into one of my cruncher. I'm wondering whether it is possible to configure BOINC-client to fetch the normal WU for my ATI-5850 and the mini WU for 8800gtx-cuda... Is this possible?

Thanks again!

Profile SLAYER OF DEATH
Avatar
Send message
Joined: 12 Dec 10
Posts: 134
Credit: 17,993,517
RAC: 0
Message 11252 - Posted: 1 Feb 2011, 22:52:37 UTC - in response to Message 11250.
Last modified: 1 Feb 2011, 23:02:23 UTC

Hello. I think if you log on the different computers and creat a profile (home,office, school) for each computer and then on that particular machine select actvity, run based on preferances, should be able for each of your computers to run that selected profile, WU you choose for that profile for that particuler computer.
____________

Proud Member of Team Carl Sagan.

terencewee*
Send message
Joined: 20 Dec 10
Posts: 12
Credit: 39,717,409
RAC: 0
Message 11262 - Posted: 2 Feb 2011, 5:23:52 UTC
Last modified: 2 Feb 2011, 5:24:18 UTC

@SLAYER

Let me clarify:-
ATI 5850 (normal WUs) and nVidia 8800gtx (slower, mini WUs) on the same machine.

Thanks.

Profile NullCoding*
Avatar
Send message
Joined: 6 Oct 10
Posts: 12
Credit: 52,880,684
RAC: 0
Message 11263 - Posted: 2 Feb 2011, 5:30:57 UTC
Last modified: 2 Feb 2011, 5:35:43 UTC

I was rather hoping this would be a good way to run Collatz on my Mac as I don't want to run a PrimeGrid task for 2 hours in the time I can do 6 same tasks on my GTX 460 machine.

But no matter what I have tried thus far, EVERY single task errors out instantly. Same old "output file missing" error. No other project shows these, ever. BOINC on my system is watertight as a silly program like BOINC can be.

cudaSafeCallNoSync() Runtime API error in file <collatz_gold.cpp>, line 137 : setting the device when a process is active is not allowed.


Works with every other app. "setting the device," now that's foreign to me. What process is active? Rather, which does this not like? I've hundreds running!


This has been a CUDA issue with my Mac as long as I have tried and failed to run Collatz.

Even the mini_collatz app, which is brand new and therefore must have been tested on a Mac prior to release (...right?) fails 100% of the time.

Take a look at my stats page. Huge waste of your time (not mine, it takes less than a minute to roll my eyes and click reset) and server load...I see what you mean.

Can you please tell me what's up with the Mac CUDA apps? Are they just not...working? Ever? Because I know people who've done it. I've the latest toolkits and all...won't bother with all that jazz, I can run any other CUDA task; hell I have PGI's CUDA Fortran deployment environment and the pro SDK.

So what's up?
____________
I'm Jaska
It's a tarp!

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 11264 - Posted: 2 Feb 2011, 6:17:39 UTC - in response to Message 11241.

Please clarify this mini app purpose.
What's the point of it?


The mini WUs are 1/8th the size of the "normal" Collatz workunits. Same code. Same apps. Just smaller WUs to keep CPUs and lower end GPUs from taking sooooo long to complete a WU.

Note: Right now, I have a box set for mini_collatz on both CPU and GPU, but it isn't asking for any CPU work even though both CPUs are idle. That appears to be a boinc client issue since is keeps asking for 0 seconds of CPU work. It is running v6.10.58.

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 11265 - Posted: 2 Feb 2011, 6:22:49 UTC - in response to Message 11262.

@SLAYER

Let me clarify:-
ATI 5850 (normal WUs) and nVidia 8800gtx (slower, mini WUs) on the same machine.

Thanks.


That's probably going to require an app_info.xml so that the ATI app uses collatz, the cuda uses mini_collatz and the cpu (if crunching) also uses mini_collatz.

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 11268 - Posted: 2 Feb 2011, 7:05:44 UTC - in response to Message 11263.

I was rather hoping this would be a good way to run Collatz on my Mac as I don't want to run a PrimeGrid task for 2 hours in the time I can do 6 same tasks on my GTX 460 machine.

But no matter what I have tried thus far, EVERY single task errors out instantly. Same old "output file missing" error. No other project shows these, ever. BOINC on my system is watertight as a silly program like BOINC can be.

cudaSafeCallNoSync() Runtime API error in file <collatz_gold.cpp>, line 137 : setting the device when a process is active is not allowed.


Works with every other app. "setting the device," now that's foreign to me. What process is active? Rather, which does this not like? I've hundreds running!


This has been a CUDA issue with my Mac as long as I have tried and failed to run Collatz.

Even the mini_collatz app, which is brand new and therefore must have been tested on a Mac prior to release (...right?) fails 100% of the time.

Take a look at my stats page. Huge waste of your time (not mine, it takes less than a minute to roll my eyes and click reset) and server load...I see what you mean.

Can you please tell me what's up with the Mac CUDA apps? Are they just not...working? Ever? Because I know people who've done it. I've the latest toolkits and all...won't bother with all that jazz, I can run any other CUDA task; hell I have PGI's CUDA Fortran deployment environment and the pro SDK.

So what's up?


Unfortunately, I don't even own a MAC, but if you want to ship me yours, I'd be happy to compile and debug the CUDA app as it already has all the SDKs installed. :-)

Paul Buck and several others have successfully run the MAC CUDA app although they may be running the older version. The latest version is to say the least experimental as I have absolutely no way to test it.

The mini_collatz app is not a new app. It is the exact same as the collatz app. The executable (or is it an iExecutable for Apples) has just been renamed so that BOINC will send different (a.k.a. smaller) WUs because BOINC associates the WUs with the app name and the executable must be the same as the app name with the platform and plan class appended to it.

Sire TRM
Send message
Joined: 13 Aug 10
Posts: 2
Credit: 52,826
RAC: 0
Message 11271 - Posted: 2 Feb 2011, 12:14:08 UTC - in response to Message 11263.

Yes, this will increase server stress. . . And flood some people with [useless] WUs. I can also confirm that "[mini_]collatz 2.02 (cuda)" fails to run on OSX with CUDA Toolkit 3.2 (January 2011) installed. As far as I understand, the CUDA app can run with 2.n, though I'm not sure which version. The application "collatz_2.04_i686-apple-darwin__cuda31.zip (Mac OS 10.5+ running on an Intel 64-bit CPU)" does not work and appears to have instructions (in addition to some potentially insulting comments to the user) intended for use on a Linux system.

I'm going to try to disable mini_collatz, but it would be nice to have the option to disable all CUDA tasks to reduce both the project and my resource consumption where it is not necessary.

Profile mikey
Avatar
Send message
Joined: 11 Aug 09
Posts: 3242
Credit: 1,686,192,696
RAC: 6,304,298
Message 11272 - Posted: 2 Feb 2011, 12:57:47 UTC - in response to Message 11271.

Yes, this will increase server stress. . . And flood some people with [useless] WUs. I can also confirm that "[mini_]collatz 2.02 (cuda)" fails to run on OSX with CUDA Toolkit 3.2 (January 2011) installed. As far as I understand, the CUDA app can run with 2.n, though I'm not sure which version. The application "collatz_2.04_i686-apple-darwin__cuda31.zip (Mac OS 10.5+ running on an Intel 64-bit CPU)" does not work and appears to have instructions (in addition to some potentially insulting comments to the user) intended for use on a Linux system.

I'm going to try to disable mini_collatz, but it would be nice to have the option to disable all CUDA tasks to reduce both the project and my resource consumption where it is not necessary.


If you go to Your Account, Collatz Conjecture Preferences you will see these lines:
Use CPU
Enforced by version 6.10+ no
Use ATI GPU
Enforced by version 6.10+ yes
Use NVIDIA GPU
Enforced by version 6.10+ yes

put no on the lines instead of yes and you will no longer get gpu workunits.

Profile NullCoding*
Avatar
Send message
Joined: 6 Oct 10
Posts: 12
Credit: 52,880,684
RAC: 0
Message 11276 - Posted: 2 Feb 2011, 13:19:03 UTC

Thanks for clarifying that, Slicker.

uh, I kinda need this laptop for college. Sorry!

That said, well...my nickname. As much as I love GPU computing I don't actually know much about coding for it. I'm probably better at JAVA than CUDA. 'else I'd offer to help debug.

Right now it looks like the app is crashing because it doesn't communicate 100% with the rest of the computing. "Setting a process while the device is in use is not allowed" leads me to believe it simply ignores BOINC's settings. It's strange, but as long as things keep erroring out, I'll stick to my Windows machine.

Which is unfortunate, because my Mac is four times faster and boasts more uptime...but don't worry about it too much. Historically, CUDA coding for Mac has been a bit of a pain, kind of a touch-and-go process. And don't even get me started on OpenCL (apparently it's very difficult to code for at all). Add in the fact that Mac kernel is similar to but cannot be worked in the same way as Linux kernel, and the fact that any CUDA-capable Mac card is of the low-end variety...
____________
I'm Jaska
It's a tarp!

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 2
Message 11282 - Posted: 3 Feb 2011, 1:05:42 UTC - in response to Message 11276.

uh, I kinda need this laptop for college. Sorry!


Can't blame a guy for trying. :-)

The reality is that less than 2% of crunchers are Macs and a small percentage of those run CUDA apps which makes it really hard to justify to "she who controls the checkbook" that I should puchase a Mac just for the purpose of compiling the Mac apps.

Profile GPV67
Avatar
Send message
Joined: 16 Jan 10
Posts: 3
Credit: 27,628,229
RAC: 9,677
Message 11312 - Posted: 6 Feb 2011, 5:28:26 UTC - in response to Message 11276.

Thanks for clarifying that, Slicker.

uh, I kinda need this laptop for college. Sorry!

That said, well...my nickname. As much as I love GPU computing I don't actually know much about coding for it. I'm probably better at JAVA than CUDA. 'else I'd offer to help debug.

Right now it looks like the app is crashing because it doesn't communicate 100% with the rest of the computing. "Setting a process while the device is in use is not allowed" leads me to believe it simply ignores BOINC's settings. It's strange, but as long as things keep erroring out, I'll stick to my Windows machine.

Which is unfortunate, because my Mac is four times faster and boasts more uptime...but don't worry about it too much. Historically, CUDA coding for Mac has been a bit of a pain, kind of a touch-and-go process. And don't even get me started on OpenCL (apparently it's very difficult to code for at all). Add in the fact that Mac kernel is similar to but cannot be worked in the same way as Linux kernel, and the fact that any CUDA-capable Mac card is of the low-end variety...


Hi,

if that can help, I'm successfully running Collatz CUDA on my Mac (running Mac OS X 10.6.6) with these settings:
I have installed latest CUDA drivers from Nvidia (v3.2.17) and the cudatoolkit_3.0_macos_32.pkg (available here)
(I got errors when I installed latest CUDA Toolkit (v3.2.17) from Nvidia)

On the Optimized Applications page, there is a collatz_2.04_i686-apple-darwin__cuda31.zip (Mac OS 10.5+ running on an Intel 64-bit CPU) app.
These one is running with cudatoolkit_3.1_macos.pkg (available here)

____________

Transalp
Avatar
Send message
Joined: 20 Jul 10
Posts: 12
Credit: 31,830,334
RAC: 0
Message 11329 - Posted: 6 Feb 2011, 16:49:43 UTC
Last modified: 6 Feb 2011, 17:01:07 UTC

Hi at all,

do I have to make changes in my app_info.xml in order to get small WU's? I only have a GTS250 and BOINC keeps downloading only bigger WU's.

Thanks

By the way, I have once posted, that Collatz keeps telling me that I run 2.04. This has never changed: http://boinc.thesonntags.com/collatz/forum_thread.php?id=576&nowrap=true#9389

Here's my app_info.xml

- <app_info>
- <app>
<name>collatz</name>
</app>
- <file_info>
<name>collatz_2.05_windows_intelx86__cuda31.exe</name>
<executable />
</file_info>
- <file_info>
<name>cudart32_31_9.dll</name>
<executable />
</file_info>
- <app_version>
<app_name>collatz</app_name>
<version_num>203</version_num>
<plan_class>cuda</plan_class>
<avg_ncpus>0.013</avg_ncpus>
<max_ncpus>1</max_ncpus>
<flops>1.0e11</flops>
- <coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
<cmdline>L13 I8 S0</cmdline>
- <file_ref>
<file_name>collatz_2.05_windows_intelx86__cuda31.exe</file_name>
<main_program />
</file_ref>
- <file_ref>
<file_name>cudart32_31_9.dll</file_name>
</file_ref>
</app_version>
- <app_version>
<app_name>collatz</app_name>
<version_num>204</version_num>
<plan_class>cuda</plan_class>
<avg_ncpus>0.013</avg_ncpus>
<max_ncpus>1</max_ncpus>
<flops>1.0e11</flops>
- <coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
<cmdline>L13 I8 S0</cmdline>
- <file_ref>
<file_name>collatz_2.05_windows_intelx86__cuda31.exe</file_name>
<main_program />
</file_ref>
- <file_ref>
<file_name>cudart32_31_9.dll</file_name>
</file_ref>
</app_version>
- <app_version>
<app_name>collatz</app_name>
<version_num>205</version_num>
<plan_class>cuda</plan_class>
<avg_ncpus>0.013</avg_ncpus>
<max_ncpus>1</max_ncpus>
<flops>1.0e11</flops>
- <coproc>
<type>CUDA</type>
<count>1</count>
</coproc>
<cmdline>L13 I8 S0</cmdline>
- <file_ref>
<file_name>collatz_2.05_windows_intelx86__cuda31.exe</file_name>
<main_program />
</file_ref>
- <file_ref>
<file_name>cudart32_31_9.dll</file_name>
</file_ref>
</app_version>
</app_info>

Transalp
Avatar
Send message
Joined: 20 Jul 10
Posts: 12
Credit: 31,830,334
RAC: 0
Message 11349 - Posted: 7 Feb 2011, 19:04:22 UTC

No one with an idea?

BOINC keeps telling me:

Message from server:_("Your app_info.xml file doesn't have a usable version of")mini_collatz.

Claggy
Send message
Joined: 27 Sep 09
Posts: 288
Credit: 14,320,498
RAC: 0
Message 11350 - Posted: 7 Feb 2011, 19:25:25 UTC - in response to Message 11349.

Your app_info doesn't have mini_collatz specified in it, so with Notepad (because you're introduced extra characters in your post),
edit your app_info, and duplicate everything between <app_info> and </app_info> (but not including), and paste it just before the </app_info>,
now edit (in the duplicated section) each entry that says <name>collatz</name> and change to <name>mini_collatz</name>,
and change each <app_name>collatz</app_name> to <app_name>mini_collatz</app_name>
make sure you save it as app_info.xml, then restart Boinc,

Claggy

Transalp
Avatar
Send message
Joined: 20 Jul 10
Posts: 12
Credit: 31,830,334
RAC: 0
Message 11352 - Posted: 7 Feb 2011, 21:12:48 UTC - in response to Message 11350.

Thanks for your help, Claggy.

Extra characters? Which one do you mean.

I've opened the file with Notepad, nothing else. I've edited as you've written, but without success. Still downloading large files. Even one which is predicted to run 36 hours.

Tom

Claggy
Send message
Joined: 27 Sep 09
Posts: 288
Credit: 14,320,498
RAC: 0
Message 11353 - Posted: 7 Feb 2011, 21:19:21 UTC - in response to Message 11352.

It's the extra -'s and the extra spaces in the <executable /> and <main_program /> entries, they shouldn't be there,

Claggy

1 · 2 · Next
Post to thread

Message boards : News : Mini Collatz App Released


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.