mersenneforum.org  

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

Reply
 
Thread Tools
Old 2015-02-26, 18:09   #2322
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

24·7·43 Posts
Default

Quote:
Originally Posted by ET_ View Post
I've compiled other CUDA sources before, I suppose I can manage it with a sufficient makefile, thanks.

Luigi
bump
ET_ is offline   Reply With Quote
Old 2015-02-26, 18:18   #2323
flashjh
 
flashjh's Avatar
 
"Jerry"
Nov 2011
Vancouver, WA

1,123 Posts
Default

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
flashjh is offline   Reply With Quote
Old 2015-02-27, 02:49   #2324
owftheevil
 
owftheevil's Avatar
 
"Carl Darby"
Oct 2012
Spring Mountains, Nevada

32·5·7 Posts
Default

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
is probably appropriate, and on the CUFLAGS line,

Code:
CUFLAGS  -O$(OptLevel)  --generate-code arch=compute_35,code=sm_35 --compiler-options=-Wall -I$(CUINC)
or

Code:
CUFLAGS - -O$(OptLevel)  -generate-code arch=compute_50,code=sm_50  --compiler-options=-Wall -I$(CUINC
Save the file, then run

Code:
make
in the directory where all these files are located.

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
owftheevil is offline   Reply With Quote
Old 2015-02-27, 05:31   #2325
MacFactor
 
Dec 2010

2×13 Posts
Default

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.
MacFactor is offline   Reply With Quote
Old 2015-02-27, 05:35   #2326
MacFactor
 
Dec 2010

328 Posts
Default

It didn't do anything for me.

I'm trying to get more current libcufft.so files -- hope that will fix it.
MacFactor is offline   Reply With Quote
Old 2015-02-27, 13:27   #2327
owftheevil
 
owftheevil's Avatar
 
"Carl Darby"
Oct 2012
Spring Mountains, Nevada

32·5·7 Posts
Default

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.
owftheevil is offline   Reply With Quote
Old 2015-02-27, 16:48   #2328
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

481610 Posts
Default

Thank you folks!

I'm happily testing my new CuLu executable; meanwhile, here are the benchmarks for James.

Luigi
Attached Files
File Type: zip cudaLucas.zip (2.4 KB, 73 views)
ET_ is offline   Reply With Quote
Old 2015-02-27, 17:11   #2329
James Heinrich
 
James Heinrich's Avatar
 
"James Heinrich"
May 2004
ex-Northern Ontario

2×3×569 Posts
Default

Quote:
Originally Posted by ET_ View Post
meanwhile, here are the benchmarks for James
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
James Heinrich is online now   Reply With Quote
Old 2015-02-27, 18:08   #2330
ET_
Banned
 
ET_'s Avatar
 
"Luigi"
Aug 2002
Team Italia

12D016 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
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
It's compiled as cc5.0 with Cuda 6.5, not yet 5.2 for 7.0.

Luigi
ET_ is offline   Reply With Quote
Old 2015-02-27, 18:11   #2331
MacFactor
 
Dec 2010

2×13 Posts
Default

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[]
Should I change to:
Code:
PATH="$HOME/SHN/CUDALucas:$HOME/SHN:$HOME/bin:$PATH"
(where SHN is my account, w/admin privileges) ? Would I need to run some update or reboot after making that change ?

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
Here are the files in that 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
MacFactor is offline   Reply With Quote
Old 2015-02-27, 18:15   #2332
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2×5×293 Posts
Default

Quote:
Originally Posted by James Heinrich View Post
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
I'll post benchmarks on two 2.1 cards shortly, a GT520 and a GT430, once the benchmarks have finished running.
Mark Rose is offline   Reply With Quote
Reply



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

All times are UTC. The time now is 10:38.


Tue Jul 27 10:38:45 UTC 2021 up 4 days, 5:07, 0 users, load averages: 1.65, 1.88, 1.89

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, 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.