I am trying to install Yambo 5.3.0 (Git version) on HPC cluster, and I'm facing problems during the internal library (iotk) compilation step. Would you please help me to solve the problem? Here are the details(config.log also attached):
Compiler info:
Compiler: GCC 11.2.0 with OpenMPI 4.0.6
FC: mpif90
CC: mpicc
Architecture:
System: x86_64 architecture
OS: Linux (RedHat-based)
Serial or Parallel build?
Problem occurs both in serial and parallel builds (tried make -j8 and make)
Yambo version
Yambo 5.3.0 (from Git, branch: master)
This is my job file:
Code: Select all
#!/bin/bash
#SBATCH --nodes=1 # Total # of nodes
#SBATCH --ntasks=14 # Total # of MPI tasks
#SBATCH --time=4-00:00:00 # Total run time limit (hh:mm:ss)
#SBATCH -o yambo_install.out # Name of stdout output file
#SBATCH -e yambo_install.err # Name of stderr error file
#SBATCH -p shared # Queue (partition) name
# Set unlimited memory lock
ulimit -l unlimited
# Load required modules
module purge
module load gcc/11.2.0 openmpi/4.0.6 fftw/3.3.8 openblas/0.3.17 hdf5/1.10.7 netcdf-c/4.7.4 netcdf-fortran/4.5.3
# Set environment variables for Fortran precompiler
export FC=gfortran
export MPIFC=mpif90
export FCFLAGS="-cpp"
make clean
make distclean
./configure --enable-open-mp CC=mpicc FC=mpif90 F77=mpif90 FCFLAGS="-fopenmp" CFLAGS="-fopenmp" FPP="cpp -P"
# Check if configure succeeded
if [ $? -ne 0 ]; then
echo "Configure failed. Check yambo_install.err for details."
exit 1
fi
# Compile Yambo
make all
# Check if make succeeded
if [ $? -ne 0 ]; then
echo "Make failed. Check yambo_install.err for details."
exit 1
fi
Code: Select all
The following modules were not unloaded:
(Use "module --force purge" to unload all):
1) xalt/2.10.45
sed: -e expression #1, char 14: unknown option to `s'
cp: cannot stat 'iotk-y1.2.2/src/*.a': No such file or directory
chmod: cannot access '/anvil/projects/x-mch240098/software_installation/git_yambo/yambo-5.3.0-git/lib/external/unknown/mpif90/lib/*iotk*.a': No such file or directory
cp: cannot stat 'iotk-y1.2.2/src/*.x': No such file or directory
objects.mk:8: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.
grep: /anvil/projects/x-mch240098/software_installation/git_yambo/yambo-5.3.0-git/log/compile_qe_pseudo.log: No such file or directory
make[2]: *** [Makefile:58: int-libs] Error 1
make[1]: *** [config/mk/global/actions/compile_yambo.mk:40: yambo] Error 2
make: *** [Makefile:54: all] Error 1
Code: Select all
\t[iotk-y1.2.2] configuration
\t[iotk-y1.2.2] loclib_only compilation
\t[iotk-y1.2.2] iotk.x compilation
\t[iotk-y1.2.2] installation
\t[hdf5-1.12.2] configuration
\t[hdf5-1.12.2] compilation
\t[hdf5-1.12.2] installation
\t[netcdf-c-4.9.0] configuration
\t[netcdf-c-4.9.0] compilation
\t[netcdf-c-4.9.0] installation
\t[netcdf-fortran-4.6.0] configuration
\t[netcdf-fortran-4.6.0] compilation
\t[netcdf-fortran-4.6.0] installation
\t[libxc-5.2.3] download libxc-5.2.3.tar.gz
\t[libxc-5.2.3] autoconf
\t[libxc-5.2.3] configuration
\t[libxc-5.2.3] compilation
\t[libxc-5.2.3] installation
\t[lapack-3.12.0] configuration
\t[lapack-3.12.0] compilation
\t[lapack-3.12.0] installation
\t[fftw-3.3.10] download fftw-3.3.10.tar.gz
\t[fftw-3.3.10] configuration
\t[fftw-3.3.10] compilation
\t[fftw-3.3.10] 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
\t[lib/qe_pseudo] qe_pseudo (setup)
qe_pseudo build failed
yambo build failed
Make failed. Check yambo_install.err for details.
Md Jahid Hasan
PhD student, Mechanical Engineering
University of Maine