<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="en-IT" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;mso-fareast-language:EN-US">I know nothing about the inner workings of hp.x, but if I were you I would follow the (very clear) advice given by the error message. SB<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;color:#212121">___<br>
Stefano Baroni, Trieste -- </span><span style="font-size:11.0pt"><a href="http://stefano.baroni.me" title="http://stefano.baroni.me"><span style="color:#0078D7">http://stefano.baroni.me</span></a><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="mso-margin-top-alt:0cm;margin-right:0cm;margin-bottom:12.0pt;margin-left:36.0pt">
<b><span style="font-size:12.0pt;color:black">From: </span></b><span style="font-size:12.0pt;color:black">users <users-bounces@lists.quantum-espresso.org> on behalf of Priyanka A J, Res. Associate, Dept. of Physics, IIT (BHU) via users <users@lists.quantum-espresso.org><br>
<b>Date: </b>Friday, 22 September 2023 at 09:30<br>
<b>To: </b>users@lists.quantum-espresso.org <users@lists.quantum-espresso.org><br>
<b>Subject: </b>[QE-users] Regarding error in hp.x calculation<o:p></o:p></span></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Dear Quantum espresso users<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">I was trying to run the hp.x command and got the error "WARNING! All Hubbard atoms must be listed first in the ATOMIC_POSITIONS card of PWscf" and program terminated.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">My input file is:<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">&CONTROL<br>
calculation = 'scf'<br>
etot_conv_thr = 8.0000000000d-05<br>
forc_conv_thr = 1.0000000000d-04<br>
outdir = './out/'<br>
prefix = 'aiida'<br>
pseudo_dir = './pseudo/'<br>
tprnfor = .true.<br>
tstress = .true.<br>
verbosity = 'high'<br>
/<br>
&SYSTEM<br>
degauss = 1.4699723600d-02<br>
ecutrho = 7.2000000000d+02<br>
ecutwfc = 9.0000000000d+01<br>
ibrav = 0<br>
nat = 40<br>
ntyp = 3<br>
occupations = 'smearing'<br>
smearing = 'mv'<br>
starting_magnetization(1) = 1.0000000000d-01<br>
starting_magnetization(2) = 1.0000000000d-01<br>
starting_magnetization(3) = 1.0000000000d-01<br>
/<br>
<br>
&ELECTRONS<br>
conv_thr = 1.0000000000d-05<br>
mixing_beta = 4.0000000000d-01<br>
startingpot = "atomic"<br>
startingwfc = "atomic+random"<br>
/<br>
<br>
K_POINTS automatic<br>
3 3 3 0 0 0<br>
ATOMIC_SPECIES<br>
Cs 132.90545 cs_pbesol_v1.uspp.F.UPF<br>
Sn 118.71000 sn_pbesol_v1.4.uspp.F.UPF<br>
I 126.90447 I.pbesol-n-kjpaw_psl.0.2.UPF<br>
<br>
ATOMIC_POSITIONS {angstrom}<br>
Cs 0.000000 0.000000 0.000000<br>
Cs 6.142741 0.000000 6.142741<br>
Cs 0.000000 6.142741 6.142741<br>
Cs 6.142741 6.142741 0.000000<br>
Sn 6.142741 6.142741 6.142741<br>
Sn 0.000000 6.142741 0.000000<br>
Sn 6.142741 0.000000 0.000000<br>
Sn 0.000000 0.000000 6.142741<br>
I 11.598723 5.698252 2.949007<br>
I 0.686758 6.587229 9.336474<br>
I 6.829499 6.587229 9.091747<br>
I 5.455982 5.698252 3.193734<br>
I 0.686758 11.840992 3.193734<br>
I 11.598723 0.444489 9.091747<br>
I 5.455982 0.444489 9.336474<br>
I 6.829499 11.840992 2.949007<br>
I 2.949007 11.598723 5.698252<br>
I 9.336474 0.686758 6.587229<br>
I 9.091747 6.829499 6.587229<br>
I 3.193734 5.455982 5.698252<br>
I 3.193734 0.686758 11.840992<br>
I 9.091747 11.598723 0.444489<br>
I 9.336474 5.455982 0.444489<br>
I 2.949007 6.829499 11.840992<br>
I 5.698252 2.949007 11.598723<br>
I 6.587229 9.336474 0.686758<br>
I 6.587229 9.091747 6.829499<br>
I 5.698252 3.193734 5.455982<br>
I 11.840992 3.193734 0.686758<br>
I 0.444489 9.091747 11.598723<br>
I 0.444489 9.336474 5.455982<br>
I 11.840992 2.949007 6.829499<br>
I 2.984021 2.984021 2.984021<br>
I 9.301461 9.301461 9.301461<br>
I 3.158720 9.301461 9.126761<br>
I 9.126761 2.984021 3.158720<br>
I 9.301461 9.126761 3.158720<br>
I 2.984021 3.158720 9.126761<br>
I 9.126761 3.158720 9.301461<br>
I 3.158720 9.126761 2.984021<br>
<br>
CELL_PARAMETERS angstrom<br>
12.285500000 0.0000000000 0.0000000000<br>
0.0000000000 12.285500000 0.0000000000<br>
0.000000000 0.0000000000 12.285500000<br>
HUBBARD {ortho-atomic}<br>
U Sn-5p 0.98<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Regards<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt">Priyanka<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>