Page 1 of 1

compling error of 5.2.4 version

Posted: Wed Oct 16, 2024 3:32 am
by sdwang
Dear all,
I have a problem when trying to compile the 5.2.4 version and the error is:
...
mpiicc -O2 -std=gnu99 -D_C_US -D_FORTRAN_US -D_HDF5_LIB -D_HDF5_IO -D_PAR_IO -D_MPI -D_FFTW -D_FFTW_OMP -D_SCALAPACK -D_OPENMP -D_TIMING -D_MEM_CHECK -D_linux -I/home/hipeson/codes/yambo-5.2.4-sp-omp/include -I/home/hipeson/codes/yambo-5.2.4-sp-omp/include/headers/common -I/home/hipeson/codes/yambo-5.2.4-sp-omp/include/headers/parser -I/home/hipeson/codes/yambo-5.2.4-sp-omp/lib/yambo/Ydriver/include -I/home/hipeson/codes/yambo-5.2.4-sp-omp/include/driver -I/home/hipeson/codes/yambo-5.2.4-sp-omp/include/version -c /home/hipeson/codes/yambo-5.2.4-sp-omp/src/driver/options_control.c
/home/hipeson/codes/yambo-5.2.4-sp-omp/src/driver/options_control.c(11): catastrophic error: cannot open source file "kind.h"
#include <kind.h>
^

compilation aborted for /home/hipeson/codes/yambo-5.2.4-sp-omp/src/driver/options_control.c (code 4)
The configure step is:
./configure FC=mpiifort F77=mpiifort --enable-memory-profile --enable-iotk '--with-blas-libs=-lmkl_intel_lp64 -lmkl_sequential -lmkl_core' '--with-lapack-libs=-lmkl_intel_lp64 -lmkl_sequential -lmkl_core' --with-blacs-libs=-lmkl_blacs_intelmpi_lp64 --with-scalapack-libs=-lmkl_scalapack_lp64 --with-fft-libs=-mkl --enable-par-linalg CC=mpiicc --enable-open-mp

, and the same options are OK for version 5.2.3 and previous.

Thanks!

SD