mersenneforum.org  

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

Reply
 
Thread Tools
Old 2018-12-12, 16:50   #155
chris2be8
 
chris2be8's Avatar
 
Sep 2009

25·7·11 Posts
Default

I'll try to help, but I don't run CUDALucas so I can't be sure I can fix it for you.

First run echo $LD_LIBRARY_PATH which will say what it's set to now.

On my system where I run CUDA I added the following to my .bashrc file:
Code:
# For CUDA
export PATH=/usr/local/cuda-7.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:/usr/lib/nvidia-current/:$LD_LIBRARY_PATH
Update the paths to wherever your programs are. You need to add the path to the directory libcufft.so.6.5 and libcudart.so.6.5 are in to LD_LIBRARY_PATH (the pathnames are separated by a :).

Then log on again to make it pick up the updates and run echo $LD_LIBRARY_PATH again to make sure it worked.

Chris
chris2be8 is offline   Reply With Quote
Old 2018-12-14, 08:40   #156
Blackadder
 
Blackadder's Avatar
 
"Angelino Desmet"
Mar 2018
Belgium

1101102 Posts
Default

Quote:
Originally Posted by chris2be8 View Post
I'll try to help, but I don't run CUDALucas so I can't be sure I can fix it for you.

First run echo $LD_LIBRARY_PATH which will say what it's set to now.

On my system where I run CUDA I added the following to my .bashrc file:
Code:
# For CUDA
export PATH=/usr/local/cuda-7.5/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/cuda-7.5/lib64:/usr/lib/nvidia-current/:$LD_LIBRARY_PATH
Update the paths to wherever your programs are. You need to add the path to the directory libcufft.so.6.5 and libcudart.so.6.5 are in to LD_LIBRARY_PATH (the pathnames are separated by a :).

Then log on again to make it pick up the updates and run echo $LD_LIBRARY_PATH again to make sure it worked.

Chris
Darn it, I need to pay more attention. This page: https://stackoverflow.com/questions/...linux#13428971 and your answer didn't work, but only because I now realize I have CUDA 10 installed, which only has libcufft.so.10.0 and libcudart.so.10.0.

I went ahead and uninstalled cuda, downloaded cuda toolkit 6.5 from the archives, and installed it again, but it automatically reinstalled cuda 10 for some reason.

Anyway, your answer was useful. Thank you. If I can fix this I'll probably get it to work.
Blackadder is offline   Reply With Quote
Old 2018-12-14, 12:29   #157
Blackadder
 
Blackadder's Avatar
 
"Angelino Desmet"
Mar 2018
Belgium

668 Posts
Default

Darn

Code:
blackadder@LinuxMint:~/MEGA/Prime95$ ldd CUDALucas-6.5 
	linux-vdso.so.1 (0x00007ffea0fd9000)
	libcufft.so.6.5 => /usr/local/cuda-6.5/lib64/libcufft.so.6.5 (0x00007f6301fa2000)
	libcudart.so.6.5 => /usr/local/cuda-6.5/lib64/libcudart.so.6.5 (0x00007f6301d52000)
	libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f63019b4000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f63015c3000)
	libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f63013bf000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f63011a0000)
	librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f6300f98000)
	libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f6300c0f000)
	libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f63009f7000)
	/lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f63049c7000)
blackadder@LinuxMint:~/MEGA/Prime95$ ./CUDALucas-6.5 
bash: ./CUDALucas-6.5: No such file or directory

blackadder@LinuxMint:~/MEGA/Prime95$ file CUDALucas-6.5 
CUDALucas-6.5: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=a8b4728865a4f5a480dd218c33fd85728a4914c3, not stripped
I did however use a repo for an older Linux version: cuda-repo-ubuntu1404_6.5-14_amd64.deb. There are newer versions, but then I can't get to install CUDA 6.5

Code:
blackadder@LinuxMint:~$ sudo apt-get install cuda-6-5
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package cuda-6-5

Last fiddled with by Blackadder on 2018-12-14 at 12:57
Blackadder is offline   Reply With Quote
Old 2019-01-16, 15:02   #158
Luis
 
Luis's Avatar
 
Oct 2014
Bari, Italy

3·13 Posts
Default

Same here.


ldd ./CUDALucas-2.05.1-CUDA5.5-linux-x86_64
Code:
linux-vdso.so.1 =>  (0x00007ffd7c5d4000)
    libcufft.so.5.5 => /usr/lib/x86_64-linux-gnu/libcufft.so.5.5 (0x00007f8319595000)
    libcudart.so.5.5 => /usr/lib/x86_64-linux-gnu/libcudart.so.5.5 (0x00007f8319348000)
    libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x00007f8319042000)
    libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8318c79000)
    libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x00007f8318a75000)
    libstdc++.so.6 => /usr/lib/x86_64-linux-gnu/libstdc++.so.6 (0x00007f831875f000)
    libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8318541000)
    librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x00007f8318339000)
    libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x00007f8318121000)
      /lib/ld-linux-x86-64.so.2 => /lib64/ld-linux-x86-64.so.2 (0x00007f831e0b6000)
file CUDALucas-2.05.1-CUDA5.5-linux-x86_64
Code:
CUDALucas-2.05.1-CUDA5.5-linux-x86_64: ELF 64-bit LSB  executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.32, BuildID[sha1]=fca85cfd718374ae6867e076e646bc1917eabab6, not stripped
./CUDALucas-2.05.1-CUDA5.5-linux-x86_64
Code:
bash: ./CUDALucas-2.05.1-CUDA5.5-linux-x86_64: No such file or directory
How to fix?
Luis is offline   Reply With Quote
Old 2019-01-16, 15:42   #159
henryzz
Just call me Henry
 
henryzz's Avatar
 
"David"
Sep 2007
Liverpool (GMT/BST)

3×23×89 Posts
Default

Is the executable permission set?
henryzz is offline   Reply With Quote
Old 2019-01-16, 15:50   #160
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

7,823 Posts
Default

I recommend using 2.06 not 2.05.1. Not all the bad-residue checks in 2.06 made it into 2.05.1.
kriesel is online now   Reply With Quote
Old 2019-01-17, 16:41   #161
Luis
 
Luis's Avatar
 
Oct 2014
Bari, Italy

3×13 Posts
Default

ls -l CUDALucas-2.05.1-CUDA5.5-linux-x86_64
Code:
-rwxr-xr-x 1 luis luis 609904 feb 12  2015 CUDALucas-2.05.1-CUDA5.5-linux-x86_64

2.06 is beta. I don't see binary files.

Last fiddled with by Luis on 2019-01-17 at 16:42
Luis is offline   Reply With Quote
Old 2019-01-17, 16:58   #162
kriesel
 
kriesel's Avatar
 
"TF79LL86GIMPS96gpu17"
Mar 2017
US midwest

7,823 Posts
Default

Quote:
Originally Posted by Luis View Post
ls -l CUDALucas-2.05.1-CUDA5.5-linux-x86_64
Code:
-rwxr-xr-x 1 luis luis 609904 feb 12  2015 CUDALucas-2.05.1-CUDA5.5-linux-x86_64
2.06 is beta. I don't see binary files.
And mfakto's latest is 0.15pre6, and better than 0.14, also, just as CUDALucas 2.06 is better than 2.05.1. Both have been in constructive use for years. Don't linux users usually compile their own, on their linux flavor of choice?

Last fiddled with by kriesel on 2019-01-17 at 17:00
kriesel is online now   Reply With Quote
Old 2019-01-17, 19:12   #163
nomead
 
nomead's Avatar
 
"Sam Laur"
Dec 2018
Turku, Finland

317 Posts
Default

Quote:
Originally Posted by kriesel View Post
Don't linux users usually compile their own, on their linux flavor of choice?
Yup, or at least I'm one of the people who do. The bonus is getting to compile it for the CUDA version installed and compute capability version(s) of the card(s) being used. Also fine tuning some options that might not be available in the configuration files. The only exception being small ARM boards. Can't be arsed to set up a cross compile environment, and anything even slightly bigger will take a while to compile on the target board.

But can't help with the original problem. The only place I've seen that is when trying to run 32-bit binaries on a 64-bit system without support for it installed, but now the binary is 64-bit, all the libraries are 64-bit... so clearly that shouldn't be a problem.
nomead is offline   Reply With Quote
Old 2019-01-18, 10:00   #164
Luis
 
Luis's Avatar
 
Oct 2014
Bari, Italy

3×13 Posts
Default

Quote:
Originally Posted by kriesel View Post
And mfakto's latest is 0.15pre6, and better than 0.14, also, just as CUDALucas 2.06 is better than 2.05.1. Both have been in constructive use for years. Don't linux users usually compile their own, on their linux flavor of choice?
I'm an unusual and lazy linux user. :P


I don't know compilation procedure by memory, I should read/understand how to do.
I would do it because I guess that error is caused by compilation on another machine.
Luis is offline   Reply With Quote
Old 2019-01-18, 15:36   #165
Luis
 
Luis's Avatar
 
Oct 2014
Bari, Italy

3×13 Posts
Default

Quote:
Originally Posted by kriesel View Post
CUDALucas 2.06 is better than 2.05.1
I did a snapshot here.


Makefile says
Code:
VERSION = 2.05.1
How to get 2.06 sourcecode?
Luis is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Anti-poverty drug testing vs "high" tax deduction testing kladner Soap Box 3 2016-10-14 18:43
What am I testing? GARYP166 Information & Answers 9 2009-02-18 22:41
k=243 testing ?? gd_barnes Riesel Prime Search 20 2007-11-08 21:13
Testing grobie Marin's Mersenne-aries 1 2006-05-15 12:26
Speed of P-1 testing vs. Trial Factoring testing eepiccolo Math 6 2006-03-28 20:53

All times are UTC. The time now is 14:14.


Fri Jul 7 14:14:34 UTC 2023 up 323 days, 11:43, 0 users, load averages: 1.52, 1.50, 1.33

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.

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