Dear all
There are lots of Kpoints in my recent calculations and I find that if I use the yambo in 4.0.2 version, there could be an error like
"NetCDF: One or more variable sizes violate format constraints"
After I checked the files in the SAVE/ directory, I have found that the file ndb.kindx is too large.
However, if I switch to yambo 4.0.1 version, the error disappears. And for the ndb.kindx in the SAVE/ directory, there are two fragments "ndb.kindx_fragment_#".
I think there may be two possible reasons.
1. the netcdf which yambo in the newer version uses is different from that used previously
2. the yambo in the newer version needs more options like "yambo -xxx" to obtain the fragments of ndb.kindx
initialization in yambo 4.0.2
Moderators: Davide Sangalli, andrea.ferretti, myrta gruning, andrea marini, Daniele Varsano, Conor Hogan
-
- Posts: 22
- Joined: Mon Jan 20, 2014 4:13 am
initialization in yambo 4.0.2
Wen-Dong Cao
Candidate for Ph.D
Department of Physics
Group of Condensed Material Theory
Tsinghua University
Beijing P.R.China
+86 010 62772784
Candidate for Ph.D
Department of Physics
Group of Condensed Material Theory
Tsinghua University
Beijing P.R.China
+86 010 62772784
- Daniele Varsano
- Posts: 4209
- Joined: Tue Mar 17, 2009 2:23 pm
- Contact:
Re: initialization in yambo 4.0.2
Dear Wen-Dong Cao,
this is because netcdf admits a fixed number of variables. May be the number of variables admitted can be changed when compiling netcdf libraries.
Anyway, as you said, you can overcome the problem by fragmenting the databases. This is now done by adding the io verbosity when building up the input file:
and setting:
Please note the "+" sign.
Best,
Daniele
this is because netcdf admits a fixed number of variables. May be the number of variables admitted can be changed when compiling netcdf libraries.
Anyway, as you said, you can overcome the problem by fragmenting the databases. This is now done by adding the io verbosity when building up the input file:
Code: Select all
yambo -i -V io
Code: Select all
DBsFRAGpm= "+QINDX" # [IO] Space-separated list of +DB to be FRAG and -DB NOT to be FRAG. DB=(DIP,X,W,HF,COLLS,K,BS,QINDX,
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/
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/
-
- Posts: 22
- Joined: Mon Jan 20, 2014 4:13 am
Re: initialization in yambo 4.0.2
Dear Daniele
I have changed the input file as you suggested and it indeed works now.
Thank you very much.
Best Wishes.
I have changed the input file as you suggested and it indeed works now.

Thank you very much.
Best Wishes.
Wen-Dong Cao
Candidate for Ph.D
Department of Physics
Group of Condensed Material Theory
Tsinghua University
Beijing P.R.China
+86 010 62772784
Candidate for Ph.D
Department of Physics
Group of Condensed Material Theory
Tsinghua University
Beijing P.R.China
+86 010 62772784