Page 1 of 1

ypp and yambo build failure during yambo compilation

Posted: Sat May 21, 2022 3:04 pm
by Jingjing Yu
Dear developers,

I am a new beginner to learn how to use yambo to do the calculation.
I met one problem in the compilation process concerning the ypp and yambo linking failed.
The compiler error message is shown below:
yambo linking failed. Check logs/compile_yambo.log
make[1]: *** [config/mk/global/actions/compile_yambo.mk:41: yambo] Error 1
[ypp] Compilation Precision check"
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
make[4]: Nothing to be done for 'all'.
[lib/qe_pseudo] qe_pseudo (checking work to be done)
[lib/slatec] slatec (checking work to be done)
[lib/math77] math77 (checking work to be done)
[lib/local] local (checking work to be done)
[lib/yambo/driver/src/interface] interface (checking work to be done)
[lib/yambo/driver/src/main] main (checking work to be done)
[lib/yambo/driver/src/options] options (checking work to be done)
[src/driver] driver (checking work to be done)
[src/tools] tools (checking work to be done)
[src/modules] modules (checking work to be done)
[src/memory] memory (checking work to be done)
[src/matrices] matrices (checking work to be done)
[src/linear_algebra] linear_algebra (checking work to be done)
[src/parallel] parallel (checking work to be done)
[src/parser] parser (checking work to be done)
[src/communicate] communicate (checking work to be done)
[src/common] common (checking work to be done)
[src/timing] timing (checking work to be done)
[src/Yio] Yio (checking work to be done)
[src/io] io (checking work to be done)
[src/xc_functionals] xc_functionals (checking work to be done)
[src/interface] interface (checking work to be done)
[src/stop_and_restart] stop_and_restart (checking work to be done)
[src/wf_and_fft] wf_and_fft (checking work to be done)
[src/bz_ops] bz_ops (checking work to be done)
[src/coulomb] coulomb (checking work to be done)
[src/interpolate] interpolate (checking work to be done)
[src/qp_control] qp_control (checking work to be done)
[src/setup] setup (checking work to be done)
[src/interface] interface (checking work to be done)
[src/tddft] tddft (checking work to be done)
[src/dipoles] dipoles (checking work to be done)
[src/pol_function] pol_function (checking work to be done)
[src/el-ph] el-ph (checking work to be done)
[src/qp] qp (checking work to be done)
[src/bse] bse (checking work to be done)
[ypp/modules] modules (checking work to be done)
[ypp/interface] interface (checking work to be done)
[ypp/qp] qp (checking work to be done)
[ypp/plotting] plotting (checking work to be done)
[ypp/k-points] k-points (checking work to be done)
[ypp/symmetries] symmetries (checking work to be done)
[ypp/bits] bits (checking work to be done)
[ypp/electrons] electrons (checking work to be done)
[ypp/dipoles] dipoles (checking work to be done)
[ypp/excitons] excitons (checking work to be done)
[driver] ypp (checking work to be done)
[driver] ypp (link)
ypp linking failed. Check logs/compile_ypp.log
make[1]: *** [config/mk/global/actions/compile_ypp.mk:48: ypp] Error 1
ypp build failed "
The version of yambo I used is yambo-5.1.0. And the details of compilation is shown below:
" export CC=gcc
export FC=gfortran
export F77=gfortran

export MPICC=mpicc
export MPIFC=mpif90
export MPIF77=mpif77

export CFLAGS=-O3
export FCFLAGS=-O3
export FFLAGS=-O3

./configure \
--enable-memory-profile --disable-open-mp --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_openmpi_lp64" \
--with-scalapack-libs="-lmkl_scalapack_lp64" \
--with-fft-libs="-mkl" \
--with-iotk-path="$HOME/software/qe-7.0-ReleasePack/qe-7.0/S3DE/iotk" "

I don't know how to fix it. And I checked forum but I didn't find the solution. Could you please help me to check it?

Thank you very much!

Best regards,
Jingjing

Re: ypp and yambo build failure during yambo compilation

Posted: Mon May 23, 2022 7:47 am
by Daniele Varsano
Dear Jingjing,

can you please post the logs/compile_ypp.log file?

Best,
Daniele

Re: ypp and yambo build failure during yambo compilation

Posted: Mon May 23, 2022 2:06 pm
by Jingjing Yu
Dear Daniele,

Thank you for your reply. The logs file has been attached.

Best regards,
Jingjing

Re: ypp and yambo build failure during yambo compilation

Posted: Mon May 23, 2022 4:32 pm
by Daniele Varsano
Dear Jingjing,

it seems there are problem in finding the iotk libraries, I suggest you the following:

1) make clean_all (or distclean)
2) reconfigure the code removing from your script the line: --with-iotk-path="$HOME/software/qe-7.0-ReleasePack/qe-7.0/S3DE/iotk" " (note you have a double "), anyway I suggest to remove it completely
3) make core

Best,
Daniele

Re: ypp and yambo build failure during yambo compilation

Posted: Mon May 23, 2022 5:46 pm
by Jingjing Yu
Dear Daniele,

Really appreciate for your help! I tried your method and now the compilation is successful.

Thank you very much!

Best regards,
Jingjing