<div dir="auto">Hi Mona,<div dir="auto"><br><div dir="auto">Thank you for your response, I'll give it a try and let everyone know what happens!</div><div dir="auto"><br></div><div dir="auto">Stephen </div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jul 13, 2020, 6:12 AM Mona Asadinamin <<a href="mailto:Mona.a@uga.edu">Mona.a@uga.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div 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"><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="m_-3961427429424522019Signature">
<div id="m_-3961427429424522019divtagdefaultwrapper" 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)" target="_blank" rel="noreferrer">mona.a@uga.ed</a>u<a href="mailto:mona.a@uga.edu" target="_blank" rel="noreferrer"></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><font size="2"><span style="font-size:11pt">
<div>Message: 2<br>
Date: Sun, 12 Jul 2020 17:19:10 -0700<br>
From: Stephen Zhang <<a href="mailto:lolzen@berkeley.edu" target="_blank" rel="noreferrer">lolzen@berkeley.edu</a>><br>
To: <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">users@lists.quantum-espresso.org</a><br>
Subject: [QE-users] Plotting Spin up and Spin down bands?<br>
Message-ID:<br>
<<a href="mailto:CAM3V%2B-9NiTZDou0Hhjoai9uyxww1iATAAty5qi_qs3n9Dse%2Bmw@mail.gmail.com" target="_blank" rel="noreferrer">CAM3V+-9NiTZDou0Hhjoai9uyxww1iATAAty5qi_qs3n9Dse+mw@mail.gmail.com</a>><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>
</div>
_______________________________________________<br>
Quantum ESPRESSO is supported by MaX (<a href="http://www.max-centre.eu/quantum-espresso" rel="noreferrer noreferrer" target="_blank">www.max-centre.eu/quantum-espresso</a>)<br>
users mailing list <a href="mailto:users@lists.quantum-espresso.org" target="_blank" rel="noreferrer">users@lists.quantum-espresso.org</a><br>
<a href="https://lists.quantum-espresso.org/mailman/listinfo/users" rel="noreferrer noreferrer" target="_blank">https://lists.quantum-espresso.org/mailman/listinfo/users</a></blockquote></div>