Page 1 of 1

Installation error of yambo 5.1.1 version

Posted: Wed Feb 22, 2023 1:21 am
by lamia
Dear Yambo developers,

I've tried to install the latest version of Yambo 5.1.1. After using " ./ configure", I've done "make all" and obtained the following errors:

Code: Select all

"/home/pc/yambo-5.1.1/config/mk/local/rules.mk:9: recipe for target 'mod_pars.o' failed
make[2]: *** [mod_pars.o] Error 1
Fatal Error: Can't open module file ‘netcdf.mod’ for reading at (1): No such file or directory
	[driver] yambo (checking work to be done)
yambo linking failed. Check log/compile_yambo.log
Fatal Error: Can't open module file ‘netcdf.mod’ for reading at (1): No such file or directory
config/mk/global/actions/compile_yambo.mk:32: recipe for target 'yambo' failed
make[1]: *** [yambo] Error 1
yambo build failed"
Note: I use gfortran


Best,
Lamia

Re: Installation error of yambo 5.1.1 version

Posted: Wed Feb 22, 2023 9:30 am
by Nicola Spallanzani
Dear Lamia,
could you send us all the content of the log directory and the file config/report?

Best,
Nicola

Re: Installation error of yambo 5.1.1 version

Posted: Wed Feb 22, 2023 2:13 pm
by lamia
Dear Nicola,

Thank you for your answer. You'll find the required files in the attachment.

Best,
Lamia

Re: Installation error of yambo 5.1.1 version

Posted: Wed Feb 22, 2023 5:17 pm
by Davide Sangalli
Most likely the compilation of the automatically downloaded netcdf library failed.

Best,
D.

Re: Installation error of yambo 5.1.1 version

Posted: Thu Feb 23, 2023 9:31 am
by Nicola Spallanzani
Dear Lamia,
Davide is right, the problem is that the netcdf-c configuration fails due to this error:

Code: Select all

configure: error: Can't find or link to the z library. Turn off netCDF-4 and      DAP clients with --disable-netcdf-4 --disable-dap, or see config.log for errors.
so you have to find the way to install the zlib in your workstation.

After that I suggest to you to clean up the netcdf-c and netcdf-fortran internal directories:

Code: Select all

make clean netcdf
make clean netcdff
and then you can resume the "make all".

Best,
Nicola