mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > Hardware > GPU Computing

Reply
 
Thread Tools
Old 2018-08-23, 15:43   #12
chris2be8
 
chris2be8's Avatar
 
Sep 2009

246410 Posts
Default

And I've managed to get msieve to work. But I'm not sure exactly how. Updating the Makefile to cc = clang and cub/Makefile to add -ccbin clang to NVCCFLAGS is certainly necessary. But I also updated it to only compile support for sm20 (it takes nvcc several minutes to compile support for each sm) and it seems to fail if I don't do that.

I'll post if I manage to pin down exactly what's required.

Chris
chris2be8 is offline   Reply With Quote
Old 2018-08-23, 20:42   #13
chris2be8
 
chris2be8's Avatar
 
Sep 2009

25·7·11 Posts
Default

I've pinned down the cause. If the makefiles say clang then it works. If they say clang-3.8 then it fails. Which is surprising because clang and clang-3.8 are the same program:
Code:
chris@rigel:~$ which clang
/usr/bin/clang
chris@rigel:~$ which clang-3.8 
/usr/bin/clang-3.8
chris@rigel:~$ ls -l /usr/bin/clang /usr/bin/clang-3.8
lrwxrwxrwx 1 root root 25 Apr 18  2017 /usr/bin/clang -> ../lib/llvm-3.8/bin/clang
lrwxrwxrwx 1 root root 25 Jun  2  2017 /usr/bin/clang-3.8 -> ../lib/llvm-3.8/bin/clang
chris@rigel:~$ ls -li -L /usr/bin/clang /usr/bin/clang-3.8
1060650 -rwxr-xr-x 1 root root 24294616 Jun  2  2017 /usr/bin/clang
1060650 -rwxr-xr-x 1 root root 24294616 Jun  2  2017 /usr/bin/clang-3.8
Has anyone any idea why that makes a difference?

Chris
chris2be8 is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
CUDA 5.5 ET_ GPU Computing 2 2013-06-13 15:50
AVX CPU LL vs CUDA LL nucleon GPU Computing 11 2012-01-04 17:52
Best CUDA GPU for the $$ Christenson GPU Computing 24 2011-05-01 00:06
CUDA P-1? nucleon GPU Computing 2 2010-11-17 17:52
CUDA? Xentar Conjectures 'R Us 6 2010-03-31 07:43

All times are UTC. The time now is 15:03.


Fri Jul 7 15:03:43 UTC 2023 up 323 days, 12:32, 0 users, load averages: 1.32, 1.30, 1.20

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.

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