Lumen 2.0.1

Post Reply
sdwang
Posts: 10
Joined: Mon Jan 05, 2026 7:45 am

Lumen 2.0.1

Post by sdwang »

Dear developers,
I am trying to install the version 2.0.1 but find errors as:

Code: Select all

make[1]: *** [mod_pars.o] error 1
mod_pars.f90(10): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [NETCDF]
\t[driver] yambo (setup)
yambo linking failed. Check log/compile_yambo.log
mod_pars.f90(10): error #7002: Error in opening the compiled module file.  Check INCLUDE paths.   [NETCDF]
make: *** [yambo] error 1
Attached is the config.log and the same options for bug-fix version (also Yambo 5.4) is OK. What is wrong with my configurations?
Thanks

Shudong
Attachments
config.zip
(21.27 KiB) Downloaded 131 times
Inner Mongolia University, Hohhot, China
Davide
Posts: 11
Joined: Mon Dec 29, 2025 8:50 am

Re: Lumen 2.0.1

Post by Davide »

Dear Shudong,
please attach the files:

Code: Select all

log/compile_yambo.log
config/report
Best,
D.
Davide Sangalli, PhD
Piazza Leonardo Da Vinci, 32, 20133 – Milano
CNR, Istituto di Struttura della Materia (ISM)
https://sites.google.com/view/davidesangalli
sdwang
Posts: 10
Joined: Mon Jan 05, 2026 7:45 am

Re: Lumen 2.0.1

Post by sdwang »

Dear Davide,
Here attached the two files.
Thanks!

Best

Shudong
Attachments
compile_yambo.zip
(2.81 KiB) Downloaded 104 times
Inner Mongolia University, Hohhot, China
Davide
Posts: 11
Joined: Mon Dec 29, 2025 8:50 am

Re: Lumen 2.0.1

Post by Davide »

From the config.log the error is due to a previous failure of the compilation of the internal netcdf/netcdff library.

If you are on a cluster, always better to link the libraries provided from the cluster.

In case that does not work, please use the following option with the configure

Code: Select all

--with-extlibs-path=/home/customer/code2/lumen-libs
The code will install the external libraries in the above specified folder, and in subsequent compilations use them.

The option can be used with any version of yambo/lumen.

Best,
D.
Davide Sangalli, PhD
Piazza Leonardo Da Vinci, 32, 20133 – Milano
CNR, Istituto di Struttura della Materia (ISM)
https://sites.google.com/view/davidesangalli
Post Reply