Si example from Quantum Espresso fails with Seg Fault

Concerns issues with computing quasiparticle corrections to the DFT eigenvalues - i.e., the self-energy within the GW approximation (-g n), or considering the Hartree-Fock exchange only (-x)

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

Post Reply
jmullen
Posts: 29
Joined: Wed Apr 01, 2009 6:29 pm

Si example from Quantum Espresso fails with Seg Fault

Post by jmullen » Wed Oct 07, 2009 7:33 pm

I am stumped. After having resolved the issue I posted over in the P2Y forum, I have moved to running the GW calculation on Si as taken from Quantum Espresso. I am using QE 4.0.4 and 4.0.5 for testing (and have tried 4.1 for completeness) and all generate the same error. NOTE: each time, yambo has been compiled against the IOTK in the espresso version directory.

I am attaching input and output files in a tarball, but the short version is, running on one processor
p2y
yambo -i
yambo
yambo -x -p p -g g -V 2
yambo

with all the defaults taken except for plane waves because, at this point, I need it to complete before running convergences.
The error generated is a segmentation fault and core dump when loading, or immediately after loading, the WF's.

<---> [WF loader] Wfs (re)loading |####################| [100%] --(E) --(X)[medusa:25722] *** Process received signal ***
[medusa:25722] Signal: Segmentation fault (11)
[medusa:25722] Signal code: Address not mapped (1)


I am confused because I do not see this is other systems I am running at the moment. I am sure that, like my problem with P2Y, it is trivial and probably a typo, but I cannot see it. Any help is appreciated.

Thanks
You do not have the required permissions to view the files attached to this post.
Jeff Mullen
NCSU Physics

User avatar
Conor Hogan
Posts: 111
Joined: Tue Mar 17, 2009 12:17 pm
Contact:

Re: Si example from Quantum Espresso fails with Seg Fault

Post by Conor Hogan » Thu Oct 08, 2009 4:19 pm

Dear Jeff,
Yes, you are still doing some odd things with PW... !
Make sure you run things in two steps: scf and non-scf. The nscf ("bands") should read the potential from the scf, and then create the bandstructure for both occupied and unoccupied states. I think in your case yambo failed because you have no empty states! (8 electrons, 4 bands). Ideally we should have a check on this to make the code die peacefully.

My si_scf.in is:
&control
calculation='scf'
verbosity = 'high',
prefix='si_bulk-out'
pseudo_dir = '/gpfs/scratch/userinfm/cne0fm2h/PSEUDO/UPF',
wfcdir='./tmp'
/
&system
ibrav= 2, celldm(1)= 10.2, nat= 2, ntyp= 1,
ecutwfc =18.0
/
&electrons
conv_thr = 1.0d-8
mixing_beta = 0.7
/
ATOMIC_SPECIES
Si 28.086 Si.vbc.UPF
ATOMIC_POSITIONS
Si 0.00 0.00 0.00
Si 0.25 0.25 0.25
K_POINTS {automatic}
4 4 4 1 1 1


and my si_nscf.in is:

&control
calculation='bands'
verbosity = 'high',
pseudo_dir = '/gpfs/scratch/userinfm/cne0fm2h/PSEUDO/UPF',
wfcdir='./tmp'
prefix='si_bulk-out'
wf_collect = .true.
/
&system
ibrav= 2, celldm(1) =10.20, nat= 2, ntyp= 1,
ecutwfc =18.0, nbnd = 20,
force_symmorphic = .true.
/
&electrons
diago_full_acc = .true.
diago_thr_init = 1.0d-6
/
ATOMIC_SPECIES
Si 28.086 Si.vbc.UPF
ATOMIC_POSITIONS
Si 0.00 0.00 0.00
Si 0.25 0.25 0.25
K_POINTS {automatic}
4 4 4 1 1 1


Note the use and position of nbnd, force_symmorphic, wf_collect, diago_full_acc, diago_thr_init.

Hope it helps!
Conor
Dr. Conor Hogan
CNR-ISM, via Fosso del Cavaliere, 00133 Roma, Italy;
Department of Physics and European Theoretical Spectroscopy Facility (ETSF),
University of Rome "Tor Vergata".

jmullen
Posts: 29
Joined: Wed Apr 01, 2009 6:29 pm

Re: Si example from Quantum Espresso fails with Seg Fault

Post by jmullen » Thu Oct 08, 2009 10:17 pm

Thanks,

I will do this. As for empty states, I thought that Quantum espresso did occupied + 4 for scf calculation and this seems to have worked fine for my other test systems. Apparently, I am doing this wrong for Yambo. I will recheck my other systems using the NSCF calculation.

Thanks
Jeff Mullen
NCSU Physics

Post Reply