Fail to compile phys-excitons branch of lumen fork
Posted: 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:
And log/compile_yambo_ph.log ends with:
My config options for above were:
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:
and log/compile_yambo_ph.log stated:
So, either way, there seems to be a problem with linking during building of yambo_ph. Am I missing something?
Best,
Shelly
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
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
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
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
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_'
Best,
Shelly