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

Relion 2.1 installation error (during "make") #252

Closed
deggerthh opened this issue Jul 6, 2017 · 4 comments
Closed

Relion 2.1 installation error (during "make") #252

deggerthh opened this issue Jul 6, 2017 · 4 comments

Comments

@deggerthh
Copy link

I am trying to install relion 2.1 but the compilation aborts during “make” with an error (short version below, the complete console output of the error is attached):

[ 6%] Building NVCC (Device) object src/apps/CMakeFiles/relion_gpu_util.dir/__/gpu_utils/relion_gpu_util_generated_cuda_helper_functions.cu.o
[ 6%] Built target copy_scripts
/usr/include/string.h: In function ‘void* mempcpy_inline(void*, const void*, size_t)’:
...
Make Error at relion_gpu_util_generated_cuda_ml_optimiser.cu.o.cmake:266 (message):
Error generating file
/home/eggert/relion/build/src/apps/CMakeFiles/relion_gpu_util.dir/
/gpu_utils/./relion_gpu_util_generated_cuda_ml_optimiser.cu.o

src/apps/CMakeFiles/relion_gpu_util.dir/build.make:517: die Regel für Ziel „src/apps/CMakeFiles/relion_gpu_util.dir//gpu_utils/relion_gpu_util_generated_cuda_ml_optimiser.cu.o“ scheiterte
make[2]: *** [src/apps/CMakeFiles/relion_gpu_util.dir/
/gpu_utils/relion_gpu_util_generated_cuda_ml_optimiser.cu.o] Fehler 1
CMakeFiles/Makefile2:614: die Regel für Ziel „src/apps/CMakeFiles/relion_gpu_util.dir/all“ scheiterte
make[1]: *** [src/apps/CMakeFiles/relion_gpu_util.dir/all] Fehler 2
Makefile:138: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2

System information (cmake console output is attached):

Ubuntu 16.04 LTS
1x Geforce 1080 with CUDA 7.5

The installation of the 2.05 version via apt-get works perfectly.

make_error_relion21.txt
cmake_output.txt

@bforsbe
Copy link
Contributor

bforsbe commented Jul 6, 2017

I guess this is down to using a newer gcc-version than cuda supports. Even cuda 8 does not officially support gcc 5.4, and you are using cuda 7.5. it would probably work if you used gcc 4.8 or so. You can find in the cuda version-specific documentation which compilers are supported, as here for cuda 8, and here (p.6) for cuda 7.5.

@deggerthh
Copy link
Author

Thanks for the quick reply. Unfortunately using gcc 4.9 which CUDA 7.5 officially supports did not solve the problem. The error is still the same (see attached cmake output and error).
cmake2.txt
make_error_relion.txt

@bforsbe
Copy link
Contributor

bforsbe commented Jul 6, 2017

Seems like a system-dependent quirk: BVLC/caffe#4046

Advice: use cuda 8 ;)

@deggerthh
Copy link
Author

Using CUDA 8 solved the problem.

Thanks a lot for your help.

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

2 participants