yambo 4.2.0 - NetCDF: Variable not found

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
gyro555in
Posts: 10
Joined: Fri Apr 07, 2017 3:59 pm

yambo 4.2.0 - NetCDF: Variable not found

Post by gyro555in » Tue Nov 14, 2017 12:08 pm

Hi,

We recently installed Yambo 4.2.0 with IOTK, NetCDF ... support thanks to our IT administrator. I am running a tutorial on GW(Silicon) and with the given tutorial input file and I get the following error while running yambo -F INPUTS/01HF_corrections -J HF_7Ry

[ERROR] STOP signal received while in :[04] Bare local and non-local Exchange-Correlation
[ERROR] File ./SAVE//ns.wf_fragments_1_1; Variable WF_COMPONENTS_@_SP_POL1_K1_BAND_GRP_1; NetCDF: Variable not found

When You check this like ncdump -h SAVE/ns.wf_fragments_1_1. You can see that there are only the variables WF_REAL_COMPONENTS_@_K1_BAND_GRP_1 and WF_IM_COMPONENTS_@_K1_BAND_GRP_1 exisiting. Our IT admin says it is the fault with the Input file rather than the installation. Can someone point what's going on?

Thanks,
Kushal
Kushal
Institute of Radiation physics
HZDR, Germany

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

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by Daniele Varsano » Tue Nov 14, 2017 7:42 pm

Dear Kushal,
please sign your posts with your complete affiliation: this is a rule of the forum. You can do that once for all by filling your signature in your profile.
In 4.2 the format of the wf database has changed and it looks you are using old databases.
You can either generate new database using p2y after a quantum espresso calculations, or convert the database from the old to the new format by using

Code: Select all

ypp -z 
Finally, at this link, you can find new yambo tutorials we prepared for the last school we had this year.

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/

gyro555in
Posts: 10
Joined: Fri Apr 07, 2017 3:59 pm

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by gyro555in » Wed Nov 15, 2017 2:18 pm

Thanks Danielle for the prompt reply. Following the hBN tutorial, I converted to new format using ypp -z and it generated a new folder "FixSAVE" with the ns.db1, ns.wf, ns.wf_fragments_x_1...., ns.kb_pp_pwscf, ns.kb_pp_pwscf_fragment_x.... . I moved these files to the original SAVE and it is now reading these files but I get the following error.

---> [01] CPU structure, Files & I/O Directories
<---> [02] CORE Variables Setup
<---> [02.01] Unit cells
<---> [02.02] Symmetries
<---> [02.03] RL shells
<---> [02.04] K-grid lattice
<---> [02.05] Energies [ev] & Occupations
<---> [03] Transferred momenta grid
<---> [04] Bare local and non-local Exchange-Correlation
<---> [WF] Performing Wave-Functions I/O from ./SAVE
<---> [FFT-HF/Rho] Mesh size: 3 3 12[hypnos5:15667] *** Process received signal ***
[hypnos5:15667] Signal: Segmentation fault (11)
[hypnos5:15667] Signal code: Address not mapped (1)
[hypnos5:15667] Failing at address: 0x7fff8fa1a10c
[hypnos5:15667] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x10330)[0x7f330ca0e330]
[hypnos5:15667] [ 1] /usr/lib/libblas.so.3(ATL_cdotc_xp0yp0aXbX+0x20)[0x7f330da48600]
[hypnos5:15667] *** End of error message ***
Segmentation fault (core dumped)
You do not have the required permissions to view the files attached to this post.
Kushal
Institute of Radiation physics
HZDR, Germany

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

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by Daniele Varsano » Wed Nov 15, 2017 2:22 pm

Dear Kushal,
can you please post the input file you are giving problems? We will try to reproduce the error.
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/

gyro555in
Posts: 10
Joined: Fri Apr 07, 2017 3:59 pm

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by gyro555in » Wed Nov 15, 2017 2:30 pm

HF_and_locXC # [R XX] Hartree-Fock Self-energy and Vxc
FFTGvecs= 1 Ry # [FFT] Plane-waves
EXXRLvcs= 1 Ry # [XX] Exchange RL components
%QPkrange # [GW] QP generalized Kpoint/Band indices
1| 14| 1|100|
%
Kushal
Institute of Radiation physics
HZDR, Germany

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

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by Daniele Varsano » Wed Nov 15, 2017 2:44 pm

Dear Kushal,
I do not know if this is the problem, I have still not tested your input, but:
You are using a very small FFT, which will give you surely non physical results: the wave function are very badly represented:
Next:

Code: Select all

%QPkrange # [GW] QP generalized Kpoint/Band indices
1| 14| 1|100|
%
you are asking to calculate a lot of energy corrections (1400!). Usually one is interested in bands around the ban gap.
Such a big number can cause you run out of memory.
Can you repeat the calculation using more reasonable number? Leave the FFTGvecs as default and set QPkrange something as:
1|14|7|10
or alike.

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/

gyro555in
Posts: 10
Joined: Fri Apr 07, 2017 3:59 pm

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by gyro555in » Wed Nov 15, 2017 3:31 pm

The error persists inspite of changing the suggested parameters. I tried reducing more but still get the same error.
Kushal
Institute of Radiation physics
HZDR, Germany

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

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by Daniele Varsano » Wed Nov 15, 2017 3:36 pm

Dar Kushal,
thanks, we will have a look and let you know.

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/

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

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by Davide Sangalli » Wed Nov 15, 2017 4:03 pm

Dear Kushal,
a stupid comment, just to be sure.

Once you convert the WFs to the new format, you should just use the "new" SAVE, not copy the files from the folder FixSave/SAVE in the "old" SAVE.
If you do the latter procedure the SAVE folder may contain a mixture of new an old files and that may cause problems.

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/

gyro555in
Posts: 10
Joined: Fri Apr 07, 2017 3:59 pm

Re: yambo 4.2.0 - NetCDF: Variable not found

Post by gyro555in » Wed Nov 15, 2017 4:16 pm

Of course, that's what I meant to imply. Is there any other simple input to test this new version?
Kushal
Institute of Radiation physics
HZDR, Germany

Post Reply