<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
Dear Stephen;</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
You can recompile bands.f90 after deleting this line from the code:</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<pre lang="fortran" style="caret-color: rgb(0, 0, 0)"><span lang="fortran"><span>IF</span><span> </span><span>(</span><span>two_fermi_energies</span><span>.or.</span><span>i_cons</span><span> </span><span>/</span><span>=</span><span> </span><span>0</span><span>)</span><span> </span><span>&</span></span>
<span lang="fortran"><span> </span><span>CALL</span><span> </span><span>errore</span><span>(</span><span>'bands'</span><span>,&</span></span>
<span lang="fortran"><span> </span><span>'The bands code with constrained magnetization has not been tested'</span><span>,</span><span>1</span><span>)</span></span>
</pre>
However, this method has not been tested yet; so use with care and please share the results with us. </div>
<div>
<div style="font-family: "Times New Roman", Times, serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<meta content="text/html; charset=UTF-8">
<div id="divtagdefaultwrapper" dir="ltr"><br>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;margin:0in 0in 0.0001pt">
<font face="Times New Roman, Times, serif" size="3">Best regards; </font></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:medium; margin:0in 0in 0.0001pt">
<br>
</p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:medium; margin:0in 0in 0.0001pt">
<span style="font-family:"Times New Roman",Times,serif">Mona Asadi Namin</span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:medium; margin:0in 0in 0.0001pt">
<span style="font-family:"Times New Roman",Times,serif">Graduate student</span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:medium; margin:0in 0in 0.0001pt">
<span style="font-family:"Times New Roman",Times,serif">Center for simulational physics</span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:medium; margin:0in 0in 0.0001pt">
<span style="font-family:"Times New Roman",Times,serif">University of Georgia</span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:medium; margin:0in 0in 0.0001pt">
<span style="color:rgb(0,0,0)">--------------------------------------</span><br>
</p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:medium; margin:0in 0in 0.0001pt">
<span style="color:rgb(0,0,0); font-family:"Times New Roman",Times,serif">E</span><span style="font-family:"Times New Roman",Times,serif">mail:</span><span style="font-family:"Times New Roman",Times,serif; color:rgb(149,79,114)"><a href="mailto:mona.a@uga.edu" style="font-family:"Times New Roman",serif; color:rgb(149,79,114)">mona.a@uga.ed</a>u<a href="mailto:mona.a@uga.edu"></a></span><span style="font-family:"Times New Roman",Times,serif"> </span><span style="font-family: "Times New Roman", Times, serif; background: var(--white);">
</span></p>
<p class="MsoNormal" style="margin-top: 0px; margin-bottom: 0px;color:rgb(0,0,0); font-family:Calibri,sans-serif; font-size:medium">
<br>
</p>
</div>
</div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt">
<div class="PlainText">Message: 2<br>
Date: Sun, 12 Jul 2020 17:19:10 -0700<br>
From: Stephen Zhang <lolzen@berkeley.edu><br>
To: users@lists.quantum-espresso.org<br>
Subject: [QE-users] Plotting Spin up and Spin down bands?<br>
Message-ID:<br>
<CAM3V+-9NiTZDou0Hhjoai9uyxww1iATAAty5qi_qs3n9Dse+mw@mail.gmail.com><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi everyone,<br>
<br>
Does anyone know how to plot separate spin up and spin down bands after<br>
doing a bands calculation for pw.x? After running bands.x I get the error<br>
<br>
The bands code with constrained magnetism has not been tested<br>
<br>
Does anyone know any work around?<br>
<br>
Thanks<br>
<br>
</div>
</span></font></div>
</body>
</html>