Try to compile an OpenMP cp2k version with CUDA support results in invalid option error
Sebastian Müller
mseb... at gmail.com
Sun Jun 29 10:05:31 UTC 2014
Hello,
I tried to compile a cp2k version with CUDA 6.0 and get the following
output on stderr running the make command:
lexer.l:143: warning, Regel kann nicht passen
> /home/Sebastian/programme/cp2k/cp2k-2.5.1_cuda/makefiles/../src/tmc_tree_types.F:12:34:
> warning: backslash and newline separated by space [enabled by default]
> /home/Sebastian/programme/cp2k/cp2k-2.5.1_cuda/makefiles/../src/tmc_tree_types.F:14:36:
> warning: backslash and newline separated by space [enabled by default]
> ar: creating
> /home/Sebastian/programme/cp2k/cp2k-2.5.1_cuda/makefiles/../lib/Linux-x86-64-gfortran-lukas/ssmp/libcp2k_lib.a
> ar: creating
> /home/Sebastian/programme/cp2k/cp2k-2.5.1_cuda/makefiles/../lib/Linux-x86-64-gfortran-lukas/ssmp/libcp2k_dbcsr_lib.a
> ar: creating
> /home/Sebastian/programme/cp2k/cp2k-2.5.1_cuda/makefiles/../lib/Linux-x86-64-gfortran-lukas/ssmp/libcp2k_fft_lib.a
> ar: creating
> /home/Sebastian/programme/cp2k/cp2k-2.5.1_cuda/makefiles/../lib/Linux-x86-64-gfortran-lukas/ssmp/libcp2k_base_lib.a
> ar: creating
> /home/Sebastian/programme/cp2k/cp2k-2.5.1_cuda/makefiles/../lib/Linux-x86-64-gfortran-lukas/ssmp/libcp2k_ma_lib.a
> Command-line error: invalid option: --allow_managed
>
> 1 catastrophic error detected in this compilation.
> Compilation terminated.
> make[1]: *** [cuda_nvtx_cu.o] Fehler 4
> make: *** [build] Fehler 2
>
>
It seems like this --allow_managed option results in the error, but the
last command on stdout was
nvcc -c -O2 -arch=sm_30 -I/usr/local/cuda/lib64/../include
> -L/usr/local/cuda/lib64 --dont-use-profile -ldir
> /usr/local/cuda/nvvm/libdevice
> /home/Sebastian/programme/cp2k/cp2k-2.5.1_cuda/makefiles/../src/cuda/cuda_nvtx_cu.cu
>
and there is no option like this. Without the CUDA support I was able to
build the program without errors and it is working fine.
I attached the full output at stderr and stdout of the make command and the
corresponding arch file.
Could anyone tell me what I am doning wrong.
Best regards
Sebastian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20140629/fb9a917e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Linux-x86-64-gfortran-lukas.ssmp
Type: application/octet-stream
Size: 1919 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20140629/fb9a917e/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makelog.err
Type: application/octet-stream
Size: 1196 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20140629/fb9a917e/attachment-0001.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: makelog.out
Type: application/octet-stream
Size: 734153 bytes
Desc: not available
URL: <https://lists.cp2k.org/archives/cp2k-user/attachments/20140629/fb9a917e/attachment-0002.obj>
More information about the CP2K-user
mailing list