-
Notifications
You must be signed in to change notification settings - Fork 14
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
Not able to execute make from root user #37
Comments
For some reason compiler is empty "". Check that PATH contains location of cuda compiler(nvcc) and check cuda installation in general. |
Hello sh1ng On Ubuntu 16.04 with python 3.6, makefile $ make /usr/lib/gcc/x86_64-linux-gnu/5/include/mwaitxintrin.h(42): error: identifier "__builtin_ia32_mwaitx" is undefined Front end time 1.40 (CPU) 1.00 (elapsed) $ nvcc --version |
related probably |
@janismdhanbad I had the same issue, cuda and was installed and worked fine with tensorflow, but in some way, there was no path to nvcc. So I just added
to .bashrc and it worked. |
Hello @sh1ng , Thanks a lot, after reinstalling the cuda and following what @kotestyle said, it worked!! |
@EricPerbos in your case, add '-D_MWAITXINTRIN_H_INCLUDED -D_FORCE_INLINES -D__STRICT_ANSI__' at the end of your CFLAGG statement so it looks like
In my installation (Ubuntu 16.04, Cuda 7.5), I also come across this issue, just follow the link for the solution there to change the file json.hpp |
maybe a noob qustion. i have gtx1070, what sm value should i assign? then it works |
@lishubin , I have the same card, you can use the default value of 610, it works for me. |
@janismdhanbad |
Oh, you're welcome @lishubin |
someone from kaggle posted the same issue. the cub repo seems to have changed.. i cannot make this package to run. |
@lishubin are you still struggling to build it? perhaps you can share the error message. I managed to get to up and running, perhasp with too low SM value, my GPU is only using a fraction of its VRAM |
cub has been updated, probably irrelevant any more |
Hello, I am trying to install this from root user. I have added cub and json as submodules but still, I am not able to execute the make, it is showing the following exact error
Ubuntu 16.04 with python3
root@instance-2:/home/janpreetds/arboretum# make
"" -gencode=arch=compute_61,code="sm_61,compute_61" -c -DSM610 -Xptxas -v -Xcudafe -# -Xcompiler -ffloat-store -O3 -I_cub/ -I_json/src/ -std=c++11 -Xcompiler -fPIC -Xcompiler -O3 -Xcompiler -fopenmp -Xcompiler -Wall -Xcompiler -funroll-loops -Xcompiler -march=native -ccbin=g++ -o io.o src/io/io.cu
/bin/sh: 1: : Permission denied
makefile:31: recipe for target 'io.o' failed
make: *** [io.o] Error 127
Please help, thanks :)
The text was updated successfully, but these errors were encountered: