yambo 4.2.0 - NetCDF: Variable not found

Having trouble compiling the Yambo source? Using an unusual architecture? Problems with the "configure" script? This is the place to look.

Moderators: Davide Sangalli, Daniele Varsano, andrea.ferretti, andrea marini, myrta gruning, Conor Hogan

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
Davide Sangalli
Posts: 339
Joined: Tue May 29, 2012 4:49 pm
Location: Via Salaria Km 29.3, CP 10, 00016, Monterotondo Stazione, Italy

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by Davide Sangalli » Thu Oct 18, 2018 5:42 pm

Dear Aleksandr,
just a quick suggestion without looking to much into the problem.

Give a yambo version X.Y, releases with different patchlevels just include bug-fixes compared to previous releases.
See here: https://github.com/yambo-code/yambo/wik ... gz-format)

You are presently using 4.2.0, which since its release, have been upgraded with several bug-fixes.
(Indeed in the report you sent it says 4.2.0, in the log 4.2.1, so I'm not really sure which of the two you are using)
Could you check if, using 4.2.4, you still experience the same problems.

Another quick suggestion. In the log, I see you used the flag --enable-netcdf-hdf5.
I'd suggest not to use it.

Davide Sangalli, PhD
CNR-ISM, Division of Ultrafast Processes in Materials (FLASHit) and MaX Centre

User avatar
Daniele Varsano
Posts: 2315
Joined: Tue Mar 17, 2009 2:23 pm

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by Daniele Varsano » Thu Oct 18, 2018 5:45 pm

Dear Sasha,
it seems you are using 4.2.1, looking at the config.log file:
It was created by Yambo configure 4.2.1 r.14778
As Davide suggests, switch to an updated source and disable the hdf5 support,


Dr. Daniele Varsano
S3-CNR Institute of Nanoscience and MaX Center, Italy
MaX - Materials design at the Exascale

Posts: 9
Joined: Tue Feb 16, 2016 12:34 pm

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by Alesster » Fri Oct 19, 2018 3:07 pm

Dear All,

Yes, the installation of Yambo v.4.2.4 and disabling the hdf5 support solved the problem. The yambo run completed without errors.

Thank you very much to all.

Best regards,
Dr. Aleksandr Terentjev
Donostia International Physics Center (DIPC),
E-20018 Donostia, Basque Country, Spain.

Post Reply