Yambo 5.3 on LEONARDO
Posted: Tue Jun 03, 2025 3:45 pm
Dear Developers,
I'm trying to compile Yambo 5.3 on LEONARDO with GPU enabled (I wish to have a local version that I may modify beside the regular module).
I'm loading these modules
and running configure as
However, at make, I first notice this
and then finally the compilation exits with this error
The log I've attached indeed confirms that there are some problems with devxlib:
Can I ask for your kind help in trying to solve this issue? I'm not very familiar with the new configure and this new library.
Thank you very much!!
Best,
Michele
I'm trying to compile Yambo 5.3 on LEONARDO with GPU enabled (I wish to have a local version that I may modify beside the regular module).
I'm loading these modules
Code: Select all
module load nvhpc/23.11 openmpi/4.1.6--nvhpc--23.11 fftw/3.3.10--openmpi--4.1.6--nvhpc--23.11 parallel-netcdf/1.12.3--openmpi--4.1.6--nvhpc--23.11 netcdf-c/4.9.2--openmpi--4.1.6--nvhpc--23.11 netcdf-fortran/4.6.1--openmpi--4.1.6--nvhpc--23.11 netlib-scalapack/2.2.0--openmpi--4.1.6--nvhpc--23.11 petsc/3.20.1--openmpi--4.1.6--nvhpc--23.11-mumps
Code: Select all
./configure FC=nvfortran F77=nvfortran MPIFC=mpif90 MPIF77=mpif90 'CPP=cpp -E' 'FPP=nvfortran -Mpreprocess -E' CC=nvc --with-cuda-runtime=11.8 --with-cuda-cc=80 --enable-open-mp --enable-cuda-fortran --enable-par-linalg --enable-time-profile --enable-memory-profile --with-fft-path=$FFTW_HOME --with-scalapack-libs=$NETLIB_SCALAPACK_LIB/libscalapack.so --with-blacs-libs=$NETLIB_SCALAPACK_LIB/libscalapack.so --with-hdf5-path=$HDF5_HOME --with-netcdf-path=$NETCDF_C_HOME --with-netcdff-path=$NETCDF_FORTRAN_HOME --with-petsc-path=$PETSC_HOME
Code: Select all
...
\t[libxc-5.2.3] installation
\t[devicexlib-0.8.5] download devicexlib-0.8.5.tar.gz
\t[devicexlib-0.8.5] configuration
\t[devicexlib-0.8.5] all compilation
\t[devicexlib-0.8.5] installation
chmod: cannot access '/leonardo/pub/userexternal/mrefiore/yambo/lib/external/nvfortran/mpif90/cudaf/lib*/*devXlib*a': No such file or directory
\t[lib/qe_pseudo] qe_pseudo (setup)
\t[lib/qe_pseudo] kind
...
Code: Select all
make[1]: *** [/leonardo/pub/userexternal/mrefiore/yambo/config/mk/local/rules.mk:15: mod_gpu.o] Error 2
\t[driver] yambo (setup)
yambo linking failed. Check log/compile_yambo.log
make: *** [config/mk/global/actions/compile_yambo.mk:43: yambo] Error 1
Code: Select all
NVFORTRAN-F-0004-Unable to open MODULE file devxlib_environment.mod (mod_gpu.f90: 12)
NVFORTRAN/x86-64 Linux 23.11-0: compilation aborted
Thank you very much!!
Best,
Michele