[Pw_forum] QE-GPU: compilation error with Espresso 5.1

Mauro Sgroi maurofrancesco.sgroi at gmail.com
Thu Sep 4 16:37:03 CEST 2014


Dear Developers.
I'm trying to install the GPU version of Quantum Espresso 5.1.
I'm using RedHat EL 6.3 with the gcc 4.4.6 compiler and Cuda Toolkit 6.5.
My configure command is as follows:

configure FFT_LIBS='-L/usr/local/lib/ -lfftw3'
LAPACK_LIBS='-L/usr/local/lib -lopenblas' --disable-parallel
--enable-openmp --enable-cuda --with-gpu-arch=sm_30
--with-cuda-dir=/usr/local/cuda --with-magma --with-phigemm
BLAS_LIBS='-L/usr/local/lib -lopenblas'

and I get the following error:

make[1]: Entering directory `/usr/local/src/espresso-5.1_GPU/GPU/Modules'
( if test -x ../install/update_gpu_version ; then \
        ../install/update_gpu_version; \
        else if test ! -f ../include/gpu-version.h ; then \
        cat ../include/gpu-version.h.in > ../include/gpu-version.h ; fi ;
fi )
nvcc -ccbin=/usr/bin  -I../../include -I../include -D__GFORTRAN -D__STD_F95
-D__FFTW -D__OPENMP    -c cuda_init.cu
cuda_init.cu(361): error: identifier "ngpus_per_process" is undefined

cuda_init.cu(363): error: identifier "qe_gpu_bonded" is undefined

cuda_init.cu(376): error: identifier "qe_gpu_kernel_launch" is undefined

cuda_init.cu(376): error: identifier "update_gpu_kernel_specs" is undefined

cuda_init.cu(413): warning: variable "lRankThisNode" was declared but never
referenced

cuda_init.cu(413): warning: variable "lSizeThisNode" was declared but never
referenced

4 errors detected in the compilation of
"/tmp/tmpxft_00004217_00000000-6_cuda_init.cpp1.ii".
make[1]: *** [cuda_init.o] Error 2
make[1]: Leaving directory `/usr/local/src/espresso-5.1_GPU/GPU/Modules'
make: *** [gpu-mods] Error 2


Could you help me with this problem?
Thanks a lot in advance and best regards,
Mauro Sgroi.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20140904/0a2cddf3/attachment.html>


More information about the users mailing list