![]() |
try to use SVN 1005 and got error:
[code] Msieve v. 1.53 (SVN 1005) Fri Dec 06 00:25:41 2019 random seeds: 35e6e7a0 d0500745 factoring 2881039827457895971881627053137530734638790825166127496066674320241571 446494762386620442953820735453 (100 digits) searching for 15-digit factors commencing number field sieve (100-digit input) commencing number field sieve polynomial selection polynomial degree: 4 max stage 1 norm: 1.58e+017 max stage 2 norm: 3.44e+015 min E-value: 8.85e-009 poly select deadline: 1317 time limit set to 0.37 CPU-hours expecting poly E from 1.43e-008 to > 1.64e-008 searching leading coefficients from 1 to 4000 using GPU 0 (GeForce GTX 1050 Ti) selected card has CUDA arch 6.1 deadline: 5 CPU-seconds per coefficient error (line 1116): CUDA_ERROR_FILE_NOT_FOUND Msieve Error: return value 4294967295. Is CUDA enabled? Terminating... [/code] |
What card and CUDA version are you using? Do you run the binary from command line, from the directory above the one with the PTX files?
|
using GPU 0 (GeForce GTX 1050 Ti) selected card has CUDA arch 6.1
win 8.1 x64 all ptx-file in same directory run from python script |
[QUOTE=BfoX;532553]using GPU 0 (GeForce GTX 1050 Ti) selected card has CUDA arch 6.1
win 8.1 x64 all ptx-file in same directory run from python script[/QUOTE] It sounds like the stage1_core_sm60.ptx file is missing. (or sm61 ?) You will have to add that to the "make" file and rebuild or find another binary which includes this later ptx file. |
[QUOTE=RichD;532780]It sounds like the stage1_core_sm60.ptx file is missing. (or sm61 ?).[/QUOTE]
the card support a low version of the ptx-files. |
[QUOTE=BfoX;532784]the card support a low version of the ptx-files.[/QUOTE]
I don't know how to tell msieve to use a lower version ptx-file. Perhaps this [url=https://www.mersenneforum.org/showthread.php?t=23685]thread[/url] is helpful or post your question/request there. |
[QUOTE=BfoX;532116]try to use SVN 1005 and got error:
[code] Msieve v. 1.53 (SVN 1005) Fri Dec 06 00:25:41 2019 random seeds: 35e6e7a0 d0500745 factoring 2881039827457895971881627053137530734638790825166127496066674320241571 446494762386620442953820735453 (100 digits) searching for 15-digit factors commencing number field sieve (100-digit input) commencing number field sieve polynomial selection polynomial degree: 4 max stage 1 norm: 1.58e+017 max stage 2 norm: 3.44e+015 min E-value: 8.85e-009 poly select deadline: 1317 time limit set to 0.37 CPU-hours expecting poly E from 1.43e-008 to > 1.64e-008 searching leading coefficients from 1 to 4000 using GPU 0 (GeForce GTX 1050 Ti) selected card has CUDA arch 6.1 deadline: 5 CPU-seconds per coefficient error (line 1116): CUDA_ERROR_FILE_NOT_FOUND Msieve Error: return value 4294967295. Is CUDA enabled? Terminating... [/code][/QUOTE] I had the same problem with a arch 7.5 card. In msieve's source file stage1_sieve_gpu.c file, starting at line 1106, is this code: [CODE]if (d->gpu_info->compute_version_major == 2) { CUDA_TRY(cuModuleLoad(&t->gpu_module, "stage1_core_sm20.ptx")) } else if (d->gpu_info->compute_version_major == 3) { if (d->gpu_info->compute_version_minor < 5) CUDA_TRY(cuModuleLoad(&t->gpu_module, "stage1_core_sm30.ptx")) else CUDA_TRY(cuModuleLoad(&t->gpu_module, "stage1_core_sm35.ptx")) } else if (d->gpu_info->compute_version_major >= 5) { CUDA_TRY(cuModuleLoad(&t->gpu_module, "stage1_core_sm50.ptx")) } else { printf("sorry, Nvidia doesn't want to support your card\n"); exit(-1); } [/CODE] Which for anything at or above compute capability 5 attempts to load stage1_core_sm50.ptx. I tried the following, which gets past the error message but appears to hang once the card gets going: 1) edit gpu_sm.props in the build.cuda.vc15 directory to update the CC_major and CC_minor fields (mine were 7 and 5) 2) in visual studio, edit the stage1_core_sm property pages by adding compute_75,sm_75 to the Code Generation item of the CUDA C/C++ section (or in your case, I guess compute_61,sm_61) 3) rebuild This will make a stage1_core_sm61.ptx file in the bin/ directory alongside the msieve.exe executable. You'll then have to rename to stage1_core_sm50.ptx for it to be loaded by the code above. But, like I said, some step or another is still missing because the code now just hangs after starting the search. |
[QUOTE=VictordeHolland;499852]Windows 64bit builds using MSYS2/mingw64 of msieve SVN1028
[code]gcc version 8.2.0 (Rev3, Built by MSYS2 project)[/code]Built on a i7 3770 (IvyBridge) make all WIN=1 WIN64=1 ECM=1 CUDA=0 NO_ZLIB=0 VBITS=64/128/256 I think I've included all the necessary .dlls, but do reply if you miss any. Very little testing done, but enjoy. P.S. I've included zlib, since I like to keep the relations compressed (.gz) and don't want to unzip a few GBs of relations when I post-process NFS@home jobs.[/QUOTE] Is SVN 1028 still the latest version of M Sleve for Windows 10 64-bit? Thanks Jarod |
| All times are UTC. The time now is 01:12. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.