![]() |
|
|
#2322 |
|
Banned
"Luigi"
Aug 2002
Team Italia
24·7·43 Posts |
|
|
|
|
|
|
#2323 |
|
"Jerry"
Nov 2011
Vancouver, WA
1,123 Posts |
All the source code including makefiles are on sourceforge
http://sourceforge.net/p/cudalucas/c...v2.05.1-final/ Last fiddled with by flashjh on 2015-02-26 at 18:20 |
|
|
|
|
|
#2324 |
|
"Carl Darby"
Oct 2012
Spring Mountains, Nevada
32·5·7 Posts |
ET, just grab the files in the directory flashjh mentioned. Open the Makefile in a text editor. There are some instructions at the top of the file on how to set the two parameters necessary to shape the build for your system.For you,
Code:
CUDA = /usr/local/cuda-6.5 Code:
CUFLAGS -O$(OptLevel) --generate-code arch=compute_35,code=sm_35 --compiler-options=-Wall -I$(CUINC) Code:
CUFLAGS - -O$(OptLevel) -generate-code arch=compute_50,code=sm_50 --compiler-options=-Wall -I$(CUINC Code:
make You won't be able to use arch=compute_52,code=sm_52 unless you have CUDA-7.0 installed. Last fiddled with by owftheevil on 2015-02-27 at 02:52 |
|
|
|
|
|
#2325 |
|
Dec 2010
2×13 Posts |
Well, I notice that the libcufft.so files are for CUDA 4.1, not 4.2 -- and the linux libs haven't been updated in two years. Anyone know where to find them ?
After installing the CUDAlib files for CUDALucas, I found that mfaktc now returns an error message, telling me I have the wrong CUDA version (4.1) and that I need the version used in compilation (4.2). What makes this strange is that I included the name of the folder (mfaktc_libs) in the path name in the mfaktc.conf file, and the 4.1 files are in a folder called CUDAlibs. I would have thought that the specified folder would be searched first, but evidently not. Simply by moving the 4.1 files into a subfolder I was able to get mfaktc running again. But it makes me suspect that I need the libcufft.so files for version 4.2. I notice the Windows files are much more recent. I've been searching Nvidia's site for the .so files, but was working from a Windows computer and couldn't see what was in those linux .run files. Will login again from a Linux Mint system and see if Nvidia has the files I need. I sure don't want to run another CUDA installer, though -- that was a headache. |
|
|
|
|
|
#2326 |
|
Dec 2010
328 Posts |
It didn't do anything for me.
I'm trying to get more current libcufft.so files -- hope that will fix it. |
|
|
|
|
|
#2327 |
|
"Carl Darby"
Oct 2012
Spring Mountains, Nevada
32·5·7 Posts |
I'm currently uploading the cuda library files (4.2 - 6.5) to sourceforge. I have hesitated to do this before because the files are big and I have incredibly slow and unreliable internet. Best estimate is a probability of 0.5 that they are up there some time in the next 24 hours.
|
|
|
|
|
|
#2328 |
|
Banned
"Luigi"
Aug 2002
Team Italia
481610 Posts |
Thank you folks!
![]() I'm happily testing my new CuLu executable; meanwhile, here are the benchmarks for James. Luigi |
|
|
|
|
|
#2329 |
|
"James Heinrich"
May 2004
ex-Northern Ontario
2×3×569 Posts |
Thanks, much appreciated -- I didn't have any Compute 5.2 benchmarks. It's within 3% of predicted so I'm happy.
To everyone else: I still don't have any benchmarks for Compute 5.0, 3.5 or 2.1 under CuLu 2.05, so more benchmarks are welcome, either here or james@mersenne.ca |
|
|
|
|
|
#2330 | |
|
Banned
"Luigi"
Aug 2002
Team Italia
12D016 Posts |
Quote:
Luigi |
|
|
|
|
|
|
#2331 |
|
Dec 2010
2×13 Posts |
Thanks, but it didn't fix my problem. I'm starting to suspect a problem in the PATH setting. The original:
Code:
# set PATH so it includes user's private bin if it exists
if [ -d "$HOME/bin" ] ; then
PATH="$HOME/bin:$PATH"
fi[]
Code:
PATH="$HOME/SHN/CUDALucas:$HOME/SHN:$HOME/bin:$PATH" I've tried changing all this in /etc/ld.so.conf.d, but it doesn't work, even after running sudo ldconfig: Code:
shn@Core2Duo ~/Desktop/CUDALucas $ ./CUDALucas -v bash: ./CUDALucas: No such file or directory shn@Core2Duo ~/Desktop/CUDALucas $ ./CUDALucas-2.05.1-CUDA4.2-linux-x86_64 -v bash: ./CUDALucas-2.05.1-CUDA4.2-linux-x86_64: No such file or directory Code:
shn@Core2Duo ~/Desktop/CUDALucas $ ls -lt total 888 -rwxr-xr-x 1 shn shn 425256 Feb 21 21:57 CUDALucas -rwxr--r-- 1 shn shn 9092 Feb 21 21:43 CUDALucas.ini drwxr-xr-x 2 shn shn 4096 Feb 21 14:38 CUDALucas-2.05.1-CUDA4.2-CUDA6.5-linux-x86_64 -rw-r--r-- 1 shn shn 0 Feb 21 11:48 output -rwxr--r-- 1 shn shn 25 Feb 20 21:58 worktodo.txt -rwxr-xr-x 1 shn shn 425256 Feb 11 17:27 CUDALucas-2.05.1-CUDA4.2-linux-x86_64 -rw-r--r-- 1 shn shn 35316 Jul 20 2014 CUDALucas README |
|
|
|
|
|
#2332 | |
|
"/X\(‘-‘)/X\"
Jan 2013
2×5×293 Posts |
Quote:
|
|
|
|
|
![]() |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Don't DC/LL them with CudaLucas | LaurV | Data | 131 | 2017-05-02 18:41 |
| CUDALucas / cuFFT Performance on CUDA 7 / 7.5 / 8 | Brain | GPU Computing | 13 | 2016-02-19 15:53 |
| CUDALucas: which binary to use? | Karl M Johnson | GPU Computing | 15 | 2015-10-13 04:44 |
| settings for cudaLucas | fairsky | GPU Computing | 11 | 2013-11-03 02:08 |
| Trying to run CUDALucas on Windows 8 CP | Rodrigo | GPU Computing | 12 | 2012-03-07 23:20 |