I'm trying to parallel compile Yambo 5.2.4 on a cluster with Intel OneApi 2023.2.0 and Intel MPI 2021.10.0.
The architecture is x86_64 GNU/Linux.
This is the configuration script used:
Code: Select all
#!/bin/bash
LIBXC_ROOT="/apps/GPP/LIBXC/6.2.0/INTEL"
YAMBO_LIBS_ROOT="${HOME}/sandbox/yambo-libs"
PREFIX="/gpfs/projects/uv105/apps/YAMBO/5.2.4-SINGLE/INTEL2023.2/IOMPI2021.10"
./configure \
--prefix="${PREFIX}" \
--enable-msgs-comps \
--enable-time-profile \
--enable-mpi \
--enable-open-mp \
--enable-iotk \
--without-editor \
--enable-memory-profile \
--enable-keep-src \
--enable-slepc-linalg \
--enable-hdf5-par-io \
--with-mpi-path="${MPI_ROOT}" \
--with-netcdf-path="${NETCDF_ROOT}" \
--with-netcdff-path="${NETCDF_ROOT}" \
--with-hdf5-path=${HDF5_ROOT} \
--with-fft-includedir="${MKLROOT}/include/fftw" \
--with-fft-libs="-L${MKLROOT}/lib/intel64 -lmkl_cdft_core -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core -lmkl_blacs_intelmpi_lp64 -liomp5 -lpthread -lm -ldl" \
--with-blas-libs="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -lmkl_blacs_intelmpi_lp64 -liomp5 -lpthread -lm -ldl" \
--with-lapack-libs="-L${MKLROOT}/lib/intel64 -lmkl_intel_lp64 -lmkl_core -lmkl_intel_thread -lmkl_blacs_intelmpi_lp64 -liomp5 -lpthread -lm -ldl" \
--with-blacs-libs=mkl \
--with-scalapack-libs=mkl \
--with-petsc-path="${PETSC_DIR}" \
--with-slepc-path="${SLEPC_DIR}" \
--with-libxc-path="${LIBXC_ROOT}" \
--with-extlibs-path="${YAMBO_LIBS_ROOT}"
Attached please find the config and compilation logs.
Looking at the compilation log errors, which are syntax errors, I get the impression that the compiler is the issue.
How to know which Fortran compiler is being effectively used?
If configuration went fine, MPI Intel compilers should be used, but on the logs it looks like ifx may be causing the syntax errors.
Since the loaded Intel modules set some compiler environment variables (CC, FC, etc.), maybe they are overriding those used set during the configuration phase, but I'm not sure...
Note that the cluster policy does not allow for external downloads to the login nodes, so I had to manually copy both Ydriver-1.4.2.tar.gz and iotk-y1.2.2.tar.gz into the ./lib/archive directory.
Any help will be welcome!
Thanks.
José