mersenneforum.org  

Go Back   mersenneforum.org > Factoring Projects > Msieve

Reply
 
Thread Tools
Old 2020-05-15, 13:01   #1
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

2·2,707 Posts
Default Revisiting msieve GPU with Colab

Code:
<long listing of undefined references>
. . .
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
EdH is offline   Reply With Quote
Old 2020-05-15, 13:39   #2
RichD
 
RichD's Avatar
 
Sep 2008
Kansas

23·479 Posts
Default

Which GPU did you get for your instance? K80, P4, P100, T4?
RichD is offline   Reply With Quote
Old 2020-05-15, 13:41   #3
jasonp
Tribal Bullet
 
jasonp's Avatar
 
Oct 2004

3,559 Posts
Default

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 :)
jasonp is offline   Reply With Quote
Old 2020-05-15, 14:58   #4
EdH
 
EdH's Avatar
 
"Ed Hall"
Dec 2009
Adirondack Mtns

2×2,707 Posts
Default

Quote:
Originally Posted by RichD View Post
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 View Post
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. . .
EdH is offline   Reply With Quote
Old 2020-08-24, 02:22   #5
harrymelling
 
Aug 2020

12 Posts
Default

Download a version of CUDA that supports compute capability 7.5 and a compatible version of Visual Studio.
harrymelling is offline   Reply With Quote
Reply

Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
Colab question David703 GPU to 72 302 2022-07-01 03:41
Colab results reported as -Anonymous- CADuke GPU to 72 3 2021-02-24 14:04
Alternatives to Google Colab kriesel Cloud Computing 11 2020-01-14 18:45
How I Create a Colab Session That Factors factordb Comps with the GPU branch of GMP-ECM and msieve EdH EdH 0 2019-12-07 19:51
AVX2 Troubles with Colab Instance EdH YAFU 5 2019-11-12 01:49

All times are UTC. The time now is 06:09.


Sun Mar 26 06:09:55 UTC 2023 up 220 days, 3:38, 0 users, load averages: 0.76, 1.05, 1.02

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.

≠ ± ∓ ÷ × · − √ ‰ ⊗ ⊕ ⊖ ⊘ ⊙ ≤ ≥ ≦ ≧ ≨ ≩ ≺ ≻ ≼ ≽ ⊏ ⊐ ⊑ ⊒ ² ³ °
∠ ∟ ° ≅ ~ ‖ ⟂ ⫛
≡ ≜ ≈ ∝ ∞ ≪ ≫ ⌊⌋ ⌈⌉ ∘ ∏ ∐ ∑ ∧ ∨ ∩ ∪ ⨀ ⊕ ⊗ 𝖕 𝖖 𝖗 ⊲ ⊳
∅ ∖ ∁ ↦ ↣ ∩ ∪ ⊆ ⊂ ⊄ ⊊ ⊇ ⊃ ⊅ ⊋ ⊖ ∈ ∉ ∋ ∌ ℕ ℤ ℚ ℝ ℂ ℵ ℶ ℷ ℸ 𝓟
¬ ∨ ∧ ⊕ → ← ⇒ ⇐ ⇔ ∀ ∃ ∄ ∴ ∵ ⊤ ⊥ ⊢ ⊨ ⫤ ⊣ … ⋯ ⋮ ⋰ ⋱
∫ ∬ ∭ ∮ ∯ ∰ ∇ ∆ δ ∂ ℱ ℒ ℓ
𝛢𝛼 𝛣𝛽 𝛤𝛾 𝛥𝛿 𝛦𝜀𝜖 𝛧𝜁 𝛨𝜂 𝛩𝜃𝜗 𝛪𝜄 𝛫𝜅 𝛬𝜆 𝛭𝜇 𝛮𝜈 𝛯𝜉 𝛰𝜊 𝛱𝜋 𝛲𝜌 𝛴𝜎𝜍 𝛵𝜏 𝛶𝜐 𝛷𝜙𝜑 𝛸𝜒 𝛹𝜓 𝛺𝜔