![]() |
|
|
#1 | |
|
Sep 2017
916 Posts |
hello, all!
I'm new in factoring and try to use tutorial from: http://gilchrist.ca/jeff/factoring/n...ers_guide.html I configure factmsieve.py, binaries and try. On CPU msieve_153 all is good - all cores and threads are loaded on 100%. But I have GTX 1060 and want to use also CUDA power with CPU. I'm enable in script CUDA = True and while run example I have error in log and stoped process: Quote:
|
|
|
|
|
|
|
#2 | |
|
I moo ablest echo power!
May 2013
33518 Posts |
Quote:
Code:
Sat Sep 30 09:04:03 2017 using GPU 0 (GeForce GTX 1060 6GB) Sat Sep 30 09:04:03 2017 selected card has CUDA arch 6.1 |
|
|
|
|
|
|
#3 | |
|
Sep 2017
118 Posts |
Quote:
https://www.upload.ee/image/7509258/err_log.jpg Last fiddled with by usermode on 2017-09-30 at 14:13 |
|
|
|
|
|
|
#4 |
|
Sep 2009
40368 Posts |
I use in on Linux, not windows, and SVN 988 not SVN 1005 so I'm not in the same setup. But msieve needs to have the PTX file and the sortlib either in the working directory or to be told where to find them. I had to make my script add a symlink to the PTX file in the working directory and pass msieve a parameter saying where the sortlib is to make it work. Which took me a little while to work out. But it works nicely now.
First look in the directory msieve is installed in, there should be a file called Readme.nfs with instructions on how to use msieve for NFS in it, including how to use a GPU. You should also have some files called something like stage1_core_sm20.ptx in there. If they are missing you need to reinstall msieve with GPU support enabled to generate them. Then try running a GPU job in that directory. If that works you just need to get factmsieve.py to pass msieve the right parameters to make it work in other places. But I don't know python so can't help there. Chris |
|
|
|
|
|
#5 |
|
Sep 2017
32 Posts |
I try default settings, without .py script, with parameters:
msieve153_gpu -g 0 -v -np 1,4000 -t 4 and process failed with msieve gpu internal engine error: CUDA_ERROR_FILE_NOT_FOUND which file or argument is needed? (Win7x64) Last fiddled with by usermode on 2017-09-30 at 17:54 |
|
|
|
|
|
#6 |
|
Jun 2012
22×13×59 Posts |
I'm not sure what's tripping you up - might be an older version of msieve code not built for the GTX 1060 card? There are several versions of msieve out there.
Try the following steps just to see if msieve will run and engage your GPU. http://www.mersenneforum.org/showpos...0&postcount=12 |
|
|
|
|
|
#7 |
|
I moo ablest echo power!
May 2013
29×61 Posts |
What PTX files are in the folder with msieve, and what files beginning with "sort_engine" are there as well?
|
|
|
|
|
|
#8 | ||
|
Sep 2017
916 Posts |
swellman
I'm try, but have same error: CUDA_ERROR_FILE_NOT_FOUND, maybe some in my input was incorrect. Quote:
stage1_core_sm20.ptx stage1_core_sm30.ptx stage1_core_sm35.ptx and dir "cub" with sort_engine.dll inside. I can set, f.e. gpu_mem_mb=5500, but I don't understand what x argument is need to sortlib=x. If it passed to file, like, sortlib=sort.dat, then it not worked with same CUDA error. In doc sayed what: Quote:
|
||
|
|
|
|
|
#9 |
|
Tribal Bullet
Oct 2004
354110 Posts |
The memory use per GPU has an upper limit of 300MB so more than that will have no effect. The release of v1.53 needed a fix to compile the sort library for compute capability 5.0 devices; it's in the latest SVN
|
|
|
|
|
|
#10 | |
|
Sep 2017
916 Posts |
Quote:
Any chances for me who can fix latest gpu msieve for the latest cuda devices? Thanks to all, I will know. Last fiddled with by usermode on 2017-10-01 at 12:22 |
|
|
|
|
|
|
#11 |
|
I moo ablest echo power!
May 2013
29×61 Posts |
Try dropping both of these files into the same folder as your msieve executable. It might work for you as I think they're good for CC5.2 cards.
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Best 4XX series GPU | siegert81 | GPU Computing | 47 | 2011-10-14 00:49 |
| PR 4 # 33 -- The last puzzle from this series | Wacky | Puzzles | 31 | 2006-09-14 16:17 |
| An interesting series | Citrix | Math | 0 | 2005-11-02 05:33 |
| Another Series | Gary Edstrom | Puzzles | 7 | 2003-07-03 08:32 |
| Series | Rosenfeld | Puzzles | 2 | 2003-07-01 17:41 |