<div dir="ltr">Dear Developers.<div>I'm trying to install the GPU version of Quantum Espresso 5.1.</div><div>I'm using RedHat EL 6.3 with the gcc 4.4.6 compiler and Cuda Toolkit 6.5.</div><div>My configure command is as follows:</div>
<div><br></div><div>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'<br>
</div><div><br></div><div>and I get the following error:</div><div><br></div><div><div>make[1]: Entering directory `/usr/local/src/espresso-5.1_GPU/GPU/Modules'</div><div>( if test -x ../install/update_gpu_version ; then \</div>
<div>        ../install/update_gpu_version; \</div><div>        else if test ! -f ../include/gpu-version.h ; then \</div><div>        cat ../include/<a href="http://gpu-version.h.in">gpu-version.h.in</a> > ../include/gpu-version.h ; fi ; fi )</div>
<div>nvcc -ccbin=/usr/bin  -I../../include -I../include -D__GFORTRAN -D__STD_F95 -D__FFTW -D__OPENMP    -c <a href="http://cuda_init.cu">cuda_init.cu</a></div><div><a href="http://cuda_init.cu">cuda_init.cu</a>(361): error: identifier "ngpus_per_process" is undefined</div>
<div><br></div><div><a href="http://cuda_init.cu">cuda_init.cu</a>(363): error: identifier "qe_gpu_bonded" is undefined</div><div><br></div><div><a href="http://cuda_init.cu">cuda_init.cu</a>(376): error: identifier "qe_gpu_kernel_launch" is undefined</div>
<div><br></div><div><a href="http://cuda_init.cu">cuda_init.cu</a>(376): error: identifier "update_gpu_kernel_specs" is undefined</div><div><br></div><div><a href="http://cuda_init.cu">cuda_init.cu</a>(413): warning: variable "lRankThisNode" was declared but never referenced</div>
<div><br></div><div><a href="http://cuda_init.cu">cuda_init.cu</a>(413): warning: variable "lSizeThisNode" was declared but never referenced</div><div><br></div><div>4 errors detected in the compilation of "/tmp/tmpxft_00004217_00000000-6_cuda_init.cpp1.ii".</div>
<div>make[1]: *** [cuda_init.o] Error 2</div><div>make[1]: Leaving directory `/usr/local/src/espresso-5.1_GPU/GPU/Modules'</div><div>make: *** [gpu-mods] Error 2</div></div><div><br></div><div><br></div><div>Could you help me with this problem?</div>
<div>Thanks a lot in advance and best regards,</div><div>Mauro Sgroi.</div></div>