Comments (5)
You should have the Cuda 5.0 Toolkit in /usr/local/cuda (or softlinked under that name).
Von meinem iPhone gesendet
Am 03.11.2013 um 11:26 schrieb Alessio Garofalo [email protected]:
Get this during the make step:
titan_kernel.h(6): error: not a class or struct name
spinlock_kernel.h(6): error: not a class or struct name
fermi_kernel.h(6): error: not a class or struct name
legacy_kernel.h(6): error: not a class or struct name
salsa_kernel.cu(43): error: identifier "KernelInterface" is undefined
salsa_kernel.cu(85): error: identifier "KernelInterface" is undefined
salsa_kernel.cu(93): error: identifier "KernelInterface" is undefined
salsa_kernel.cu(97): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(120): error: identifier "KernelInterface" is undefined
salsa_kernel.cu(120): error: identifier "kernel" is undefined
salsa_kernel.cu(122): error: identifier "WU_PER_LAUNCH" is undefined
salsa_kernel.cu(126): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(160): error: identifier "WU_PER_LAUNCH" is undefined
salsa_kernel.cu(217): error: identifier "KernelInterface" is undefined
salsa_kernel.cu(268): error: identifier "SCRATCH" is undefined
salsa_kernel.cu(268): error: identifier "WU_PER_WARP" is undefined
salsa_kernel.cu(270): error: expression must have pointer-to-class type
salsa_kernel.cu(283): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(294): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(307): error: expression must have pointer-to-class type
salsa_kernel.cu(308): error: expression must have pointer-to-class type
salsa_kernel.cu(310): error: expression must have pointer-to-class type
salsa_kernel.cu(315): error: expression must have pointer-to-class type
salsa_kernel.cu(316): error: expression must have pointer-to-class type
salsa_kernel.cu(318): error: expression must have pointer-to-class type
salsa_kernel.cu(334): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(349): error: expression must have pointer-to-class type
salsa_kernel.cu(368): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(392): error: expression must have pointer-to-class type
salsa_kernel.cu(398): error: identifier "WU_PER_LAUNCH" is undefined
salsa_kernel.cu(398): error: identifier "WU_PER_BLOCK" is undefined
salsa_kernel.cu(410): error: expression must have pointer-to-class type
salsa_kernel.cu(438): error: expression must have pointer-to-class type
salsa_kernel.cu(446): error: expression must have pointer-to-class type
salsa_kernel.cu(449): error: expression must have pointer-to-class type
salsa_kernel.cu(451): error: expression must have pointer-to-class type
salsa_kernel.cu(467): error: expression must have pointer-to-class type
salsa_kernel.cu(560): error: expression must have pointer-to-class type
salsa_kernel.cu(568): error: expression must have pointer-to-class type
salsa_kernel.cu(570): error: expression must have pointer-to-class type
salsa_kernel.cu(571): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(581): error: expression must have pointer-to-class type
salsa_kernel.cu(582): error: expression must have pointer-to-class type
salsa_kernel.cu(584): error: expression must have pointer-to-class type
salsa_kernel.cu(589): error: expression must have pointer-to-class type
salsa_kernel.cu(590): error: expression must have pointer-to-class type
salsa_kernel.cu(592): error: expression must have pointer-to-class type
salsa_kernel.cu(596): error: expression must have pointer-to-class type
salsa_kernel.cu(605): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(629): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(642): error: identifier "WU_PER_LAUNCH" is undefined
salsa_kernel.cu(645): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(658): error: identifier "WU_PER_LAUNCH" is undefined
salsa_kernel.cu(658): error: identifier "WU_PER_BLOCK" is undefined
salsa_kernel.cu(664): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(675): error: expression must have pointer-to-class type
salsa_kernel.cu(678): error: identifier "checkCudaErrors" is undefined
salsa_kernel.cu(688): error: identifier "WU_PER_LAUNCH" is undefined
salsa_kernel.cu(691): error: identifier "checkCudaErrors" is undefined
β
Reply to this email directly or view it on GitHub.
from cudaminer.
I'm getting the same error. I have cuda 5.5 toolkit in /usr/local/cuda
Is 5.0 strictly required or is 5.5 compatible as well?
In my .bashrc I have
PATH=$PATH:/usr/local/cuda-5.5/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda-5.5/lib64:/lib
I've also tried
PATH=$PATH:/usr/local/cuda/bin
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/cuda/lib64:/lib
I still get the same error.
from cudaminer.
Same error here.
/usr/local/cuda is a symlink ti /usr/local/cuda-5.5
Ubuntu 12.04
from cudaminer.
Same here running Ubuntu 12.04
from cudaminer.
Hi,
I got it working by doing:
export LD_LIBRARY_PATH="/usr/local/cuda-5.5/lib64"
export PATH="/usr/local/cuda-5.5/bin:$PATH"
Regards
from cudaminer.
Related Issues (20)
- Quirks, Could Become Advantageous.
- .
- Cant compile with compute_10 HOT 5
- unsupported GNU version! gcc 4.9 and up are not supported! HOT 2
- FTBFS: nonrepresentable section on final link output. HOT 2
- cudaerror 30 HOT 4
- nvcc fatal : Value 'compute_10' is not defined for option 'gpu-architecture' HOT 1
- cudaError 78 HOT 6
- cudaError 13 & not validate on CPU for compute capability 5.0
- Error compiling Cudaminer HOT 5
- CudaError 30 HOT 2
- ptxas error while compile BUT fix included! HOT 11
- Share is above target with ALGO = SCRYPT
- /usr/include/string.h:652:42: error: βmemcpyβ was not declared in this scope HOT 1
- cudaError 30
- Makefile:92: recipe for target 'obj/convolutional_kernels.o' failed
- New to this HOT 2
- cudaError 30
- error at configure, eror massage is "configure: error: OpenSSL library required" HOT 3
- ptxas error : Invalid value 'no' for option -abi. on CUDA 11 HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cudaminer.