![]() |
![]() |
#1 |
"Ed Hall"
Dec 2009
Adirondack Mtns
127116 Posts |
![]()
When I installed the toolkit and CUDA from scratch in Ubuntu 20.04, they claimed to be 10.1. Even "NVCC --version" and NVIDIA-smi both showed 10.1. However, somehow the 10.1 has upgraded to 11.4 at some point.
Msieve builds without errors and tries to run, but has the following trouble: Code:
$ ./msieve -g 0 -np -v Msieve v. 1.54 (SVN 1043M) Sun Jul 18 19:42:28 2021 random seeds: f434fda4 55303c82 factoring 442481795557623688831895262327430539285948212813785834989707204563288336300056437057 (84 digits) searching for 15-digit factors commencing number field sieve (84-digit input) commencing number field sieve polynomial selection polynomial degree: 4 max stage 1 norm: 1.61e+14 max stage 2 norm: 3.32e+13 min E-value: 7.30e-08 poly select deadline: 59 time limit set to 0.02 CPU-hours expecting poly E from 1.39e-07 to > 1.60e-07 searching leading coefficients from 1 to 3114368 using GPU 0 (NVS 510) selected card has CUDA arch 3.0 cannot load library 'cub/sort_engine.so': cub/sort_engine.so: cannot open shared object file: No such file or directory error: failed to load GPU sorting engine from "cub/sort_engine.so" Last fiddled with by EdH on 2021-07-31 at 12:57 |
![]() |
![]() |
![]() |
#2 |
Sep 2008
Kansas
1110001101112 Posts |
![]()
You may have upgraded your software beyond the hardware supported driver levels. I've seen this before but don't recall the consequences. Others, more knowledgable, will give a better explanation.
|
![]() |
![]() |
![]() |
#3 |
Jul 2003
So Cal
244210 Posts |
![]()
You need to copy over not only the msieve binary but also the built CUDA libraries in their directories. Create a cub directory and copy sort_engine.so from your build ./cub directory to that one.
|
![]() |
![]() |
![]() |
#4 |
"Ed Hall"
Dec 2009
Adirondack Mtns
4,721 Posts |
![]()
Thanks. I'm running in the original build directory, but I see that there is no sort_engine.so anywhere in the sub/directories, so I guess it didn't get built.
|
![]() |
![]() |
![]() |
#5 |
"Ed Hall"
Dec 2009
Adirondack Mtns
4,721 Posts |
![]()
I manually ran the Makefile in the cub directory and now have sort_engine.so. I don't remember having to do that in the distant past and didn't note that step in the docs.
However, now I have a different error message: Code:
. . . using GPU 0 (NVS 510) selected card has CUDA arch 3.0 deadline: 8640000 CPU-seconds per coefficient error (line 1111): CUDA_ERROR_FILE_NOT_FOUND |
![]() |
![]() |
![]() |
#6 |
"Ed Hall"
Dec 2009
Adirondack Mtns
4,721 Posts |
![]()
This is probably my answer:
Code:
$ make "/usr/local/cuda-11.4/bin/nvcc" -gencode=arch=compute_30,code=\"sm_30,compute_30\" -DSM300 -o sort_engine.so sort_engine.cu -Xptxas -v -Xcudafe -# -shared -Xcompiler -fPIC -Xcompiler -fvisibility=hidden -I"/usr/local/cuda-11.4/bin/..//include" -I. -O3 nvcc fatal : Unsupported gpu architecture 'compute_30' make: *** [Makefile:67: sort_engine.so] Error 1 |
![]() |
![]() |
![]() |
Thread Tools | |
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Outdated msieve build in Arch AUR | Dylan14 | Msieve | 2 | 2020-09-27 18:49 |
msieve LA on CUDA | frmky | Msieve | 3 | 2020-09-07 20:14 |
Might someone recall which revision of msieve still worked with CUDA 6.5 and arch 1.2? | EdH | Msieve | 4 | 2016-11-26 20:44 |
Can anyone help me about msieve 1.53 with CUDA? | Seto | Msieve | 8 | 2016-09-24 12:54 |
Help with msieve CUDA (C1060) | toorandom | Msieve | 7 | 2012-11-28 17:37 |