-
Notifications
You must be signed in to change notification settings - Fork 304
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
ptxas error while compile BUT fix included! #163
Comments
@LouisCyfer: I have tried your changes but getting error: Can you please share your Makefile.am? |
I figured exchanging all here's the Makefile.am:
|
@LouisCyfer: Thank you very much for sharing. With your Makefile.am I am getting the original issue:
I also have cuda version 9.1. My card is GeForce GT 750M. I have got my card working with changes here: I wonder, would removing all:
work for you? It somehow works for me. |
if you remove these two params cuda might not know what exact routine to support, have a look on the -arch parameter description:
note:
You might wanna try replacing all Removing these parameters might just not give the miner engine less specific workspace or rather said, the taxi driver doesn't know about the fuel or electricity in a car before driving, means cuda might just not know what to do with it if compiled, and you might have issues with it if the miner tries to access the libs. I might forgot to mention that I'm running 64bit but it should work on 32bit too. |
Unfortunately when I use -arch=sm_50 I am still getting the original issue:
You do not need to remove at least this part?
I do not have build.sh but hope it is similar to the three commands above. |
I edited my previous post because Idid mistake it with another miner, the command line is like you commented. well you might also try a fresh git clone which will grab the most recent/latest release (is how I made it), no zip download. probably there is some other option, did you also tried 30 or 32 instead of 50? |
Yes, I have tried. It seems I cannot use -arch option:
Anyway, I have got it working by removing -arch and -abi options. |
|
Ok, finally got it working with -arch option:
@LouisCyfer: Thank you very much for your help, I really apreciate it. |
YAY! very welcome! |
I looked almost everywhere, and in the CUDA documentation there is no detail abut the -abi flag. I am compiling a CUDA app in Linux. I installed all the required deppendencies, toolkits and libraries required. However, I cannot get rid of that error. I followed @roman3017 suggestion of reomving "-abi=no -v" and just setting "-v" into the instructions:
would do the trick. However I get this big set of errors:
What shall I do? |
Hiyas!
using Ubuntu 16.04, cuda 9.1, nVidia GTX 750ti
I'm getting this errors while compiling:
I'm getting curious (for cuda 9.1 there is no "-abi" option listed in the official documentation)
Nevertheless, I did change all
compute_10
tocompute_50
also exchanged ALLsm_*
withsm_50
inmakefile.am
BOOM! it compiled!
then when I run
./cudaminer --no-autotune --benchmark
it thows this errors:note:
./cudaminer -H 0 --no-autotune --benchmark
gives meis this appropiate?
The text was updated successfully, but these errors were encountered: