mersenneforum.org

mersenneforum.org (https://www.mersenneforum.org/index.php)
-   Msieve (https://www.mersenneforum.org/forumdisplay.php?f=83)
-   -   Newer X64 build needed (https://www.mersenneforum.org/showthread.php?t=20796)

wombatman 2016-01-05 01:15

MSieve 991M compiled with CUDA 7
 
1 Attachment(s)
Here's the exe along with the pthreads dll and sort engine dll and ptx files. I added a CC5.2 ptx compilation. Don't know which are needed or not, but everything is there except for the cudart dlls. They'd be too big for posting here, I think. CPU is an Ivy Bridge.

chris2be8 2016-01-05 17:29

[QUOTE=ATH;421211]What about CUDA 7.0 and 7.5? Are they still not compatible?[/QUOTE]

I made it work with CUDA 7.5 by editing the makefiles to remove CC 1.1 and 1.3:
[url]http://mersenneforum.org/showpost.php?p=416072&postcount=20[/url]

Chris

ATH 2016-01-06 00:47

SVN991 compiled fine with CUDA 7.5 without tinkering with the Makefile beyond the usual parameters. It even worked with ZLIB on. What is the benefit of Zlib, it compresses relations? It is better to leave NO_ZLIB=1 ?

It seems to work, it searches for a poly at least. I tried to use parameters from this old RSA896 thread:
[URL="http://www.mersenneforum.org/showthread.php?t=17460"]http://www.mersenneforum.org/showthread.php?t=17460[/URL]
but it is not finding the same polynomials or I do not know what I'm doing, which is far more likely.

Anyone have some more recent parameters that should find a polynomial just for a test?

jasonp 2016-01-06 01:55

Compiling zlib in allows the binary to read and write compressed relation files.

I don't think there's a controlled test you can run that will find a known polynomial. There's a lot of checking in polyselect stage 2, so if you find any polynomials at all it's probably working fine. Of course with a hot modern GPU you will find stage 1 hits so fast that performing stage 2 will leave the GPU mostly idle.

Sorry to everyone that it took so long to get back to a working state.

LaurV 2016-01-06 02:41

[QUOTE=ATH;421344]SVN991 compiled fine with CUDA 7.5 without tinkering with the Makefile beyond the usual parameters. It even worked with ZLIB on. What is the benefit of Zlib, it compresses relations? It is better to leave NO_ZLIB=1 ?
[/QUOTE]
If you have enough space, and don't intend to move the files much around, and don't have a terrible slow hdd, then yes. Disadvantages, as shown by the former sentence, are that the uncompressed files are big, taking a lot of space and being difficult to move from folders to folders, or share on the web, the are slow to read when resuming the work, etc. Advantages is that if the zipped file crash - and the probability is not null, because the files are big and not fast to handle/read/write - then you can most probably say bye-bye to all your relations, but when the file is in clear, the crashed lines are just ignored, and most of the relations are still recoverable.

ATH 2016-01-06 14:21

Here are the svn 991 files compiled without Zlib:

[URL="hoegge.dk/mersenne/msieve-svn991-cuda75-haswell.zip"]msieve-svn991-cuda75-haswell.zip[/URL]
[URL="hoegge.dk/mersenne/msieve-svn991-cuda75-sandybridge.zip"]msieve-svn991-cuda75-sandybridge.zip[/URL]

Gimarel 2016-01-07 07:03

Slower
 
On my System (Linux, GeForce GTX 650 Ti) the new version (compiled with Cuda 6.5, using sm30) is about 20% slower than the old version (compiled with Cuda 6.0, using sm20).

For the comparison I disabled the randomization. The card isn't used for the display.

I haven't had the time to try the old version with Cuda 6.5.

debrouxl 2016-01-07 07:15

I only use rotating HDDs, and using gzipped relations, as produced by NFS@Home clients for bandwidth reasons, usually saves filtering time compared to dealing with uncompressed relations. Possibly square root time as well, as the bottleneck when reading relations is on I/O.

On modern zlib versions, the CPU cost of dealing with uncompressed output is minimal.

VictordeHolland 2016-01-07 12:24

1 Attachment(s)
[QUOTE=ATH;420975]Here are the Msieve svn988 I compiled a few days ago without CUDA support (before I figured out how to):

[URL="http://hoegge.dk/mersenne/msieve-svn988-nogpu-haswell.zip"]msieve-svn988-nogpu-haswell.zip[/URL]
[URL="http://hoegge.dk/mersenne/msieve-svn988-nogpu-sandybridge.zip"]msieve-svn988-nogpu-sandybridge.zip[/URL]
[URL="http://hoegge.dk/mersenne/msieve-svn988-nogpu-core2.zip"]msieve-svn988-nogpu-core2.zip[/URL][/QUOTE]
These need libwinpthread-1.dll to work on a machine without minGW and Visual Studio installed.

ATH 2016-01-07 15:38

[QUOTE=VictordeHolland;421455]These need libwinpthread-1.dll to work on a machine without minGW and Visual Studio installed.[/QUOTE]

Thanks, I did not get a chance to test them on another computer. I added my "libwinpthread-1.dll" from MSYS2 to all the zip-files.

I also added "nvcuda.dll" to the gpu versions just to be safe, although it might be present on all computers with Nvidia drivers installed?

Googulator 2016-01-09 05:29

991-haswell doesn't work unless I delete nvcuda.dll - apparently that DLL is highly driver-specific and must be loaded from the system.


All times are UTC. The time now is 01:12.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.