<p>
        <span style="font-size:16px;">Dear QE developers,</span> 
</p>
<p>
        <br>
</p>
<p>
        <span style="font-size:16px;">There seems to be a problem in the </span><span style="font-size:16px;">plotrho.f90 code(qe6.5, also in prev</span><span style="font-size:16px;">ious version</span><span style="font-size:16px;">), between line 93 and 99, as following:</span> 
</p>
<p>
        <br>
</p>
<p>
        <span style="font-size:16px;">  IF (rhomin > 0.d0) THEN</span><br>
<span style="font-size:16px;">     WRITE( stdout,'("Logarithmic scale (y/n)? > ")', advance="NO")</span><br>
<span style="font-size:16px;">     READ (5, '(a)') ans</span><br>
<span style="font-size:16px;">     logarithmic_scale = ans/='n'.and.ans/='N'</span><br>
<span style="font-size:16px;">  ELSE</span><br>
<span style="font-size:16px;">     logarithmic_scale = .false.</span><br>
<span style="font-size:16px;">  ENDIF</span> 
</p>
<p>
        <br>
</p>
<p>
        <span style="font-size:16px;">for the case rhomin < 0.d0 (may occur due to the error in</span><span style="font-size:16px;"> the numerical calculation</span><span style="font-size:16px;">), it won't read from the unit=5 file, </span> 
</p>
<p>
        <span style="font-size:16px;">which leads to the program</span><span style="font-size:16px;"> termination in the subsequent read</span><span style="font-size:16px;"> because of the wrong data type.</span> 
</p>
<p>
        <span style="font-size:16px;">So a tiny modification as follows can solve the problem</span> 
</p>
<p>
        <br>
</p>
<p>
        <span style="font-size:16px;">  IF (rhomin > 0.d0) THEN</span><br>
<span style="font-size:16px;">     WRITE( stdout,'("Logarithmic scale (y/n)? > ")', advance="NO")</span><br>
<span style="font-size:16px;">     READ (5, '(a)') ans</span><br>
<span style="font-size:16px;">     logarithmic_scale = ans/='n'.and.ans/='N'</span><br>
<span style="font-size:16px;">  ELSE</span> 
</p>
<p>
        <span style="font-size:16px;">      </span><span style="font-size:16px;">READ (5, '(a)') ans</span><span style="font-size:16px;"></span><br>
<span style="font-size:16px;">     logarithmic_scale = .false.</span><br>
<span style="font-size:16px;">  ENDIF</span>
</p>
<p>
        <span style="font-size:16px;"></span>
</p>
<p>
        <br>
</p>
<p>
        <br>
</p>
<p>
        <br>
</p>
<p>
        <span style="font-size:16px;">Best regards,</span>
</p>
<p>
        <span style="font-size:16px;">Jian-qi Huang</span><span style="font-size:16px;"> </span>
</p>
<p>
        <span style="font-size:16px;"></span> 
</p>
<br>
<br>
<br>
<span class="spnEditorSign">
<hr align="left" class="signature-separator" style="margin:0.5em 0;width:10em;height:1px;background-color:#999;border:none;">
<p>
        Jian-qi Huang
</p>
<p>
        <span style="display:inline !important;float:none;background-color:transparent;color:#000000;font-family:" 宋体="">Magnetism and Magnetic Materials Division</span><br style="background-color:transparent;box-sizing:content-box;color:#000000;font-family:&font-size:14px;font-style:normal;font-variant:normal;font-weight:400;height:auto;letter-spacing:normal;line-height:16.8px;margin-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px;orphans:2;overflow:visible;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;-webkit-text-stroke-width:0px;white-space:normal;width:auto;word-spacing:0px;word-wrap:break-word;">
<span style="display:inline !important;float:none;background-color:transparent;color:#000000;font-family:" 宋体="">Institute of Metal Research </span><br style="background-color:transparent;box-sizing:content-box;color:#000000;font-family:&font-size:14px;font-style:normal;font-variant:normal;font-weight:400;height:auto;letter-spacing:normal;line-height:16.8px;margin-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px;orphans:2;overflow:visible;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;-webkit-text-stroke-width:0px;white-space:normal;width:auto;word-spacing:0px;word-wrap:break-word;">
<span style="display:inline !important;float:none;background-color:transparent;color:#000000;font-family:" 宋体="">Chinese Academy of Sciences</span><br style="background-color:transparent;box-sizing:content-box;color:#000000;font-family:&font-size:14px;font-style:normal;font-variant:normal;font-weight:400;height:auto;letter-spacing:normal;line-height:16.8px;margin-bottom:0px;margin-left:0px;margin-right:0px;margin-top:0px;orphans:2;overflow:visible;padding-bottom:0px;padding-left:0px;padding-right:0px;padding-top:0px;text-align:left;text-decoration:none;text-indent:0px;text-transform:none;-webkit-text-stroke-width:0px;white-space:normal;width:auto;word-spacing:0px;word-wrap:break-word;">
<span style="display:inline !important;float:none;background-color:transparent;color:#000000;font-family:" 宋体="">72 Wenhua Road, Shenyang 110016, China</span> 
</p>
<p>
        <span style="display:inline !important;float:none;background-color:transparent;color:#000000;font-family:" 宋体="">email:<a href="mailto:jqhuang16b@imr.ac.cn">jqhuang16b@imr.ac.cn</a></span> 
</p>
<p>
        <span style="display:inline !important;float:none;background-color:transparent;color:#000000;font-family:" 宋体=""><br>
</span> 
</p>
</span>