p2y error

Concerns any physical issues arising during the setup step (-i option). This includes problems with symmetries, k/q-point sets, and so on. For technical problems (running in parallel, etc), refer to the Technical forum.

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

Post Reply
gaohan
Posts: 15
Joined: Sun Feb 07, 2021 3:56 am

p2y error

Post by gaohan » Sun Feb 07, 2021 2:09 pm

Dear developers,
When I finished my 'scf' and 'nscf' calculations, I entered the folder '*.save' and run 'p2y'. It shows that error:

Code: Select all

<---> DBs path set to .
 <---> detected QE data format: qexsd
 <---> == PWscf v.6.x generated data (QEXSD fmt) ==
 <---> Header/K-points/Energies...
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
     Error in routine qexsd_read_symmetry (2):
     fmt problem
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

     stopping ...
application called MPI_Abort(MPI_COMM_WORLD, 2) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=2
:
system msg for write_line failure : Bad file descriptor
My QE edition is 6.7 and my yambo edition is 4.5.2
I will attach my 'scf.inp' and 'nscf.inp'
scf.inp:

Code: Select all

&CONTROL
    calculation='scf', disk_io='low', prefix='alb2',
    pseudo_dir='../../pse', outdir='./tmp', verbosity='high'
    tprnfor=.true., tstress=.true.,
    wf_collect=.true.,nstep = 200,
    etot_conv_thr = 1.0d-6,forc_conv_thr = 1.0d-5
/
&SYSTEM
    ibrav= 4,
    nat= 3, ntyp= 2,
    celldm(1) =5.6211,
    celldm(3) = 6.723,
    occupations = 'smearing', smearing = 'mp', degauss = 0.05,
    ecutwfc= 80, ecutrho = 320,
  !  assume_isolated='2D',
    force_symmorphic=.true.,
/
&ELECTRONS
    conv_thr = 1.0d-9,
    mixing_beta = 0.7d0,
    diagonalization = 'david'
/
&IONS
    ion_dynamics='damp'
/
&CELL
   press = 0.00 ,
   press_conv_thr=0.1
   cell_dynamics = 'bfgs' ,
   cell_dofree = '2Dxy',
/
ATOMIC_SPECIES
 Al  26.981539 Al_ONCV_PBE-1.2.upf
 B   10.811    B_ONCV_PBE-1.2.upf
ATOMIC_POSITIONS (crystal)
Al            0.0000000000       -0.0000000000        0.0306032265
B             0.3333333433        0.6666666866        0.1020700413
B             0.6666666865        0.3333333433        0.1020700413
K_POINTS {automatic}
12 12 1 1 1 1
nscf.inp:

Code: Select all

&CONTROL
    calculation='nscf', disk_io='low', prefix='alb2',
    pseudo_dir='../../pse', outdir='./tmp', verbosity='high'
    tprnfor=.true., tstress=.true.,
    wf_collect=.true.,nstep = 200,
    etot_conv_thr = 1.0d-6,forc_conv_thr = 1.0d-5
/
&SYSTEM
    ibrav= 4,
    nat= 3, ntyp= 2,
    celldm(1) =5.6211,
    celldm(3) = 6.723,
    occupations = 'smearing', smearing = 'mp', degauss = 0.05,
    ecutwfc= 80, ecutrho = 320,
  !  assume_isolated='2D',
    force_symmorphic=.true.,nbnd = 48,
/
&ELECTRONS
    conv_thr = 1.0d-9,
    mixing_beta = 0.7d0,
    diagonalization = 'david'
    diago_thr_init=5.0e-6,
    diago_full_acc=.true.
/
&IONS
    ion_dynamics='damp'
/
&CELL
   press = 0.00 ,
   press_conv_thr=0.1
   cell_dynamics = 'bfgs' ,
   cell_dofree = '2Dxy',
/
ATOMIC_SPECIES
 Al  26.981539 Al_ONCV_PBE-1.2.upf
 B   10.811    B_ONCV_PBE-1.2.upf
ATOMIC_POSITIONS (crystal)
Al            0.0000000000       -0.0000000000        0.0306032265
B             0.3333333433        0.6666666866        0.1020700413
B             0.6666666865        0.3333333433        0.1020700413
K_POINTS {automatic}
48 48 1 1 1 1

Looking forward to your reply.
Han Gao
School of Physics, State Key Laboratory of Crystal Materials, Shandong University, Jinan 250100, Shandong, China

gaohan
Posts: 15
Joined: Sun Feb 07, 2021 3:56 am

Re: p2y error

Post by gaohan » Sun Feb 07, 2021 2:11 pm

I also should mention. When I run 'yambo' to test my yambo code. It shows:

Code: Select all

yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1
:
system msg for write_line failure : Bad file descriptor
I'm not sure that whether the appearance of the last two lines is reasonable.
Looking forward to your help. Thanks very much.
Han Gao
School of Physics, State Key Laboratory of Crystal Materials, Shandong University, Jinan 250100, Shandong, China

andrea.ferretti
Posts: 206
Joined: Fri Jan 31, 2014 11:13 am

Re: p2y error

Post by andrea.ferretti » Mon Feb 08, 2021 4:13 pm

Dea gaohan,

I was able to reproduce the p2y error you report. The problem is due to a small change in the data output format of qe-6.7
(qe-6.6 works fine with y4.5.2/y4.5.3)
This specific problem has already been fixed in yambo v5.0.x, as available on github
https://github.com/yambo-code/yambo/tags

take care
Andrea
Andrea Ferretti, PhD
CNR-NANO-S3 and MaX Centre
via Campi 213/A, 41125, Modena, Italy
Tel: +39 059 2055322; Skype: andrea_ferretti
URL: http://www.nano.cnr.it

Online
Jerry
Posts: 3
Joined: Mon Apr 01, 2024 11:46 am

Re: p2y error

Post by Jerry » Mon Apr 08, 2024 10:09 am

gaohan wrote: Sun Feb 07, 2021 2:11 pm I also should mention. When I run 'yambo' to test my yambo code. It shows:

Code: Select all

yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)

application called MPI_Abort(MPI_COMM_WORLD, 1) - process 0
[unset]: write_line error; fd=-1 buf=:cmd=abort exitcode=1
:
system msg for write_line failure : Bad file descriptor
I'm not sure that whether the appearance of the last two lines is reasonable.
Looking forward to your help. Thanks very much.
dear GaoHan I have the same problem and I'm using yambo 5.2.0. Do you know how to solve it? :?:
Undergraduate Student, School of Physics, Peking University,Beijing 100091,China

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

Re: p2y error

Post by Daniele Varsano » Mon Apr 08, 2024 10:41 am

Dear Jerry,

please sign your post with your name and affiliation, this is a rule of the forum and you can do once for all by filling the signature in your profile.

The problem you have it happens because you did not generate the SAVE directory using p2y, or you are running in a directory where the SAVE dir is not present. This is indeed what the error message says:

Code: Select all

yambo: cannot access CORE database (SAVE/*db1 and/or SAVE/*wf)
Please have a look at this tutorial:
https://www.yambo-code.eu/wiki/index.php/Initialization

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/

Online
Jerry
Posts: 3
Joined: Mon Apr 01, 2024 11:46 am

Re: p2y error

Post by Jerry » Tue Apr 09, 2024 3:52 pm

Dear Varsano,
I've cahnged my signature. I read the passage you mentioned. I found that I used yambo command in the SAVE directory. So I

Code: Select all

[cd ..
yambo/code]. But I meet new problem. it is said that[code][[ERROR] I/O failed.%  /code]. I don't know how to solve it.
Undergraduate Student, School of Physics, Peking University,Beijing 100091,China

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

Re: p2y error

Post by Daniele Varsano » Thu Apr 11, 2024 7:43 am

Dear Jerry,

it is not clear from your post what you did and what is happening, can you try to explain better and report the entire error message.

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/

Online
Jerry
Posts: 3
Joined: Mon Apr 01, 2024 11:46 am

Re: p2y error

Post by Jerry » Mon Apr 15, 2024 1:03 pm

when i run yambo in bulk_silicon directory. it said that

Code: Select all

[ERROR] I/O failed.%
Undergraduate Student, School of Physics, Peking University,Beijing 100091,China

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

Re: p2y error

Post by Daniele Varsano » Tue Apr 16, 2024 7:12 am

Dear Jerry,
can you attach to the post your report and log files, and also the config.log file of your compilation?

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/

Post Reply