Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

write nvidia make settings in readme #47

Closed
montvid opened this issue Nov 8, 2016 · 4 comments
Closed

write nvidia make settings in readme #47

montvid opened this issue Nov 8, 2016 · 4 comments

Comments

@montvid
Copy link

montvid commented Nov 8, 2016

To compile your miner on cuda 8.0 I need to write the path and only then it compiles:

make OPENCL_HEADERS=/usr/local/cuda-8.0/targets/x86_64-linux/include/ LIBOPENCL=/usr/local/cuda-8.0/targets/x86_64-linux/lib

@Kubuxu
Copy link

Kubuxu commented Nov 10, 2016

That will be very system specific.

@Singman33
Copy link

System specific but usefull if you have many devices that could do OpenCL compute. I have a rig with AMD and NVidia cards, I should specify headers & libs paths when doing a make, and set the LD_LIBRARY_PATH to the correct libs before running the executable.

If you have only AMD or NVida, then it's a misconfiguration when you installed the driver and SDK, or a missing symlink somewhere.

@Kubuxu
Copy link

Kubuxu commented Nov 10, 2016

Check out ocl-icd, it is library that loads correct driver for each card.

@mbevand
Copy link
Owner

mbevand commented Nov 10, 2016

Well I might as well use real-world paths in my example. Done: ddb3ec7

@mbevand mbevand closed this as completed Nov 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants