epw.x just does nothing after "G-vector sticks info"

Hi,

I am trying now for several days to get epw up and running. The bulk fcc PB example did work properly, so epw should be working. I then adjusted the input files accordingly to suit my needs. Sadly, epw now gets stuck after the line "G-vector sticks info" and does nothing anymore, not even output some kind of error message. Has anyone experienced the same problem or could maybe spot some error in one of my input files (see below)?

I tried running with 24 cores and mpirun, but also with only one core. If mpirun was used, "mpirun -np 24 pw.x -npool 24 < scf.in" and so one was the way I tried, according to the examples online. All the other problems I had could by solved by adjusting the input files with the help of this forum or the mailing list, but this time I am stuck, as the code does not break and there is no error message but it is just stuck.

I highly appreciate any help! Thanks :)
Tobias

[code:cyiokze6]
scf.in
&control
calculation =‘scf’,
prefix =‘kto’,
pseudo_dir = ‘../../pp/’,
outdir =‘./’,
tprnfor = .true.,
tstress = .true.,
etot_conv_thr = 1.0d-4
forc_conv_thr = 1.0d-4
wf_collect = .true.
/
&system
ibrav = 1 ,
A = 4.0109 ! (Angstrom)
nat = 5 , ! total number of atoms in UC
ntyp = 3 , ! number of unique atoms in UC
ecutwfc = 60 , ! (Ry)
ecutrho = 720 , ! (Ry)
occupations = ‘smearing’, ! gaussian smearing for metals
degauss = 0.05 ! (Ry) gaussian spreading in metals
noncolin = .false. ! std: .false.
lspinorb = .false. ! std: .false.
/
&electrons
conv_thr = 1.0d-8 ! std: 1d-6
mixing_ndim = 8 ! std: 8
mixing_beta = 0.7 ! std: 0.7
diagonalization = ‘cg’
/
ATOMIC_SPECIES
K 39.0983 K.pbe-spn-rrkjus_psl.1.0.0.UPF
Ta 180.9479 Ta.pbe-spn-rrkjus_psl.0.2.UPF
O 15.9990 O.pbe-n-rrkjus_psl.0.1.UPF
ATOMIC_POSITIONS crystal
K 0.000000000000000 0.000000000000000 0.000000000000000
Ta 0.500000000000000 0.500000000000000 0.500000000000000
O 0.000000000000000 0.500000000000000 0.500000000000000
O 0.500000000000000 0.500000000000000 0.000000000000000
O 0.500000000000000 0.000000000000000 0.500000000000000
K_POINTS AUTOMATIC
8 8 8 1 1 1
[/code:cyiokze6]
[code:cyiokze6]
ph.in
&inputph
recover = .false.
prefix = ‘kto’,
outdir = ‘./’
fildyn = ‘kto.dyn’,
fildvscf = ‘dvscf’
ldisp = .true.,
nq1 = 4,
nq2 = 4,
nq3 = 4,
tr2_ph = 1.0d-14, ! std: 1.0d-12
/
[/code:cyiokze6]
[code:cyiokze6]
scf.in
&control
calculation =‘scf’,
restart_mode = ‘from_scratch’ ,
prefix =‘kto’,
pseudo_dir = ‘../../pp/’,
outdir =‘./’,
tprnfor = .true.,
tstress = .true.,
etot_conv_thr = 1.0d-4
forc_conv_thr = 1.0d-4
wf_collect = .true.
/
&system
ibrav = 1 ,
A = 4.0109 ! (Angstrom)
nat = 5 , ! total number of atoms in UC
ntyp = 3 , ! number of unique atoms in UC
ecutwfc = 60 , ! (Ry)
ecutrho = 720 , ! (Ry)
occupations = ‘smearing’, ! gaussian smearing for metals
degauss = 0.05 ! (Ry) gaussian spreading in metals
noncolin = .false. ! std: .false.
lspinorb = .false. ! std: .false.
/
&electrons
conv_thr = 1.0d-8 ! std: 1d-6
mixing_ndim = 8 ! std: 8
mixing_beta = 0.7 ! std: 0.7
diagonalization = ‘cg’
/
ATOMIC_SPECIES
K 39.0983 K.pbe-spn-rrkjus_psl.1.0.0.UPF
Ta 180.9479 Ta.pbe-spn-rrkjus_psl.0.2.UPF
O 15.9990 O.pbe-n-rrkjus_psl.0.1.UPF
ATOMIC_POSITIONS crystal
K 0.000000000000000 0.000000000000000 0.000000000000000
Ta 0.500000000000000 0.500000000000000 0.500000000000000
O 0.000000000000000 0.500000000000000 0.500000000000000
O 0.500000000000000 0.500000000000000 0.000000000000000
O 0.500000000000000 0.000000000000000 0.500000000000000
K_POINTS AUTOMATIC
8 8 8 1 1 1
[/code:cyiokze6]
[code:cyiokze6]
nscf.in
&control
calculation =‘nscf’,
prefix =‘kto’,
pseudo_dir = ‘../../pp/’,
outdir =‘./’,
tprnfor = .true.,
tstress = .true.,
/
&system
ibrav = 1 ,
A = 4.0109 ! (Angstrom)
nat = 5 , ! total number of atoms in UC
ntyp = 3 , ! number of unique atoms in UC
ecutwfc = 60 , ! (Ry)
ecutrho = 720 , ! (Ry)
occupations = ‘smearing’, ! gaussian smearing for metals
degauss = 0.05 ! (Ry) gaussian spreading in metals
noncolin = .false. ! std: .false.
lspinorb = .false. ! std: .false.
nbnd = 35 ,
nosym = .true.
noinv = .true.
/
&electrons
conv_thr = 1.0d-8 ! std: 1d-6
mixing_ndim = 8 ! std: 8
mixing_beta = 0.7 ! std: 0.7
diagonalization = ‘cg’
/
ATOMIC_SPECIES
K 39.0983 K.pbe-spn-rrkjus_psl.1.0.0.UPF
Ta 180.9479 Ta.pbe-spn-rrkjus_psl.0.2.UPF
O 15.9990 O.pbe-n-rrkjus_psl.0.1.UPF
ATOMIC_POSITIONS crystal
K 0.000000000000000 0.000000000000000 0.000000000000000
Ta 0.500000000000000 0.500000000000000 0.500000000000000
O 0.000000000000000 0.500000000000000 0.500000000000000
O 0.500000000000000 0.500000000000000 0.000000000000000
O 0.500000000000000 0.000000000000000 0.500000000000000
K_POINTS crystal
64
0.00000000 0.00000000 0.00000000 0.01562500
0.00000000 0.00000000 0.25000000 0.01562500
0.00000000 0.00000000 0.50000000 0.01562500
0.00000000 0.00000000 0.75000000 0.01562500
0.00000000 0.25000000 0.00000000 0.01562500
0.00000000 0.25000000 0.25000000 0.01562500
......
0.75000000 0.50000000 0.75000000 0.01562500
0.75000000 0.75000000 0.00000000 0.01562500
0.75000000 0.75000000 0.25000000 0.01562500
0.75000000 0.75000000 0.50000000 0.01562500
0.75000000 0.75000000 0.75000000 0.01562500
[/code:cyiokze6]
[code:cyiokze6]
epw.in

&inputepw
prefix = ‘kto’,
outdir = ‘./’

elph = .true.
kmaps = .false.
epbwrite = .true.
epbread = .false.

epwwrite = .true.
epwread = .false.

nbndsub = 30
nbndskip = 5
fsthick = 30

wannierize = .true.
dis_win_max = 15
dis_win_min = -5
dis_froz_max= 5
dis_froz_min= -5
proj(1) = ‘Ta:l=2’
proj(2) = ‘O:l=1’

wdata(1) = ‘bands_plot = .true.’
wdata(2) = ‘begin kpoint_path’
wdata(3) = ‘G 0.00 0.00 0.00 X 0.50 0.00 0.00’
wdata(4) = ‘X 0.50 0.00 0.00 M 0.50 0.50 0.00’
wdata(5) = ‘M 0.50 0.50 0.00 G 0.00 0.00 0.00’
wdata(6) = ‘G 0.00 0.00 0.00 R 0.50 0.50 0.50’
wdata(7) = ‘R 0.50 0.50 0.50 X 0.50 0.00 0.00’
wdata(8) = ‘end kpoint_path’
wdata(9) = ‘bands_plot_format = gnuplot’

iverbosity = 0

elecselfen = .true.
phonselfen = .true.

parallel_k = .true.
parallel_q = .false.

eptemp = 0.005 ! K
degaussw = 0.025 ! eV
degaussq = 0.050 !meV

a2f = .true.

dvscf_dir = ‘../phonons/save’

nkf1 = 10
nkf2 = 10
nkf3 = 10

nqf1 = 10
nqf2 = 10
nqf3 = 10

nk1 = 4
nk2 = 4
nk3 = 4

nq1 = 4
nq2 = 4
nq3 = 4

/
10 cartesian
0.000000000 0.000000000 0.000000000
0.000000000 0.000000000 0.250000000
0.000000000 0.000000000 -0.500000000
0.000000000 0.250000000 0.250000000
0.000000000 0.250000000 -0.500000000
0.000000000 -0.500000000 -0.500000000
0.250000000 0.250000000 0.250000000
0.250000000 0.250000000 -0.500000000
0.250000000 -0.500000000 -0.500000000
-0.500000000 -0.500000000 -0.500000000
[/code:cyiokze6]

[code:cyiokze6]
epw.out
&#58;oss/ `&#46;+s+&#46; &#46;+ys--yh+ `&#46;/ss+&#46; -sh//yy+` +yy +yy -+h+-oyy -yh- &#46;oyy/&#46;-sh&#46; &#46;syo-&#46;&#58;sy- /yh `&#46;-&#46;` `yh+ -oyyyo&#46; `/syys&#58; oys `&#46;` `/+ssys+-` `sh+ ` oys` &#46;&#58;osyo` -yh- &#46;/syyooyo` &#46;sys+/oyo--yh/ `yy+ &#46;-&#58;-&#46; `-/+/&#58;` -sh- /yh&#46; oys ..—hho--------- &#46;---------&#46;&#46; &#46;-----&#46; -hd±–.
&#46;/osmNMMMMMMMMMMMMMMMs&#46; +NNMMMMMMMMNNmh+&#46; yNMMMMMNm- oNMMMMMNmo++&#58;
+sy–/sdMMMhyyyyyyyNMMh- .oyNMMmyyyyyhNMMm+ -yMMMdyyo&#58; .oyyNMMNhs+syy -yy/ /MMM+&#46;-+/mMMy- `mMMh&#58;`````&#46;dMMN&#58;` `MMMy-`-dhhy```mMMy&#58;+hs
-yy+ /MMMo&#58;-mMM+-oo/. mMMh: dMMN/ dMMm:dMMMMy&#46;&#46;MMMo-&#46;+yo
.sys/MMMMNNMMMs- mMMmyooooymMMNo&#58; oMMM/sMMMMMM++MMN//oh&#58; sh+/MMMhyyMMMs- - mMMMMMMMMMNmy± -MMMhMMMsmMMmdMMd/yy+ -/+++oyy-/MMM+./hh/&#46;mNm: mMMd+/////&#58;-&#46; NMMMMMd/:NMMMMMy:/yyo/:. +os+//&#58;-&#46;&#46;-oMMMo&#58;--&#58;&#58;&#58;-/MMMo&#46; &#46;-mMMd+--- hMMMMN+. oMMMMMo. -+osyso&#58;
syo mNMMMMMNNNNNNNNMMMo&#46;oNNMMMMMNNNN&#58; +MMMMs: dMMMN/ &#58;syo /yh` &#58;syyyyyyyyyyyyyyyy+&#46;`+syyyyyyyyo&#58;` &#46;oyys&#58;` &#46;oyys&#58;` +yh -yh- ```````````````` ````````` `` oys
-+h/------------------------::::::::://////++++++++++++++++++++++///////::::/yd:
shdddddddddddddddddddddddddddddhhhhhhhhyyyyyssssssssssssssssyyyyyyyhhhhhhhddddh`

S. Ponce, E. R. Margine, C. Verdi, and F. Giustino,
Comput. Phys. Commun. 209, 116 (2016)

 Program EPW v&#46;4&#46;3&#46;0 (svn rev&#46; 14038) starts on 18Jan2018 at 10&#58;12&#58; 5 

 This program is part of the open-source Quantum ESPRESSO suite
 for quantum simulation of materials; please cite
     &quot;P&#46; Giannozzi et al&#46;, J&#46; Phys&#46;&#58;Condens&#46; Matter 21 395502 (2009);
     &quot;P&#46; Giannozzi et al&#46;, J&#46; Phys&#46;&#58;Condens&#46; Matter 29 465901 (2017);
      URL http&#58;//www&#46;quantum-espresso&#46;org&quot;, 
 in publications or presentations arising from this work&#46; More details at
 http&#58;//www&#46;quantum-espresso&#46;org/quote

 Parallel version (MPI), running on     1 processors

 MPI processes distributed on     1 nodes

 Reading data from directory&#58;
 &#46;/kto&#46;save/

 IMPORTANT&#58; XC functional enforced from input &#58;
 Exchange-correlation      = PBE ( 1  4  3  4 0 0)
 Any further DFT definition will be discarded
 Please, verify this is what you really want

           file K&#46;pbe-spn-rrkjus_psl&#46;1&#46;0&#46;0&#46;UPF&#58; wavefunction(s)  3S renormalized

 G-vector sticks info
 --------------------
 sticks&#58;   dense  smooth     PW     G-vecs&#58;    dense   smooth      PW
 Sum        3297    1101    357               142009    27369    5041


 Check&#58; negative/imaginary core charge=   -0&#46;000007    0&#46;000000

[/code:cyiokze6]

Dear tessw,

I’m afraid only norm-conserving psp are supported in EPW at the moment (this is something we would like to support in the realtively near future).

Best,
Samuel

Dear Samuel,

thank you very much for your fast reply! I was not aware of that and now changed to norm conserving pseudo potentials, but sadly the above mentioned error persists. Do you have any idea why this could occur?

Best,
Tobias

Dear Tobias,

Can you try one EPW test to make sure everything is ok. You can find it in QE/test-suite/epw_base/ for example.

If this does not work in parallel, then you have an issue with the compilation.
If it does work, then a possible issue might be memory. What is the size of your wfc/dvscf etc ?

Best,
Samuel

I once had a similar issue. One reason was that for norm-conserving PSP, ecutrho=4ecutwfc. I chose ecutrho larger than 4ecutwfc and EPW got stuck. Did you change ecutrho after you switched to norm-conserving PSP?

Cheers,

Vahid

Vahid Askarpour
Department of Physics and Atmospheric Science
Dalhousie University,
Halifax, NS, Canada

Well spotted Vahid. Its probably the issue indeed.

Just remove ecutrho from scf and nscf.in

Best,
Samuel

Dear Samuel and Vahid,

thank you very much for your inputs!

To answer your questions, the wfc files from nscf are around 4 MB and the dvscf from ph around 100 MB each. As I tried with 96 GB RAM on 12 cores and 30 GB RAM on one core, I think that was not the problem. In the beginning I also first did the whole pb-example from the homepage, which did work properly, before I changed the inputs to suit my needs.

But apparently there was a combined issue with compilation, parallelization and/or the ecutrho. I finally have working environments on two machines.
On one machine I recompiled QE with intel/13.3.163 and openmpi/1.6.5 and changed the c-flag from -o3 to -o2 and now it does work on one core, but not on 12 (even with the high ecutrho).
On another machine it now even works on 12 cores, compiled as well with -o2 instead of -o3, but with open_mpi/2.1.2 and intel/2018.0 and the scf and nscf calculations done with the normal ecutrho=4*ecutwfc.

If I can find the actual cause why it did not work in the first place, I will post it here.

Thanks again for your quick and helpful replies! :)