mersenneforum.org Revisiting msieve GPU with Colab
 Register FAQ Search Today's Posts Mark Forums Read

 2020-05-15, 13:01 #1 EdH     "Ed Hall" Dec 2009 Adirondack Mtns 10100011011002 Posts Revisiting msieve GPU with Colab Code:  . . . tmpxft_00001db1_00000000-5_cudakernel.compute_75.cudafe1.cpp:(.text.startup+0x9): undefined reference to __cudaRegisterFatBinary' tmpxft_00001db1_00000000-5_cudakernel.compute_75.cudafe1.cpp:(.text.startup+0x3d): undefined reference to __cudaRegisterFunction' tmpxft_00001db1_00000000-5_cudakernel.compute_75.cudafe1.cpp:(.text.startup+0x6b): undefined reference to __cudaRegisterFunction' tmpxft_00001db1_00000000-5_cudakernel.compute_75.cudafe1.cpp:(.text.startup+0x95): undefined reference to __cudaRegisterVar' tmpxft_00001db1_00000000-5_cudakernel.compute_75.cudafe1.cpp:(.text.startup+0xbd): undefined reference to __cudaRegisterVar' tmpxft_00001db1_00000000-5_cudakernel.compute_75.cudafe1.cpp:(.text.startup+0xe5): undefined reference to __cudaRegisterVar' tmpxft_00001db1_00000000-5_cudakernel.compute_75.cudafe1.cpp:(.text.startup+0x10e): undefined reference to __cudaRegisterVar' collect2: error: ld returned 1 exit status Makefile:297: recipe for target 'all' failed make: *** [all] Error 1` I'm lost! (Not an uncommon event. . .) At the risk of showing even more of my ignorance, Is this an architecture issue and I can simply add some lines of reference to the Makefiles? Last fiddled with by EdH on 2020-05-15 at 13:08
 2020-05-15, 13:39 #2 RichD     Sep 2008 Kansas 22×3×317 Posts Which GPU did you get for your instance? K80, P4, P100, T4?
 2020-05-15, 13:41 #3 jasonp Tribal Bullet     Oct 2004 32×5×79 Posts You will need a version of CUDA that supports compute capability 7.5 and a version of Visual Studio that that version of CUDA is compatible with. If you have those, both the Msieve makefile and cub/makefile list out the compute capabilities that they will compile for; you can try adding '75' to the list but I don't know if the generated code will work, or wheither the Msieve binary will select the right PTX at runtime. You've gone from using Msieve on hardware that's too old to using Msieve on hardware that's too new. The result is probably the same :)
2020-05-15, 14:58   #4
EdH

"Ed Hall"
Dec 2009

522810 Posts

Quote:
 Originally Posted by RichD Which GPU did you get for your instance? K80, P4, P100, T4?
This happened with both a K80 and a P100.
Quote:
 Originally Posted by jasonp You will need a version of CUDA that supports compute capability 7.5 and a version of Visual Studio that that version of CUDA is compatible with. If you have those, both the Msieve makefile and cub/makefile list out the compute capabilities that they will compile for; you can try adding '75' to the list but I don't know if the generated code will work, or wheither the Msieve binary will select the right PTX at runtime. You've gone from using Msieve on hardware that's too old to using Msieve on hardware that's too new. The result is probably the same :)
I'm still playing with old, but the Colab instances give me a playground with the new. I've no familiarity at all with Visual Studio. The Colab CUDA is 10.1 ATM, with 10.0 still instaled. I have succeeded in getting the ECM-GPU running, in the Colab sessions and, in fact, I have been compiling it with my msieve attempts, although I don't know if there's any advantage when compiling msieve with ECM=1. I'm mostly doing it to try to prevent the Colab complaint that I'm not using the GPU, while trying to compile msieve.

Thanks for all the help. Off to play. . .

 2020-08-24, 02:22 #5 harrymelling   Aug 2020 1 Posts Download a version of CUDA that supports compute capability 7.5 and a compatible version of Visual Studio.

 Similar Threads Thread Thread Starter Forum Replies Last Post David703 GPU to 72 302 2022-07-01 03:41 CADuke GPU to 72 3 2021-02-24 14:04 kriesel Cloud Computing 11 2020-01-14 18:45 EdH EdH 0 2019-12-07 19:51 EdH YAFU 5 2019-11-12 01:49

All times are UTC. The time now is 00:48.

Tue Jan 31 00:48:23 UTC 2023 up 165 days, 22:16, 1 user, load averages: 0.85, 0.95, 0.92