Can't open module file ‘netcdf.mod’

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
User avatar
Daniele Varsano
Posts: 3773
Joined: Tue Mar 17, 2009 2:23 pm
Contact:

Re: Can't open module file ‘netcdf.mod’

Post by Daniele Varsano » Mon Apr 24, 2023 11:22 am

Dear Hosein,

yambo-code.org has been renamed this last month to yambo-code.eu

Next, the forum has rules to be followed:

1. Post your question in the suitable subforum, answer to a thread if you have a question related to that thread otherwise open a new thread.
2. Sign your post with your name and affiliation. You can do once for all by filling the signature in your user profile.

Best,
Daniele
Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu/

hosein
Posts: 6
Joined: Sat Apr 15, 2023 3:22 am

Re: Can't open module file ‘netcdf.mod’

Post by hosein » Wed Apr 26, 2023 7:12 pm

thank you
hosein hojjati
PhD student in condensed matter physics
Malayer State University
https://www.malayeru.ac.ir/portal/home/

hosein
Posts: 6
Joined: Sat Apr 15, 2023 3:22 am

Re: Can't open module file ‘netcdf.mod’

Post by hosein » Wed May 24, 2023 4:07 pm

when I reinstall yambo this massage appear:

Code: Select all

	[iotk-y1.2.2] download
	[iotk-y1.2.2] configuration
	[iotk-y1.2.2] loclib_only compilation
	[iotk-y1.2.2] iotk.x compilation
	[iotk-y1.2.2] installation
	[hdf5-1.12.0] download
	[hdf5-1.12.0] configuration
	[hdf5-1.12.0]  compilation
	[hdf5-1.12.0] installation
	[netcdf-c-4.7.4] download
	[netcdf-c-4.7.4] configuration
	[netcdf-c-4.7.4]  compilation
	[netcdf-c-4.7.4] installation
chmod: cannot access '/home/hosein/Downloads/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/lib*/*netcdf*a': No such file or directory
	[netcdf-fortran-4.5.3] download
	[netcdf-fortran-4.5.3] configuration
	[netcdf-fortran-4.5.3]  compilation
	[netcdf-fortran-4.5.3] installation
chmod: cannot access '/home/hosein/Downloads/yambo-5.1.1/lib/external/gfortran/gfortran/v4/serial/lib*/*netcdff*a': No such file or directory
hosein hojjati
PhD student in condensed matter physics
Malayer State University
https://www.malayeru.ac.ir/portal/home/

User avatar
Nicola Spallanzani
Posts: 62
Joined: Thu Nov 21, 2019 10:15 am

Re: Can't open module file ‘netcdf.mod’

Post by Nicola Spallanzani » Fri May 26, 2023 1:54 pm

Dear Hosein,
could you give us some information on your compilation?
1) What is the operating system that are you using?
2) What compilers are you using?
3) What version of yambo?
4) And, please, send us the content of the log directory plus the config.log, config/report and config/setup files.

Best regards,
Nicola
Nicola Spallanzani, PhD
S3 Centre, Istituto Nanoscienze CNR and MaX Center, Italy
MaX - Materials design at the Exascale
http://www.nano.cnr.it
http://www.max-centre.eu

User avatar
Davide Sangalli
Posts: 610
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy
Contact:

Re: Can't open module file ‘netcdf.mod’

Post by Davide Sangalli » Mon May 29, 2023 9:19 am

Dear Hosein,
the issue might be due to a problem we just fixed in branch 5.2 on github.

Can you try to download and compile the last version of such branch?
https://github.com/yambo-code/yambo/tree/5.2

Best,
D.
Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre
https://sites.google.com/view/davidesangalli
http://www.max-centre.eu/

Post Reply