![]() |
|
|
#67 |
|
Feb 2015
32 Posts |
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... |
|
|
|
|
|
#68 |
|
Tribal Bullet
Oct 2004
3,541 Posts |
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?
|
|
|
|
|
|
#69 |
|
Feb 2015
118 Posts |
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 |
|
|
|
|
|
#70 | |
|
Sep 2008
Kansas
1101001100002 Posts |
Quote:
You will have to add that to the "make" file and rebuild or find another binary which includes this later ptx file. |
|
|
|
|
|
|
#71 |
|
Feb 2015
32 Posts |
|
|
|
|
|
|
#73 | |
|
"Ben"
Feb 2007
3×1,171 Posts |
Quote:
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);
}
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. |
|
|
|
|
|
|
#74 | |
|
AKA Speedy51
Oct 2012
New Zealand
227 Posts |
Quote:
Thanks Jarod Last fiddled with by Jarod on 2020-08-30 at 07:48 |
|
|
|
|
![]() |
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Newer milestone thread | Uncwilly | Data | 3421 | 2021-07-12 16:10 |
| Help needed - M77 232 917 celebration build | jbpace | Hardware | 19 | 2018-01-10 16:32 |
| Performance of cuda-ecm on newer hardware? | fivemack | GMP-ECM | 14 | 2015-02-12 20:10 |
| Newer msieves are slow on Core i7 | mklasson | Msieve | 9 | 2009-02-18 12:58 |
| Use of large memory pages possible with newer linux kernels | Dresdenboy | Software | 3 | 2003-12-08 14:47 |