Pages:
Author

Topic: [LTC] Cudaminer setup on Linux howto (Read 18572 times)

newbie
Activity: 1
Merit: 0
April 16, 2014, 12:51:02 AM
#22
I am using this miner now for a few days on Mageia 5 and one thing drives me insane: whenever I use it, it sometimes crashes with "segmentation fault" and it always draws me colorful lines on the commandline (horizontal pixellines) and on my X server i get logged out. Here is a bit data about my configuration (with which I build and run the software):

graphics card: Geforce GTX 560
OS:Mageia 5 x86_64
Driver: NVIDIA 331.67
CUDA: 6.0
X.org-version: 7.7
Gnome: 3.12.0
gdm: 3.12.0

I hope someone here can use that information (if you need more, let me know) and can help me.

Thanks in advance
newbie
Activity: 2
Merit: 0
March 30, 2014, 11:30:15 AM
#21
Excellent guide!
trying to use it to compile my own cudaminer...first I was getting some errors as CUDA toolkit was missing (The original thread is only referring to few simple commands yet the prerequisities have to be met... so this is how I found this post and with the helf of this got CUDA 5.5 installed.
Despite the guide is little older, I tried to follow to get Cudaminer compiled on my Ubuntu 13.10, yet I'm stucked with the below error...

Code:
root@DuxfordUB:/home/honza/CudaMiner# make
make  all-recursive
make[1]: Entering directory `/home/honza/CudaMiner'
Making all in compat
make[2]: Entering directory `/home/honza/CudaMiner/compat'
make[3]: Entering directory `/home/honza/CudaMiner/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/honza/CudaMiner/compat'
make[2]: Leaving directory `/home/honza/CudaMiner/compat'
make[2]: Entering directory `/home/honza/CudaMiner'
g++  -g -O2 -pthread -L/usr/local/cuda/lib  -o cudaminer cudaminer-cpu-miner.o cudaminer-util.o wrapnvml.o cudaminer-sha2.o cudaminer-scrypt.o cudaminer-maxcoin.o cudaminer-blakecoin.o cudaminer-sha3.o cudaminer-scrypt-jane.o salsa_kernel.o sha256.o keccak.o blake.o cudaminer-blake.o fermi_kernel.o kepler_kernel.o test_kernel.o nv_kernel.o nv_kernel2.o titan_kernel.o -L/usr/lib/i386-linux-gnu -lcurl -ljansson -lpthread  -lcudart -fopenmp -lcrypto -lssl  -lcrypto -lssl
/usr/bin/ld: wrapnvml.o: undefined reference to symbol 'dlopen@@GLIBC_2.1'
/lib/i386-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[2]: *** [cudaminer] Error 1
make[2]: Leaving directory `/home/honza/CudaMiner'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/honza/CudaMiner'
make: *** [all] Error 2
root@DuxfordUB:/home/honza/CudaMiner#

went through several posts referring to "DSO missing from command line", but still can't resolve this..

Would an expert be so kind to kick my lazy but in the right direction ? Roll Eyes?

Thanks in advance!!
newbie
Activity: 3
Merit: 0
March 20, 2014, 10:00:27 PM
#20
I was getting the error mentioned above, but that was fixed  by autogen.  Now I get the following.  Any ideas?

Code:
make[1]: Entering directory `/home/berniehglee/CudaMiner'
Making all in compat
make[2]: Entering directory `/home/berniehglee/CudaMiner/compat'
Making all in jansson
make[3]: Entering directory `/home/berniehglee/CudaMiner/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/berniehglee/CudaMiner/compat/jansson'
make[3]: Entering directory `/home/berniehglee/CudaMiner/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/berniehglee/CudaMiner/compat'
make[2]: Leaving directory `/home/berniehglee/CudaMiner/compat'
make[2]: Entering directory `/home/berniehglee/CudaMiner'
g++  -g -O2 -pthread -L/usr/local/cuda/lib64  -o cudaminer cudaminer-cpu-miner.o cudaminer-util.o wrapnvml.o cudaminer-sha2.o cudaminer-scrypt.o cudaminer-maxcoin.o cudaminer-blakecoin.o cudaminer-sha3.o cudaminer-scrypt-jane.o salsa_kernel.o sha256.o keccak.o blake.o cudaminer-blake.o fermi_kernel.o kepler_kernel.o test_kernel.o nv_kernel.o nv_kernel2.o titan_kernel.o -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread  -lcudart -fopenmp -lcrypto -lssl  -lcrypto -lssl
/usr/bin/ld: wrapnvml.o: undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
/lib/x86_64-linux-gnu/libdl.so.2: error adding symbols: DSO missing from command line
newbie
Activity: 2
Merit: 0
February 03, 2014, 06:11:59 AM
#19
It works with autogen, thank you very much Wink
newbie
Activity: 1
Merit: 0
February 03, 2014, 02:06:09 AM
#18
Running autogen.sh resolve the problem.
Please see http://wiki.in-ton.ru/w/%D0%A1%D0%BE%D0%B1%D0%B8%D1%80%D0%B0%D0%B5%D0%BC_CudaMiner_%D0%B4%D0%BB%D1%8F_%D0%B4%D0%BE%D0%B1%D1%8B%D1%87%D0%B8_Litecoin/NovaCoin/Feathercoin
This is in russian, but i think that you cantch the idea.

Hello,

I'm on debian sid and i have a compilation error with cudaminer. After make I have :

Code:
g++  -g -O2 -pthread -L/usr/local/cuda/lib64  -o cudaminer cudaminer-cpu-miner.o cudaminer-util.o cudaminer-sha2.o cudaminer-scrypt.o cudaminer-scrypt-jane.o salsa_kernel.o spinlock_kernel.o legacy_kernel.o fermi_kernel.o kepler_kernel.o test_kernel.o titan_kernel.o -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread  -lcudart -fopenmp -L/opt/cuda/lib64 -L/opt/cuda/lib64
cudaminer-scrypt.o: dans la fonction « scanhash_scrypt »:
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:730: référence indéfinie vers « prepare_sha256 »
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:761: référence indéfinie vers « pre_sha256 »
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:771: référence indéfinie vers « post_sha256 »
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:834: référence indéfinie vers « pre_sha256 »
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:843: référence indéfinie vers « post_sha256 »
salsa_kernel.o: dans la fonction « validate_config(char*, int&, int&, KernelInterface**, cudaDeviceProp*) »:
/home/fate/checkinstall/CudaMiner-master/salsa_kernel.cu:165: référence indéfinie vers « NV2Kernel::NV2Kernel() »
/home/fate/checkinstall/CudaMiner-master/salsa_kernel.cu:164: référence indéfinie vers « NVKernel::NVKernel() »
salsa_kernel.o: dans la fonction « find_optimal_blockcount(int, KernelInterface*&, bool&, int&) »:
/home/fate/checkinstall/CudaMiner-master/salsa_kernel.cu:392: référence indéfinie vers « NV2Kernel::NV2Kernel() »
/home/fate/checkinstall/CudaMiner-master/salsa_kernel.cu:390: référence indéfinie vers « NVKernel::NVKernel() »
cudaminer-scrypt-jane.o: dans la fonction « scanhash_scrypt_jane »:
/home/fate/checkinstall/CudaMiner-master/scrypt-jane.cpp:502: référence indéfinie vers « pre_keccak512 »
/home/fate/checkinstall/CudaMiner-master/scrypt-jane.cpp:531: référence indéfinie vers « pre_keccak512 »
/home/fate/checkinstall/CudaMiner-master/scrypt-jane.cpp:582: référence indéfinie vers « post_keccak512 »
/home/fate/checkinstall/CudaMiner-master/scrypt-jane.cpp:475: référence indéfinie vers « prepare_keccak512 »
collect2: error: ld returned 1 exit status
make[2]: *** [cudaminer] Erreur 1
make[2]: quittant le répertoire « /home/fate/checkinstall/CudaMiner-master »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/fate/checkinstall/CudaMiner-master »
make: *** [all] Erreur 2

I havn't error during configure and I installed cuda 5.5 so I don't understant where is the problem. Do you have any idea ?

Thank you Smiley

newbie
Activity: 2
Merit: 0
January 27, 2014, 06:37:43 PM
#17
Hello,

I'm on debian sid and i have a compilation error with cudaminer. After make I have :

Code:
make -j4
make  all-recursive
make[1]: entrant dans le répertoire « /home/fate/checkinstall/CudaMiner-master »
Making all in compat
make[2]: entrant dans le répertoire « /home/fate/checkinstall/CudaMiner-master/compat »
make[3]: entrant dans le répertoire « /home/fate/checkinstall/CudaMiner-master/compat »
make[3]: Rien à faire pour « all-am ».
make[3]: quittant le répertoire « /home/fate/checkinstall/CudaMiner-master/compat »
make[2]: quittant le répertoire « /home/fate/checkinstall/CudaMiner-master/compat »
make[2]: entrant dans le répertoire « /home/fate/checkinstall/CudaMiner-master »
nvcc -g -O2 -Xptxas "-abi=no -v" -arch=compute_10 --maxrregcount=64 --ptxas-options=-v  -o salsa_kernel.o -c salsa_kernel.cu
nvcc -g -O2 -Xptxas "-abi=no -v" -arch=sm_30 --maxrregcount=63  -o spinlock_kernel.o -c spinlock_kernel.cu
nvcc -g -O2 -Xptxas "-abi=no -v" -arch=compute_10 --maxrregcount=64 --ptxas-options=-v  -o legacy_kernel.o -c legacy_kernel.cu
nvcc -g -O2 -Xptxas "-abi=no -v" -arch=sm_20 --maxrregcount=63  -o fermi_kernel.o -c fermi_kernel.cu
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(318): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(327): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(355): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(281): Warning: Cannot tell what pointer points to, assuming global memory space
./legacy_kernel.cu(282): Warning: Cannot tell what pointer points to, assuming global memory space
nvcc -g -O2 -Xptxas "-abi=no -v" -arch=sm_30 --maxrregcount=32  -o kepler_kernel.o -c kepler_kernel.cu
kepler_kernel.cu(636): warning: variable "num_sleeps" was declared but never referenced

nvcc -g -O2 -Xptxas "-abi=no -v" -arch=sm_20 --maxrregcount=32  -o test_kernel.o -c test_kernel.cu
test_kernel.cu(681): warning: variable "num_sleeps" was declared but never referenced

kepler_kernel.cu(636): warning: variable "num_sleeps" was declared but never referenced

test_kernel.cu(681): warning: variable "num_sleeps" was declared but never referenced

ptxas warning : 'option -abi=no' might get deprecated in future
ptxas info    : 304 bytes gmem, 32788 bytes cmem[3]
ptxas info    : Compiling entry function '_Z29kepler_scrypt_core_kernelB_LGILi0ELi0EEvPjiij' for 'sm_30'
ptxas info    : Used 32 registers, 340 bytes cmem[0], 4 bytes lmem
ptxas info    : Compiling entry function '_Z29kepler_scrypt_core_kernelA_LGILi0EEvPKjiij' for 'sm_30'
ptxas info    : Used 29 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z29kepler_scrypt_core_kernelB_LGILi0ELi2EEvPjiij' for 'sm_30'
ptxas info    : Used 32 registers, 344 bytes cmem[0], 4 bytes lmem
ptxas info    : Compiling entry function '_Z26kepler_scrypt_core_kernelBILi0ELi1EEvPjii' for 'sm_30'
ptxas info    : Used 28 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z26kepler_scrypt_core_kernelBILi0ELi2EEvPjii' for 'sm_30'
ptxas info    : Used 27 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z26kepler_scrypt_core_kernelAILi0EEvPKjii' for 'sm_30'
ptxas info    : Used 26 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z29kepler_scrypt_core_kernelB_LGILi0ELi1EEvPjiij' for 'sm_30'
ptxas info    : Used 32 registers, 344 bytes cmem[0], 4 bytes lmem
ptxas info    : Compiling entry function '_Z26kepler_scrypt_core_kernelBILi0ELi0EEvPjii' for 'sm_30'
ptxas info    : Used 31 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z29kepler_scrypt_core_kernelB_LGILi1ELi0EEvPjiij' for 'sm_30'
ptxas info    : Used 32 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z29kepler_scrypt_core_kernelA_LGILi1EEvPKjiij' for 'sm_30'
ptxas info    : Used 27 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z29kepler_scrypt_core_kernelB_LGILi1ELi2EEvPjiij' for 'sm_30'
ptxas info    : Used 32 registers, 344 bytes cmem[0]
ptxas info    : Compiling entry function '_Z26kepler_scrypt_core_kernelBILi1ELi1EEvPjii' for 'sm_30'
ptxas info    : Used 25 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z26kepler_scrypt_core_kernelBILi1ELi2EEvPjii' for 'sm_30'
ptxas info    : Used 25 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z26kepler_scrypt_core_kernelAILi1EEvPKjii' for 'sm_30'
ptxas info    : Used 25 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z29kepler_scrypt_core_kernelB_LGILi1ELi1EEvPjiij' for 'sm_30'
ptxas info    : Used 32 registers, 344 bytes cmem[0]
ptxas info    : Compiling entry function '_Z26kepler_scrypt_core_kernelBILi1ELi0EEvPjii' for 'sm_30'
ptxas info    : Used 30 registers, 336 bytes cmem[0]
ptxas warning : 'option -abi=no' might get deprecated in future
nvcc -g -O2 -Xptxas "-abi=no -v" -arch=sm_35 --maxrregcount=32  -o titan_kernel.o -c titan_kernel.cu
ptxas info    : 304 bytes gmem, 32788 bytes cmem[2], 16 bytes cmem[14]
ptxas info    : Compiling entry function '_Z27test_scrypt_core_kernelB_LGILi0ELi0EEvPjiij' for 'sm_20'
ptxas info    : Used 32 registers, 52 bytes cmem[0], 4 bytes lmem
ptxas info    : Compiling entry function '_Z27test_scrypt_core_kernelA_LGILi0EEvPKjiij' for 'sm_20'
ptxas info    : Used 26 registers, 52 bytes cmem[0]
ptxas info    : Compiling entry function '_Z27test_scrypt_core_kernelB_LGILi0ELi2EEvPjiij' for 'sm_20'
ptxas info    : Used 32 registers, 52 bytes cmem[0]
ptxas info    : Compiling entry function '_Z24test_scrypt_core_kernelBILi0ELi1EEvPjii' for 'sm_20'
ptxas info    : Used 28 registers, 48 bytes cmem[0]
ptxas info    : Compiling entry function '_Z24test_scrypt_core_kernelBILi0ELi2EEvPjii' for 'sm_20'
ptxas info    : Used 28 registers, 48 bytes cmem[0]
ptxas info    : Compiling entry function '_Z24test_scrypt_core_kernelAILi0EEvPKjii' for 'sm_20'
ptxas info    : Used 26 registers, 48 bytes cmem[0]
ptxas info    : Compiling entry function '_Z27test_scrypt_core_kernelB_LGILi0ELi1EEvPjiij' for 'sm_20'
ptxas info    : Used 32 registers, 52 bytes cmem[0]
ptxas info    : Compiling entry function '_Z24test_scrypt_core_kernelBILi0ELi0EEvPjii' for 'sm_20'
ptxas info    : Used 32 registers, 48 bytes cmem[0]
ptxas info    : Compiling entry function '_Z27test_scrypt_core_kernelB_LGILi1ELi0EEvPjiij' for 'sm_20'
ptxas info    : Used 32 registers, 52 bytes cmem[0]
ptxas info    : Compiling entry function '_Z27test_scrypt_core_kernelA_LGILi1EEvPKjiij' for 'sm_20'
ptxas info    : Used 24 registers, 52 bytes cmem[0]
ptxas info    : Compiling entry function '_Z27test_scrypt_core_kernelB_LGILi1ELi2EEvPjiij' for 'sm_20'
ptxas info    : Used 30 registers, 52 bytes cmem[0]
ptxas info    : Compiling entry function '_Z24test_scrypt_core_kernelBILi1ELi1EEvPjii' for 'sm_20'
ptxas info    : Used 24 registers, 48 bytes cmem[0]
ptxas info    : Compiling entry function '_Z24test_scrypt_core_kernelBILi1ELi2EEvPjii' for 'sm_20'
ptxas info    : Used 24 registers, 48 bytes cmem[0]
ptxas info    : Compiling entry function '_Z24test_scrypt_core_kernelAILi1EEvPKjii' for 'sm_20'
ptxas info    : Used 26 registers, 48 bytes cmem[0]
ptxas info    : Compiling entry function '_Z27test_scrypt_core_kernelB_LGILi1ELi1EEvPjiij' for 'sm_20'
ptxas info    : Used 30 registers, 52 bytes cmem[0]
ptxas info    : Compiling entry function '_Z24test_scrypt_core_kernelBILi1ELi0EEvPjii' for 'sm_20'
ptxas info    : Used 28 registers, 48 bytes cmem[0]
titan_kernel.cu(625): warning: variable "num_sleeps" was declared but never referenced

ptxas warning : 'option -abi=no' might get deprecated in future
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT cudaminer-cpu-miner.o -MD -MP -MF .deps/cudaminer-cpu-miner.Tpo -c -o cudaminer-cpu-miner.o `test -f 'cpu-miner.c' || echo './'`cpu-miner.c
mv -f .deps/cudaminer-cpu-miner.Tpo .deps/cudaminer-cpu-miner.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT cudaminer-util.o -MD -MP -MF .deps/cudaminer-util.Tpo -c -o cudaminer-util.o `test -f 'util.c' || echo './'`util.c
ptxas warning : 'option -abi=no' might get deprecated in future
titan_kernel.cu(625): warning: variable "num_sleeps" was declared but never referenced

mv -f .deps/cudaminer-util.Tpo .deps/cudaminer-util.Po
gcc -std=gnu99 -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT cudaminer-sha2.o -MD -MP -MF .deps/cudaminer-sha2.Tpo -c -o cudaminer-sha2.o `test -f 'sha2.c' || echo './'`sha2.c
ptxas info    : 304 bytes gmem, 32768 bytes cmem[2], 16 bytes cmem[14]
ptxas info    : Compiling entry function '_Z29fermi_scrypt_core_kernelB_texILi0ELi1EEvPjj' for 'sm_20'
ptxas info    : Used 63 registers, 44 bytes cmem[0], 20 bytes lmem
ptxas info    : Compiling entry function '_Z25fermi_scrypt_core_kernelBILi0EEvPjj' for 'sm_20'
ptxas info    : Used 63 registers, 44 bytes cmem[0], 24 bytes lmem
ptxas info    : Compiling entry function '_Z25fermi_scrypt_core_kernelAILi0EEvPjj' for 'sm_20'
ptxas info    : Used 63 registers, 44 bytes cmem[0], 4 bytes lmem
ptxas info    : Compiling entry function '_Z29fermi_scrypt_core_kernelB_texILi0ELi2EEvPjj' for 'sm_20'
ptxas info    : Used 63 registers, 44 bytes cmem[0], 20 bytes lmem
ptxas info    : Compiling entry function '_Z29fermi_scrypt_core_kernelB_texILi1ELi1EEvPjj' for 'sm_20'
ptxas info    : Used 63 registers, 44 bytes cmem[0], 20 bytes lmem
ptxas info    : Compiling entry function '_Z25fermi_scrypt_core_kernelBILi1EEvPjj' for 'sm_20'
ptxas info    : Used 63 registers, 44 bytes cmem[0], 20 bytes lmem
ptxas info    : Compiling entry function '_Z25fermi_scrypt_core_kernelAILi1EEvPjj' for 'sm_20'
ptxas info    : Used 63 registers, 44 bytes cmem[0], 4 bytes lmem
ptxas info    : Compiling entry function '_Z29fermi_scrypt_core_kernelB_texILi1ELi2EEvPjj' for 'sm_20'
ptxas info    : Used 63 registers, 44 bytes cmem[0], 20 bytes lmem
ptxas info    : 304 bytes gmem, 32768 bytes cmem[3]
ptxas info    : Compiling entry function '_Z32spinlock_scrypt_core_kernelB_texILi0ELi1EEvPjj' for 'sm_30'
ptxas info    : Used 63 registers, 64 bytes smem, 336 bytes cmem[0], 4 bytes cmem[2], 20 bytes lmem
ptxas info    : Compiling entry function '_Z28spinlock_scrypt_core_kernelBILi0EEvPjj' for 'sm_30'
ptxas info    : Used 63 registers, 64 bytes smem, 332 bytes cmem[0], 4 bytes cmem[2], 12 bytes lmem
ptxas info    : Compiling entry function '_Z28spinlock_scrypt_core_kernelAILi0EEvPjj' for 'sm_30'
ptxas info    : Used 63 registers, 64 bytes smem, 332 bytes cmem[0], 4 bytes cmem[2], 4 bytes lmem
ptxas info    : Compiling entry function '_Z32spinlock_scrypt_core_kernelB_texILi0ELi2EEvPjj' for 'sm_30'
ptxas info    : Used 63 registers, 64 bytes smem, 336 bytes cmem[0], 4 bytes cmem[2], 32 bytes lmem
ptxas info    : Compiling entry function '_Z32spinlock_scrypt_core_kernelB_texILi1ELi1EEvPjj' for 'sm_30'
ptxas info    : Used 63 registers, 64 bytes smem, 336 bytes cmem[0], 4 bytes cmem[2], 16 bytes lmem
ptxas info    : Compiling entry function '_Z28spinlock_scrypt_core_kernelBILi1EEvPjj' for 'sm_30'
ptxas info    : Used 63 registers, 64 bytes smem, 332 bytes cmem[0], 4 bytes cmem[2], 12 bytes lmem
ptxas info    : Compiling entry function '_Z28spinlock_scrypt_core_kernelAILi1EEvPjj' for 'sm_30'
ptxas info    : Used 63 registers, 64 bytes smem, 332 bytes cmem[0], 4 bytes cmem[2], 4 bytes lmem
ptxas info    : Compiling entry function '_Z32spinlock_scrypt_core_kernelB_texILi1ELi2EEvPjj' for 'sm_30'
ptxas info    : Used 63 registers, 64 bytes smem, 336 bytes cmem[0], 4 bytes cmem[2], 12 bytes lmem
ptxas warning : 'option -abi=no' might get deprecated in future
g++ -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT cudaminer-scrypt.o -MD -MP -MF .deps/cudaminer-scrypt.Tpo -c -o cudaminer-scrypt.o `test -f 'scrypt.cpp' || echo './'`scrypt.cpp
ptxas info    : 304 bytes gmem, 32788 bytes cmem[3]
ptxas info    : Compiling entry function '_Z28titan_scrypt_core_kernelA_LGILi0EEvPKjiij' for 'sm_35'
ptxas info    : Used 29 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z28titan_scrypt_core_kernelB_LGILi0EEvPjiij' for 'sm_35'
ptxas info    : Used 32 registers, 340 bytes cmem[0], 4 bytes lmem
ptxas info    : Compiling entry function '_Z25titan_scrypt_core_kernelAILi0EEvPKjii' for 'sm_35'
ptxas info    : Used 26 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z25titan_scrypt_core_kernelBILi0EEvPjii' for 'sm_35'
ptxas info    : Used 31 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z28titan_scrypt_core_kernelA_LGILi1EEvPKjiij' for 'sm_35'
ptxas info    : Used 24 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z28titan_scrypt_core_kernelB_LGILi1EEvPjiij' for 'sm_35'
ptxas info    : Used 32 registers, 340 bytes cmem[0]
ptxas info    : Compiling entry function '_Z25titan_scrypt_core_kernelAILi1EEvPKjii' for 'sm_35'
ptxas info    : Used 25 registers, 336 bytes cmem[0]
ptxas info    : Compiling entry function '_Z25titan_scrypt_core_kernelBILi1EEvPjii' for 'sm_35'
ptxas info    : Used 29 registers, 336 bytes cmem[0]
mv -f .deps/cudaminer-sha2.Tpo .deps/cudaminer-sha2.Po
g++ -DHAVE_CONFIG_H -I.  -msse2  -fopenmp -pthread -fno-strict-aliasing  -DSCRYPT_KECCAK512 -DSCRYPT_CHACHA -DSCRYPT_CHOOSE_COMPILETIME   -g -O2 -MT cudaminer-scrypt-jane.o -MD -MP -MF .deps/cudaminer-scrypt-jane.Tpo -c -o cudaminer-scrypt-jane.o `test -f 'scrypt-jane.cpp' || echo './'`scrypt-jane.cpp
mv -f .deps/cudaminer-scrypt-jane.Tpo .deps/cudaminer-scrypt-jane.Po
mv -f .deps/cudaminer-scrypt.Tpo .deps/cudaminer-scrypt.Po
g++  -g -O2 -pthread -L/usr/local/cuda/lib64  -o cudaminer cudaminer-cpu-miner.o cudaminer-util.o cudaminer-sha2.o cudaminer-scrypt.o cudaminer-scrypt-jane.o salsa_kernel.o spinlock_kernel.o legacy_kernel.o fermi_kernel.o kepler_kernel.o test_kernel.o titan_kernel.o -L/usr/lib/x86_64-linux-gnu -lcurl -ljansson -lpthread  -lcudart -fopenmp -L/opt/cuda/lib64 -L/opt/cuda/lib64
cudaminer-scrypt.o: dans la fonction « scanhash_scrypt »:
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:730: référence indéfinie vers « prepare_sha256 »
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:761: référence indéfinie vers « pre_sha256 »
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:771: référence indéfinie vers « post_sha256 »
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:834: référence indéfinie vers « pre_sha256 »
/home/fate/checkinstall/CudaMiner-master/scrypt.cpp:843: référence indéfinie vers « post_sha256 »
salsa_kernel.o: dans la fonction « validate_config(char*, int&, int&, KernelInterface**, cudaDeviceProp*) »:
/home/fate/checkinstall/CudaMiner-master/salsa_kernel.cu:165: référence indéfinie vers « NV2Kernel::NV2Kernel() »
/home/fate/checkinstall/CudaMiner-master/salsa_kernel.cu:164: référence indéfinie vers « NVKernel::NVKernel() »
salsa_kernel.o: dans la fonction « find_optimal_blockcount(int, KernelInterface*&, bool&, int&) »:
/home/fate/checkinstall/CudaMiner-master/salsa_kernel.cu:392: référence indéfinie vers « NV2Kernel::NV2Kernel() »
/home/fate/checkinstall/CudaMiner-master/salsa_kernel.cu:390: référence indéfinie vers « NVKernel::NVKernel() »
cudaminer-scrypt-jane.o: dans la fonction « scanhash_scrypt_jane »:
/home/fate/checkinstall/CudaMiner-master/scrypt-jane.cpp:502: référence indéfinie vers « pre_keccak512 »
/home/fate/checkinstall/CudaMiner-master/scrypt-jane.cpp:531: référence indéfinie vers « pre_keccak512 »
/home/fate/checkinstall/CudaMiner-master/scrypt-jane.cpp:582: référence indéfinie vers « post_keccak512 »
/home/fate/checkinstall/CudaMiner-master/scrypt-jane.cpp:475: référence indéfinie vers « prepare_keccak512 »
collect2: error: ld returned 1 exit status
make[2]: *** [cudaminer] Erreur 1
make[2]: quittant le répertoire « /home/fate/checkinstall/CudaMiner-master »
make[1]: *** [all-recursive] Erreur 1
make[1]: quittant le répertoire « /home/fate/checkinstall/CudaMiner-master »
make: *** [all] Erreur 2

I havn't error during configure and I installed cuda 5.5 so I don't understant where is the problem. Do you have any idea ?

Thank you Smiley
newbie
Activity: 2
Merit: 0
January 22, 2014, 04:53:30 AM
#16
I'm getting the same errors on Ubuntu 12.04LTS.  Have you gotten anywhere with this, TvL2386?
You probably fixed this already, but for future readers: the solution to linking problems is to set LD_LIBRARY_PATH properly.

A good doc on this here: https://litecointalk.org/index.php?topic=3231.0
newbie
Activity: 1
Merit: 0
December 29, 2013, 08:34:00 AM
#15
I've got ubuntu-13.04 and installed the cuda package. I have NVidia driver 304.88 and a Quadro K3000M graphics card.

I get the following error:
Code:
tom@laptole cudaminer-src-2013.12.18 $ make
make  all-recursive
make[1]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18'
Making all in compat
make[2]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat'
Making all in jansson
make[3]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat/jansson'
make[3]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat'
make[2]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat'
make[2]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18'
g++  -g -O2 -pthread -L/usr/local/cuda/lib64  -o cudaminer cudaminer-cpu-miner.o cudaminer-util.o cudaminer-sha2.o cudaminer-scrypt.o salsa_kernel.o spinlock_kernel.o legacy_kernel.o fermi_kernel.o test_kernel.o titan_kernel.o -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread  -lcudart -fopenmp 
salsa_kernel.o: In function `validate_config(char*, int&, int&, KernelInterface**, cudaDeviceProp*)':
/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/salsa_kernel.cu:91: undefined reference to `KeplerKernel::KeplerKernel()'
/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/salsa_kernel.cu:99: undefined reference to `KeplerKernel::KeplerKernel()'
salsa_kernel.o: In function `find_optimal_blockcount(int, KernelInterface*&, bool&, int&)':
/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/salsa_kernel.cu:295: undefined reference to `KeplerKernel::KeplerKernel()'
collect2: error: ld returned 1 exit status
make[2]: *** [cudaminer] Error 1
make[2]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18'
make: *** [all] Error 2

I'm getting the same errors on Ubuntu 12.04LTS.  Have you gotten anywhere with this, TvL2386?
newbie
Activity: 1
Merit: 0
December 21, 2013, 06:56:26 PM
#14
@mad4coinz: from your cudaminer-src directory:
Code:
find -type f -exec fromdos {}\;
This will convert all files to have linux line endings instead of windows line endings.

I've got ubuntu-13.04 and installed the cuda package. I have NVidia driver 304.88 and a Quadro K3000M graphics card.

I get the following error:
Code:
tom@laptole cudaminer-src-2013.12.18 $ make
make  all-recursive
make[1]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18'
Making all in compat
make[2]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat'
Making all in jansson
make[3]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat/jansson'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat/jansson'
make[3]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat'
make[2]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/compat'
make[2]: Entering directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18'
g++  -g -O2 -pthread -L/usr/local/cuda/lib64  -o cudaminer cudaminer-cpu-miner.o cudaminer-util.o cudaminer-sha2.o cudaminer-scrypt.o salsa_kernel.o spinlock_kernel.o legacy_kernel.o fermi_kernel.o test_kernel.o titan_kernel.o -L/usr/lib/x86_64-linux-gnu -lcurl compat/jansson/libjansson.a -lpthread  -lcudart -fopenmp 
salsa_kernel.o: In function `validate_config(char*, int&, int&, KernelInterface**, cudaDeviceProp*)':
/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/salsa_kernel.cu:91: undefined reference to `KeplerKernel::KeplerKernel()'
/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/salsa_kernel.cu:99: undefined reference to `KeplerKernel::KeplerKernel()'
salsa_kernel.o: In function `find_optimal_blockcount(int, KernelInterface*&, bool&, int&)':
/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18/salsa_kernel.cu:295: undefined reference to `KeplerKernel::KeplerKernel()'
collect2: error: ld returned 1 exit status
make[2]: *** [cudaminer] Error 1
make[2]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/tom/Downloads/cudaminer-2013-12-18/src/cudaminer-src-2013.12.18'
make: *** [all] Error 2
newbie
Activity: 7
Merit: 0
December 15, 2013, 05:16:01 PM
#13
I'm trying to compile this under macOS Mavericks.

cudaminer-src-2013.12.10

Have installed the nvidia CUDA package and can see the libraries are in the locations mentioned so have exported the paths.

./configure wouldn't do anything

 ./configure
-bash: ./configure: /bin/sh^M: bad interpreter: No such file or directory

ran make configure and got the following

garethswellsmbp:cudaminer-src-2013.12.10 gtsewell77$ make configure
Makefile:380: .deps/cudaminer-cpu-miner.Po: No such file or directory
Makefile:381: .deps/cudaminer-scrypt.Po: No such file or directory
Makefile:382: .deps/cudaminer-sha2.Po: No such file or directory
Makefile:383: .deps/cudaminer-util.Po: No such file or directory
make: *** No rule to make target `.deps/cudaminer-util.Po'.  Stop.

any ideas? Thanks!
newbie
Activity: 3
Merit: 0
May 30, 2013, 05:21:14 PM
#12
Thanks for all that precious info and walkthrough, much appreciated!

I tested on a Tesla M2090, getting 215 KH/s from the GPU (cudaminer -l 128x8). When added to cpuminer from the bi-processor it outputs a total of 285 KH/s.

I got it working after few hours messing and reinstalling the nvidia drivers and CUDA.

Issues I encountered:

- Installing the nvidia drivers was painful. Had to have the GCC 4.6 while installing cuda 5.0 required GCC 4.4
  Tons of errors in nvidia driver install, dozens of symlinks broken and other warning but it actually works even with all those issues
- most of the issues already covered in this thread by others

newbie
Activity: 42
Merit: 0
May 21, 2013, 12:58:56 PM
#11
Good thread thanks
newbie
Activity: 7
Merit: 0
May 21, 2013, 12:25:35 PM
#10
i think a need some finetune... greater performance is still possible?
And so... Tank you very much!  Cheesy

Thanks to you :-) I have added the relevant information into the main post.
As for the perfs improvements, you might be better off asking in the main relevant cudaminer thread Wink
full member
Activity: 188
Merit: 100
https://www.larvalabs.com/cryptopunks/details/9724
May 20, 2013, 06:18:11 AM
#9
Hmm, the problem might be that you're using gcc 4.7:

g++ (Debian 4.7.2-5) 4.7.2

and it is officially unsupported by CUDA 5.0.
You do appear to have gcc 4.4 installed as well. Just to make sure, do:

apt-get install g++-4.4 gcc-4.4

Then do:

export CXX=g++-4.4
export CC=gcc-4.4

...and try performing the configure/make sequence again for cudaminer.
If that still doesn't do it, try:

ln -s /usr/bin/gcc-4.4 /usr/local/cuda/bin/gcc
ln -s /usr/bin/g++-4.4 /usr/local/cuda/bin/g++

...and try again.

Great! it's work! no need to "ln" nothing, just install gcc/g++4.4 and export ( export LD_LIBRARY_PATH="/usr/local/cuda/lib64" and export PATH="/usr/local/cuda/bin:$PATH" too). I get a loot of

./spinlock_kernel.cu(233): Warning: Cannot tell what pointer points to, assuming global memory space

on compile, but it's looks to work right.

Some benchmark on GTX 650 TI:
[2013-05-20 13:03:30] GPU #0: GeForce GTX 650 Ti, 368640 hashes, 74.14 khash/s

i think a need some finetune... greater performance is still possible?
And so... Tank you very much!  Cheesy
newbie
Activity: 7
Merit: 0
May 18, 2013, 12:10:59 PM
#8
Hmm, the problem might be that you're using gcc 4.7:

g++ (Debian 4.7.2-5) 4.7.2

and it is officially unsupported by CUDA 5.0.
You do appear to have gcc 4.4 installed as well. Just to make sure, do:

apt-get install g++-4.4 gcc-4.4

Then do:

export CXX=g++-4.4
export CC=gcc-4.4

...and try performing the configure/make sequence again for cudaminer.
If that still doesn't do it, try:

ln -s /usr/bin/gcc-4.4 /usr/local/cuda/bin/gcc
ln -s /usr/bin/g++-4.4 /usr/local/cuda/bin/g++

...and try again.
full member
Activity: 188
Merit: 100
https://www.larvalabs.com/cryptopunks/details/9724
May 18, 2013, 09:32:37 AM
#7
Hi MrEHQE,

as seen in this message:

gcc: error trying to exec 'cc1plus': execvp: File o directory non esistente

You are lacking cc1plus - the most likely cause is that g++ (the GNU C++ compiler) is not installed.
Do as the root user:

apt-get install g++

And try again.
If it still does not work, give the output of the following four commands to help understand where your issue is coming from:

gcc --version
g++ --version
ls -al /usr/lib/gcc
ls -al /usr/lib/gcc/x86_64-linux-gnu

what's wrong? you can give me a binary?

I could but first, it may not work on your system (not the same standard libraries and so forth) and second, you should not trust binaries exchanged through a forum in this way Wink it could be made to run anything (like steal part of the shares you are computing). Try the above commands !

g++ was already installed. My system is multiarch too. This is the output you want:

gcc --version
gcc (Debian 4.7.2-5) 4.7.2

g++ --version
g++ (Debian 4.7.2-5) 4.7.2

ls -al /usr/lib/gcc
drwxr-xr-x   4 root root  4096 mar 31 03:55 .
drwxr-xr-x 198 root root 69632 mag 17 20:54 ..
drwxr-xr-x   3 root root  4096 mar 31 03:55 i486-linux-gnu
drwxr-xr-x   5 root root  4096 mag 15 10:35 x86_64-linux-gnu

ls -al /usr/lib/gcc/x86_64-linux-gnu
drwxr-xr-x 5 root root 4096 mag 15 10:35 .
drwxr-xr-x 4 root root 4096 mar 31 03:55 ..
drwxr-xr-x 4 root root 4096 mag 15 10:35 4.4
lrwxrwxrwx 1 root root    3 set 20  2012 4.4.6 -> 4.4
lrwxrwxrwx 1 root root    3 set 20  2012 4.4.7 -> 4.4
drwxr-xr-x 4 root root 4096 mag  6 09:20 4.6
lrwxrwxrwx 1 root root    3 nov 27 17:57 4.6.3 -> 4.6
drwxr-xr-x 5 root root 4096 apr 23 13:23 4.7
lrwxrwxrwx 1 root root    3 mar 29 18:41 4.7.2 -> 4.7

Also,
locate cc1plus
/usr/lib/gcc/x86_64-linux-gnu/4.6/cc1plus
/usr/lib/gcc/x86_64-linux-gnu/4.7/cc1plus

I know to don't trust on binary from forums, it's just to know if I have all right dependencies. My target is to compile Wink Sorry 4 my bab english
member
Activity: 116
Merit: 10
May 17, 2013, 06:00:40 PM
#6
+1 for the concise write-up.

 Smiley
newbie
Activity: 7
Merit: 0
May 17, 2013, 05:35:22 PM
#5
Hi MrEHQE,

as seen in this message:

gcc: error trying to exec 'cc1plus': execvp: File o directory non esistente

You are lacking cc1plus - the most likely cause is that g++ (the GNU C++ compiler) is not installed.
Do as the root user:

apt-get install g++

And try again.
If it still does not work, give the output of the following four commands to help understand where your issue is coming from:

gcc --version
g++ --version
ls -al /usr/lib/gcc
ls -al /usr/lib/gcc/x86_64-linux-gnu

what's wrong? you can give me a binary?

I could but first, it may not work on your system (not the same standard libraries and so forth) and second, you should not trust binaries exchanged through a forum in this way Wink it could be made to run anything (like steal part of the shares you are computing). Try the above commands !
full member
Activity: 188
Merit: 100
https://www.larvalabs.com/cryptopunks/details/9724
May 17, 2013, 12:09:56 PM
#4
Hi, great guide, but on debian wheezy x64 nvidia driver 304.88 when i try $ make i get this:

mrehqe@debian:~/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30$ make
make  all-recursive
make[1]: Entering directory `/home/mrehqe/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30'
Making all in compat
make[2]: Entering directory `/home/mrehqe/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30/compat'
make[3]: Entering directory `/home/mrehqe/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30/compat'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/mrehqe/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30/compat'
make[2]: Leaving directory `/home/mrehqe/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30/compat'
make[2]: Entering directory `/home/mrehqe/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30'
g++ -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  -msse2  -fopenmp   -g -O2 -MT cudaminer-cuda-miner.o -MD -MP -MF .deps/cudaminer-cuda-miner.Tpo -c -o cudaminer-cuda-miner.o `test -f 'cuda-miner.cpp' || echo './'`cuda-miner.cpp
cuda-miner.cpp:11:0: warning: "_GNU_SOURCE" redefined [enabled by default]
:0:0: note: this is the location of the previous definition
cuda-miner.cpp: In function 'void parse_config()':
cuda-miner.cpp:1071:32: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings]
mv -f .deps/cudaminer-cuda-miner.Tpo .deps/cudaminer-cuda-miner.Po
g++ -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  -msse2  -fopenmp   -g -O2 -MT cudaminer-util.o -MD -MP -MF .deps/cudaminer-util.Tpo -c -o cudaminer-util.o `test -f 'util.cpp' || echo './'`util.cpp
util.cpp:10:0: warning: "_GNU_SOURCE" redefined [enabled by default]
:0:0: note: this is the location of the previous definition
mv -f .deps/cudaminer-util.Tpo .deps/cudaminer-util.Po
g++ -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  -msse2  -fopenmp   -g -O2 -MT cudaminer-sha2.o -MD -MP -MF .deps/cudaminer-sha2.Tpo -c -o cudaminer-sha2.o `test -f 'sha2.cpp' || echo './'`sha2.cpp
mv -f .deps/cudaminer-sha2.Tpo .deps/cudaminer-sha2.Po
g++ -DHAVE_CONFIG_H -I. -pthread -fno-strict-aliasing  -msse2  -fopenmp   -g -O2 -MT cudaminer-scrypt.o -MD -MP -MF .deps/cudaminer-scrypt.Tpo -c -o cudaminer-scrypt.o `test -f 'scrypt.cpp' || echo './'`scrypt.cpp
mv -f .deps/cudaminer-scrypt.Tpo .deps/cudaminer-scrypt.Po
nvcc -g -O2 -arch=compute_10 --maxrregcount=124 --ptxas-options=-v  -o salsa_kernel.o -c salsa_kernel.cu
gcc: error trying to exec 'cc1plus': execvp: File o directory non esistente
make[2]: *** [salsa_kernel.o] Error 1
make[2]: Leaving directory `/home/mrehqe/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/mrehqe/tmp/litecoin/cudaminer-2013-04-30/cudaminer-src-2013.04.30'
make: *** [all] Error 2

what's wrong? you can give me a binary?


newbie
Activity: 4
Merit: 0
May 12, 2013, 04:09:58 PM
#3
good job, I will try it
Pages:
Jump to: