Collatz Sieve v1.21 released for Windows
log in

Advanced search

Message boards : News : Collatz Sieve v1.21 released for Windows

1 · 2 · 3 · 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 21215 - Posted: 5 Sep 2015, 20:55:10 UTC

The validation bug is now fixed but some have reported that the application errors out immediately. If you run into error -1073741515, please try installing the latest VS2012 C++ runtime available from Microsoft at https://www.microsoft.com/en-us/download/details.aspx?id=30679. VS2012 was recently updated to SP4 on my laptop and that is likely the cause of the missing DLL error.

New versions for Linux and OS X will be forthcoming as soon as I figure out how to get the VMs used to build the Linux versions to route properly through the VPN pipe on my laptop and since it is Labor Day weekend, I'm trying not to work too hard.

jjwhalen
Avatar
Send message
Joined: 17 Apr 10
Posts: 20
Credit: 202,526,055
RAC: 0
Message 21216 - Posted: 5 Sep 2015, 21:52:16 UTC - in response to Message 21215.
Last modified: 5 Sep 2015, 22:21:12 UTC

Slicker,

The VS2012 C++ runtime seems to do the trick. Early returns show 1.21 to be 20-25% faster than 1.10 at the same GPU clock speed (910MHZ) on my GTX580.

I also notice that the CPU:Run time ratio of v1.21 is virtually nil (<1 sec) despite the fact the plan class still calls for 0.816 CPU + 1 NVIDIA GPU. More like CUDA than OpenCL.

Thanks for the workaround.
____________
Best wishes:)

Rymorea
Send message
Joined: 14 Oct 14
Posts: 100
Credit: 200,411,819
RAC: 6
Message 21217 - Posted: 5 Sep 2015, 23:28:04 UTC

I run ver 1.21 with my nvidia 750ti all Completed and validated. Also takes less time than ver 1.10. System is insider win 10 and I dont need VS2012 C++ runtime.

Good work...
____________
Seti@home Classic account User ID 955 member since 8 Sep 1999 classic CPU time 539,770 hours

TUKIA
Send message
Joined: 19 Jun 12
Posts: 9
Credit: 5,058,573,451
RAC: 0
Message 21219 - Posted: 6 Sep 2015, 9:41:17 UTC

Collatz Sieve v1.21, Masterpiece, Thank You Slicker

Profile Thomas Krajewsky
Avatar
Send message
Joined: 2 Feb 10
Posts: 13
Credit: 379,296,674
RAC: 0
Message 21220 - Posted: 6 Sep 2015, 9:59:19 UTC

So far over 100 valid WUs, no invalid ones, that's fine.

Some information:

Windows 10 doesn't need VC Runtime update, but Windows 7 and Windows 2008 R2 need it.

I had also to reduce the sieve sizes to get it working:
Geforce 820M (2GB RAM) from 30 to 29
GTX 660 and GTX 750 Ti (both 2GB RAM) from 32 to 30

Does the kernel from 1.2x need more RAM than kernel 1.10?

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 21223 - Posted: 6 Sep 2015, 13:09:02 UTC - in response to Message 21220.

So far over 100 valid WUs, no invalid ones, that's fine.

Some information:

Windows 10 doesn't need VC Runtime update, but Windows 7 and Windows 2008 R2 need it.

I had also to reduce the sieve sizes to get it working:
Geforce 820M (2GB RAM) from 30 to 29
GTX 660 and GTX 750 Ti (both 2GB RAM) from 32 to 30

Does the kernel from 1.2x need more RAM than kernel 1.10?


Yes and no. v1.10 divided each sieve into 4 parts so in reality, it was using kernels_per_reduction * 4 and each kernel ran 25% of the sieve. It was done that way because the initial sieve app used only 2^32 for a sieve and that was too large for any GPU. Because v1.21 can handle any sieve size, the sieve size can be adjusted so that any GPU can run the sieve. So, for a given kernel, it uses 4x the RAM but the total RAM used remains the same because it no longer uses 4 sets of variables.

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 21224 - Posted: 6 Sep 2015, 13:10:15 UTC - in response to Message 21220.

So far over 100 valid WUs, no invalid ones, that's fine.

Some information:

Windows 10 doesn't need VC Runtime update, but Windows 7 and Windows 2008 R2 need it.

I had also to reduce the sieve sizes to get it working:
Geforce 820M (2GB RAM) from 30 to 29
GTX 660 and GTX 750 Ti (both 2GB RAM) from 32 to 30

Does the kernel from 1.2x need more RAM than kernel 1.10?


I assume that the VS2013 or VS2015 C++ runtimes would be backward compatible although I've not tested that. Given that Win 10 works, that is probably the case.

Crystal Pellet
Send message
Joined: 12 Jul 09
Posts: 9
Credit: 16,450,326
RAC: 0
Message 21226 - Posted: 6 Sep 2015, 13:57:10 UTC

With both applications

collatz_sieve_1.21_windows_x86_64__opencl_amd_gpu.exe
collatz_sieve_1.21_windows_intelx86__opencl_amd_gpu.exe

I only get errors after a few seconds runtime

2 example results:
http://boinc.thesonntags.com/collatz/result.php?resultid=21792255
http://boinc.thesonntags.com/collatz/result.php?resultid=21771768

I have MS Visual C++ x86 and x64 installed. Already tried resetting and detaching the project without success.

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 21227 - Posted: 6 Sep 2015, 14:02:11 UTC - in response to Message 21226.

With both applications

collatz_sieve_1.21_windows_x86_64__opencl_amd_gpu.exe
collatz_sieve_1.21_windows_intelx86__opencl_amd_gpu.exe

I only get errors after a few seconds runtime

2 example results:
http://boinc.thesonntags.com/collatz/result.php?resultid=21792255
http://boinc.thesonntags.com/collatz/result.php?resultid=21771768

I have MS Visual C++ x86 and x64 installed. Already tried resetting and detaching the project without success.


Try using sieve_size=26
29 may have worked in the previous version because it really only ran 0.25 * sieve size per kernel whereas v1.20 runs the entire sieve for each kernel.

Profile Thomas Krajewsky
Avatar
Send message
Joined: 2 Feb 10
Posts: 13
Credit: 379,296,674
RAC: 0
Message 21228 - Posted: 6 Sep 2015, 14:58:08 UTC - in response to Message 21224.
Last modified: 6 Sep 2015, 15:57:33 UTC

I assume that the VS2013 or VS2015 C++ runtimes would be backward compatible although I've not tested that. Given that Win 10 works, that is probably the case.


Google, google: Found two MSDN blog entries, so it's somewhat 'Official'.

http://blogs.msdn.com/b/vcblog/archive/2014/06/10/the-great-crt-refactoring.aspx
http://blogs.msdn.com/b/oldnewthing/archive/2014/04/11/10516280.aspx

If i understand the first blog right, they will stop the versioning of the CRT in Visual Studio 2015 (=V14), but for the older releases you will have to distribute the suitable Runtime Libraries.

On Windows 10:
'dir c:\Windows\msvcr*.dll /s' shows me 36 files in different folders, i think these include all the Runtime Libraries MS ever released.

[AF>Amis des Lapins] Jean-Luc
Send message
Joined: 11 Jun 10
Posts: 6
Credit: 2,565,041,701
RAC: 69,399
Message 21230 - Posted: 6 Sep 2015, 16:17:50 UTC - in response to Message 21228.

OK for me.
Collatz Sieve 1.21 works very well.

21811939 18540148 162025 6 Sep 2015, 15:00:33 UTC 6 Sep 2015, 15:48:19 UTC Completed and validated 38.98 1.66 1,068.85 Collatz Sieve v1.21 (opencl_amd_gpu)
21811938 18540147 162025 6 Sep 2015, 15:00:33 UTC 6 Sep 2015, 15:48:19 UTC Completed and validated 38.86 2.19 1,079.99 Collatz Sieve v1.21 (opencl_amd_gpu)
21811937 18540146 162025 6 Sep 2015, 15:00:33 UTC 6 Sep 2015, 15:48:19 UTC Completed and validated 38.98 2.14 1,096.48 Collatz Sieve v1.21 (opencl_amd_gpu)

Jean-Luc

Crystal Pellet
Send message
Joined: 12 Jul 09
Posts: 9
Credit: 16,450,326
RAC: 0
Message 21231 - Posted: 6 Sep 2015, 16:19:49 UTC - in response to Message 21227.

With both applications

collatz_sieve_1.21_windows_x86_64__opencl_amd_gpu.exe
collatz_sieve_1.21_windows_intelx86__opencl_amd_gpu.exe

I only get errors after a few seconds runtime

2 example results:
http://boinc.thesonntags.com/collatz/result.php?resultid=21792255
http://boinc.thesonntags.com/collatz/result.php?resultid=21771768

I have MS Visual C++ x86 and x64 installed. Already tried resetting and detaching the project without success.


Try using sieve_size=26
29 may have worked in the previous version because it really only ran 0.25 * sieve size per kernel whereas v1.20 runs the entire sieve for each kernel.

sieve_size=26 doesn't help either.

Even with an empty config, the task ends into an error. It's only lasting a bit longer:

http://boinc.thesonntags.com/collatz/result.php?resultid=21816863

Profile valterc
Send message
Joined: 21 Sep 09
Posts: 39
Credit: 14,472,045,778
RAC: 15,827,530
Message 21245 - Posted: 8 Sep 2015, 11:10:31 UTC - in response to Message 21231.
Last modified: 8 Sep 2015, 11:10:54 UTC

@Crystal: I had the same error

<message>
(unknown error) - exit code -1073741819 (0xc0000005)
</message>


Just solved upgrading to the latest Catalyst driver (had 14.4 before)

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 21247 - Posted: 8 Sep 2015, 14:08:22 UTC

If running the latest AMD driver doesn't work...

One other issue that I just found while working on the CPU apps is that the cache file is not compatible when switching between 32 and 64 bit apps. In a normal world, that wouldn't be a problem. BOINC, in it's never ending attempt to keep stupid people from being stupid, loves to mix platforms because one or more BOINC project admins aren't smart enough to remove their 64 bit app when it is slower than the 32 bit version. So... I'll be releasing a new version that makes the cached sieve file compatible whether 32 or 64 bit apps are used. In the mean time, you may want to set cache_sieve=0 in the collatz config file. Generating the sieve only takes a second or two to create the sieve so it shouldn't affect performance too much.

Rymorea
Send message
Joined: 14 Oct 14
Posts: 100
Credit: 200,411,819
RAC: 6
Message 21250 - Posted: 8 Sep 2015, 16:57:00 UTC - in response to Message 21247.

If running the latest AMD driver doesn't work...



I use amd-catalyst-15.7.1-with-dotnet45-win7-64bit driver with no problem with my r9 270x. And also nvidia 750ti under win 10 with the latest.

Anthony Ayiomamitis
Send message
Joined: 21 Jan 15
Posts: 48
Credit: 1,034,817,025
RAC: 10,060,690
Message 21251 - Posted: 8 Sep 2015, 17:10:16 UTC - in response to Message 21215.

The validation bug is now fixed but some have reported that the application errors out immediately. If you run into error -1073741515, please try installing the latest VS2012 C++ runtime available from Microsoft at https://www.microsoft.com/en-us/download/details.aspx?id=30679. VS2012 was recently updated to SP4 on my laptop and that is likely the cause of the missing DLL error.

I press on the download button and I am informed that the 64-bit executable has been downloaded (immediately) on the next screen. However, no such download has occurred.

Any help would be appreciated.

Anthony Ayiomamitis
Send message
Joined: 21 Jan 15
Posts: 48
Credit: 1,034,817,025
RAC: 10,060,690
Message 21252 - Posted: 8 Sep 2015, 17:15:33 UTC - in response to Message 21251.

I have tried with a second 64-bit laptop and with the same result.

Anthony Ayiomamitis
Send message
Joined: 21 Jan 15
Posts: 48
Credit: 1,034,817,025
RAC: 10,060,690
Message 21253 - Posted: 8 Sep 2015, 17:57:02 UTC - in response to Message 21252.

Please ignore .... file downloaded and installed.

Time for some work units.

Crystal Pellet
Send message
Joined: 12 Jul 09
Posts: 9
Credit: 16,450,326
RAC: 0
Message 21254 - Posted: 8 Sep 2015, 17:57:59 UTC - in response to Message 21245.

@Crystal: I had the same error
<message>
(unknown error) - exit code -1073741819 (0xc0000005)
</message>


Just solved upgrading to the latest Catalyst driver (had 14.4 before)

@valterc: That did the trick. Thanks.
Now finding the optimal config.

Anthony Ayiomamitis
Send message
Joined: 21 Jan 15
Posts: 48
Credit: 1,034,817,025
RAC: 10,060,690
Message 21255 - Posted: 8 Sep 2015, 18:32:27 UTC - in response to Message 21254.

After applying the suggested upgrade, I am still getting the same error: http://boinc.thesonntags.com/collatz/result.php?resultid=22059898 .

1 · 2 · 3 · Next
Post to thread

Message boards : News : Collatz Sieve v1.21 released for Windows


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.