compling error of 5.2.4 version

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? Problems in GPU architectures? This is the place to look.

Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan, Nicola Spallanzani

Forum rules
If you have trouble compiling Yambo, please make sure to list:
(1) the compiler (vendor and release: e.g. intel 10.1)
(2) the architecture (e.g. 64-bit IBM SP5)
(3) if the problems occur compiling in serial/in parallel
(4) the version of Yambo (revision number/major release version)
(5) the relevant compiler error message
Post Reply
sdwang
Posts: 299
Joined: Fri Apr 09, 2010 12:30 pm

compling error of 5.2.4 version

Post by sdwang » Wed Oct 16, 2024 3:32 am

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
S. D. Wang
IMU,HOHHOT,CHINA
E-mail: sdwang@imu.edu.cn

Post Reply