cif2xでQEのインプットを作成し、pw.xを実行した時にエラーが発生します。
Program PWSCF v.7.5 starts on 16Feb2026 at 14:10:37
This program is part of the open-source Quantum ESPRESSO suite
for quantum simulation of materials; please cite
"P. Giannozzi et al., J. Phys.:Condens. Matter 21 395502 (2009);
"P. Giannozzi et al., J. Phys.:Condens. Matter 29 465901 (2017);
"P. Giannozzi et al., J. Chem. Phys. 152 154105 (2020);
URL http://www.quantum-espresso.org",
in publications or presentations arising from this work. More details at
http://www.quantum-espresso.org/quote
Parallel version (MPI), running on 1 processors
MPI processes distributed on 1 nodes
0 MiB available memory on the printing compute node when the environment starts
Waiting for input...
Reading input from standard input
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Error in routine read_namelists (1):
bad line in namelist &electrons: "" (error could be in the previous line)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
stopping ...
これは、cif2xでインプットを作成した時に、namelistのsystemとelectronsの順番がpw.xで期待されているものと違う事によっていそうです。
cif2xが出力するインプットの例は下記のようになりますが、ここでelectronsより先にsystemが来ている必要があるようです。
! generated by cif2x.py
&control
calculation = 'scf'
outdir = './work'
prefix = 'pwscf'
pseudo_dir = './pseudo'
/
&electrons
conv_thr = 1e-07
mixing_beta = 0.1
/
&system
degauss = 0.01
ecutrho = 781.736943368579
ecutwfc = 30.0
ibrav = 0
nat = 12
ntyp = 2
occupations = 'smearing'
smearing = 'm-p'
/
CELL_PARAMETERS {angstrom}
5.396824 0.000000 0.000000
-0.000000 5.396824 0.000000
0.000000 0.000000 5.396824
ATOMIC_SPECIES
Fe 55.845000 Fe.pbe-spn-rrkjus_psl.0.2.1.UPF
S 32.065000 S.pbe-n-rrkjus_psl.0.1.UPF
ATOMIC_POSITIONS {crystal}
Fe 0.000000 0.500000 0.500000
Fe 0.500000 0.500000 0.000000
Fe 0.500000 0.000000 0.500000
Fe 0.000000 0.000000 0.000000
S 0.385380 0.114620 0.885380
S 0.114620 0.885380 0.385380
S 0.885380 0.385380 0.114620
S 0.614620 0.614620 0.614620
S 0.385380 0.385380 0.385380
S 0.114620 0.614620 0.885380
S 0.885380 0.114620 0.614620
S 0.614620 0.885380 0.114620
K_POINTS {automatic}
8 8 8 0 0 0
私の方で作成した修正版は下記のものとなります。このままで良ければpull-requestを出します。
https://github.com/ykonishi/cif2x/tree/fix_qe
cif2xでQEのインプットを作成し、pw.xを実行した時にエラーが発生します。
これは、cif2xでインプットを作成した時に、namelistのsystemとelectronsの順番がpw.xで期待されているものと違う事によっていそうです。
cif2xが出力するインプットの例は下記のようになりますが、ここでelectronsより先にsystemが来ている必要があるようです。
私の方で作成した修正版は下記のものとなります。このままで良ければpull-requestを出します。
https://github.com/ykonishi/cif2x/tree/fix_qe