Page 1 of 1

Lumen 2.0.1

Posted: Sat Mar 07, 2026 5:43 am
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

Re: Lumen 2.0.1

Posted: Sun Mar 08, 2026 8:51 pm
by Davide
Dear Shudong,
please attach the files:

Code: Select all

log/compile_yambo.log
config/report
Best,
D.

Re: Lumen 2.0.1

Posted: Mon Mar 09, 2026 2:14 am
by sdwang
Dear Davide,
Here attached the two files.
Thanks!

Best

Shudong

Re: Lumen 2.0.1

Posted: Mon Mar 09, 2026 8:41 am
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.