[QE-users] qe-6.8 with CUDA compiling unsuccessfully

inagaki ctec ctec.inagaki at gmail.com
Thu Sep 23 04:27:19 CEST 2021


Dear experts.

I am trying to compile qe-6.8 with CUDA.
But stacked at make which said to me,

~~~
checking whether we are cross compiling... configure: error: in
`/home/jun/codes/qe-6.8/external/devxlib':
configure: error: cannot run Fortran compiled programs.
~~~

Information:

When echo,
$ echo $LD_LIBRARY_PATH
/opt/nvidia/hpc_sdk/Linux_x86_64/21.9/comm_libs/mpi/lib/:/opt/nvidia/hpc_sdk/Linux_x86_64/2021/compilers/lib/:/opt/nvidia/hpc_sdk/Linux_x86_64/21.9/REDIST/compilers/lib/:

configuration is:
F77=pgf77 F90=pgf90 MPIF90=pgf90 ./configure
--prefix=/home/jun/codes/qe-6.8 --with-cuda=yes --with-cuda-runtime=11.4
--with-cuda-cc=70 --disable-parallel

and resulted in:
--------------------------------------------------------------------
ESPRESSO can take advantage of several optimized numerical libraries
(essl, fftw, mkl...).  This configure script attempts to find them,
but may fail if they have been installed in non-standard locations.
If a required library is not found, the local copy will be compiled.

The following libraries have been found:
  BLAS_LIBS=-lblas
  LAPACK_LIBS=-L/opt/nvidia/hpc_sdk/Linux_x86_64/21.9/REDIST/compilers/lib/
-llapack -lblas
  FFT_LIBS= -lfftw3



Please check if this is what you expect.

If any libraries are missing, you may specify a list of directories
to search and retry, as follows:
  ./configure LIBDIRS="list of directories, separated by spaces"

Configured for compilation of serial executables.

For more info, read the ESPRESSO User's Guide (Doc/users-guide.tex).
--------------------------------------------------------------------
configure: success

Over.
Thank you.
-- 
Best Regards,
Jun Inagaki(稻垣 淳)
Mobile: (886)918002860
Department of Physics, Tamkang University, Taiwan.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.quantum-espresso.org/pipermail/users/attachments/20210923/c0c45a73/attachment.html>


More information about the users mailing list