Fail to compile phys-excitons branch of lumen fork

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
shelly
Posts: 1
Joined: Mon Jul 14, 2025 5:17 pm
Location: Michigan

Fail to compile phys-excitons branch of lumen fork

Post by shelly » Tue Jul 15, 2025 3:40 pm

Hello,

I've been trying to compile the phys-excitons branch of the lumen fork of yambo for a user who is interested in implementing the ARPES as BSE post processing described in the following tutorial https://wiki.yambo-code.eu/wiki/index.p ... lved_ARPES, but I have not had much success. I see that there are regular updates to this branch and it is clearly still under development. First, I would like to ask if there is a commit ID that you would recommend as a known, working snapshot of this branch. Beyond that, I can provide some details of my efforts and the errors that I've encountered below:

When trying to compile using gcc/13.3.0, openmpi/4.1.6 and mkl/2024.2, "make all" ends with:

Code: Select all

\t[driver] yambo_ph (link)
yambo_ph linking failed. Check log/compile_yambo_ph.log
make[1]: *** [config/mk/global/actions/compile_yambo.mk:43: yambo_ph] Error 1
yambo_ph build failed
make: *** [Makefile:52: all] Error 1
And log/compile_yambo_ph.log ends with:

Code: Select all

/usr/bin/ld: /tmp/mjohns89/build-gcc/lumen/lib/lib_Y_exc-ph.a(EXCPH_gkkp_driver.o): in function `excph_gkkp_driver_':
/tmp/mjohns89/build-gcc/lumen/src/exc-ph/EXCPH_gkkp_driver.f90:197: undefined reference to `build_inverse_bs_eh_table_'
collect2: error: ld returned 1 exit status
My config options for above were:

Code: Select all

MPIFC=mpif90 FC=gfortran F77=gfortran --enable-mpi --enable-open-mp --enable-par-linalg --enable-hdf5-par-io  --with-scalapack-libs=mkl --with-blacs-libs=mkl
I would prefer to compile with gcc and openapi, since that is what I used successfully to compile yambo 5.3 for the user previously. However, after failing to install with gcc, I also attempted to compile this branch with Intel oneAPI (2022.1.2) and failed as well. For completeness, the error was:

Code: Select all

\t[driver] yambo_ph (link)
yambo_ph linking failed. Check log/compile_yambo_ph.log
make[1]: *** [config/mk/global/actions/compile_yambo.mk:43: yambo_ph] Error 1
yambo_ph build failed
make: *** [Makefile:52: all] Error 1
and log/compile_yambo_ph.log stated:

Code: Select all

ld: /tmp/mjohns89/build/lumen/lib/lib_Y_exc-ph.a(EXCPH_gkkp_driver.o): in function `excph_gkkp_driver_':
/tmp/mjohns89/build/lumen/src/exc-ph/EXCPH_gkkp_driver.f90:208: undefined reference to `build_inverse_bs_eh_table_'
So, either way, there seems to be a problem with linking during building of yambo_ph. Am I missing something?

Best,
Shelly
Senior Research Computing Facilitator
Systems Architecture & Administration | ETS
University of Vermont

Post Reply