mersenneforum.org  

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

Reply
 
Thread Tools
Old 2016-06-12, 17:30   #12
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

947 Posts
Default

Hi Oliver,

MFAKTC 0.21 failed with the following output:

Code:
  binary compiled for CUDA  6.50
  CUDA runtime version      -23603.-4
  CUDA driver version       7.50
Hmm, a negative decimal fraction of a decimal number...

And here is the output of the two commands that you requested:

For ldd ./mfaktc.exe --
Code:
linux-vdso.so.1 =>  (0x00007ffe0e3e8000)
libcudart.so.6.5 => not found
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f3748e13000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f3748b03000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f37488ed000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f3748523000)
/lib64/ld-linux-x86-64.so.2 (0x00007f3749147000)
For LD_LIBRARY_PATH="./lib:${LD_LIBRARY_PATH}" ldd ./mfaktc.exe --
Code:
linux-vdso.so.1 =>  (0x00007ffcb3bb7000)
libcudart.so.6.5 => ./lib/libcudart.so.6.5 (0x00007f62c271f000)
libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f62c23ed000)
libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f62c20dd000)
libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f62c1ec7000)
libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f62c1afd000)
libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f62c18f8000)
libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f62c16da000)
librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f62c14d2000)
/lib64/ld-linux-x86-64.so.2 (0x00007f62c2971000
Hope this will help.

Rodrigo
Rodrigo is offline   Reply With Quote
Old 2016-06-14, 16:09   #13
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

947 Posts
Default

Doctor, what's the diagnosis?

Rodrigo
Rodrigo is offline   Reply With Quote
Old 2016-06-14, 16:23   #14
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/

24·199 Posts
Default

What's the output of `lsmod | grep nv` ?

Also try running mfaktc.exe as root at least once after every boot. I have to do that.
Mark Rose is offline   Reply With Quote
Old 2016-06-14, 17:20   #15
TheJudger
 
TheJudger's Avatar
 
"Oliver"
Mar 2005
Germany

5·223 Posts
Default

Rodrigo: as suggested: try to run as root if possible.

Rodrigo/Mark: did you try to run e.g. 'nvidia-smi' as root. Check /dev/nvidia* before and after. Might need to configure udev or whatever to create device nodes and/or set access rights.

Oliver

Last fiddled with by TheJudger on 2016-06-14 at 17:20
TheJudger is offline   Reply With Quote
Old 2016-06-14, 19:00   #16
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013
https://pedan.tech/

1100011100002 Posts
Default

I do have to create the device nodes if the nvidia module is not loaded at boot. I have one machine where I use the Intel graphics so the desktop stays snappy. I have a script that makes them.

On the other machines I believe it's some kind of permission issue. Running any cuda app as root fixes it. I haven tracked down the exact change being made.
Mark Rose is offline   Reply With Quote
Old 2016-06-15, 02:40   #17
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

947 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
What's the output of `lsmod | grep nv` ?

Also try running mfaktc.exe as root at least once after every boot. I have to do that.
Here's the result from the command you requested:

Code:
nvidia               8646656  71 
drm                   344064  3 nvidia
But we have great news from running MFAKTC.EXE as root: the self-test [-st] is running as I type this!

Thank you very much!



Rodrigo

UPDATE: The self-test passed, but now I can't get MFAKTC.EXE to run again and I can't remember how I did it the first time. Rebooting didn't help.

Last fiddled with by Rodrigo on 2016-06-15 at 03:21 Reason: update
Rodrigo is offline   Reply With Quote
Old 2016-06-15, 03:49   #18
Rodrigo
 
Rodrigo's Avatar
 
Jun 2010
Pennsylvania

947 Posts
Default

UPDATE 2: I figured out what I was doing wrong. The self-test ran fine again, and now MFAKTC.EXE is running an actual TF assignment.

Very cool. This is a major step for me toward making the switch over to full-time Linux and away from Microsoft's Windows 10 snooping and forced bundled updates.

Rodrigo
Rodrigo is offline   Reply With Quote
Old 2020-01-17, 03:33   #19
Runtime Error
 
Sep 2017
USA

2×5×19 Posts
Default Follow up question

I'm resurrecting this old thread because it helped me overcome the same issue the original poster was having, and I'd like to follow up with a question of my own. (Warning: noob here)

Currently, I'm seeing the following error when I attempt to run mfaktc on a GPU on a Linux cluster:

Quote:
/myfolderpath/mfaktc.exe: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by /myfolderpath/mfaktc.exe)
Stack Exchange says this means the program was compiled against glibc version 2.14, and it requires that version to run, but the system I'm using has an older version installed. So need to either recompile the program against the version of glibc that's on my system, or install a newer version of glibc.

However, I don't know how to do either of these. Is it possible that I only need to find "libc.so.6" somewhere and then add a library path to it? Or can I somehow recompile mfaktc using my system's version of glibc?

I'm calling mfaktc from a bash file, if that information helps. And thank you very much in advance for any help!!!
Runtime Error is offline   Reply With Quote
Old 2020-01-17, 06:02   #20
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5·937 Posts
Default

Quote:
Originally Posted by Runtime Error View Post
I'm resurrecting this old thread because it helped me overcome the same issue the original poster was having, and I'd like to follow up with a question of my own. (Warning: noob here)

Currently, I'm seeing the following error when I attempt to run mfaktc on a GPU on a Linux cluster:



Stack Exchange says this means the program was compiled against glibc version 2.14, and it requires that version to run, but the system I'm using has an older version installed. So need to either recompile the program against the version of glibc that's on my system, or install a newer version of glibc.

However, I don't know how to do either of these. Is it possible that I only need to find "libc.so.6" somewhere and then add a library path to it? Or can I somehow recompile mfaktc using my system's version of glibc?

I'm calling mfaktc from a bash file, if that information helps. And thank you very much in advance for any help!!!
Please post the output form the command uname -a. If is Ubuntu/Debian follow these two posts:

https://www.mersenneforum.org/showpo...postcount=3233

https://www.mersenneforum.org/showpo...postcount=3237

Note I meant "synaptic" rather than "aptitude".
paulunderwood is offline   Reply With Quote
Old 2020-01-17, 15:38   #21
Runtime Error
 
Sep 2017
USA

19010 Posts
Default

Thanks for the quick reply.

Quote:
Originally Posted by paulunderwood View Post
Please post the output form the command uname -a.
Linux theclustername 2.6.32-754.23.1.el6.x86_64 #1 SMP Tue Sep 17 09:46:55 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
Runtime Error is offline   Reply With Quote
Old 2020-01-17, 16:14   #22
paulunderwood
 
paulunderwood's Avatar
 
Sep 2002
Database er0rr

5×937 Posts
Default

Quote:
Originally Posted by Runtime Error View Post
Thanks for the quick reply.



Linux theclustername 2.6.32-754.23.1.el6.x86_64 #1 SMP Tue Sep 17 09:46:55 EDT 2019 x86_64 x86_64 x86_64 GNU/Linux
This looks like Centos to me. You can follow the instructions in the links I just gave replacing the "apt" stuff with the appropriate "yum" commands.
paulunderwood is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
mfaktc, linux & laptop temperatures ric GPU Computing 8 2017-08-31 20:01
mfaktc on Linux and misfit on Windows bgbeuning GPU Computing 3 2016-01-25 05:20
mfaktc on a Mac bayanne GPU Computing 0 2013-10-18 09:59
mfaktc (0.20) fairsky Software 9 2013-09-24 12:58
mfaktc tichy GPU Computing 4 2010-12-03 21:51

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


Fri Jul 7 15:37:54 UTC 2023 up 323 days, 13:06, 0 users, load averages: 1.48, 1.17, 1.10

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.

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