<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=Windows-1252">
<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:11.0pt;
font-family:"Calibri",sans-serif;}
.MsoChpDefault
{mso-style-type:export-only;}
@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-GB" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Dear all,</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have been running calculations on iron selenide using WIEN2k 21.1 on my local HPC facility, including an external magnetic field. However, when I run these calculations using the command:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">runsp_lapw -so -orbext -cc 0.00001 -ec 0.00001</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">‘runsp_lapw’ crashes when it tries to execute ‘read_vorb_files’. The error message is that ‘Variable name must contain alphanumeric characters’.</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After some digging, I found where I believe the error was originating. In ‘x_lapw’, when the variable ‘exe’ is being set for the ‘read_vorb_files’ command (around l. 1055), the variable ‘def’ is reset incorrectly, using the line:</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">set $def</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">This has the effect of trying to set a variable whose name is the current value of ‘def’, which is presumably not the intended action, particularly as the current value of ‘def’ contains the character ‘.’, which is not allowed in variable
names. </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">By changing the above line to </p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">set def</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">which is in-line with the rest of the script, I have found that the calculation now proceeds without crashing.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I hope that this is helpful – please let me know if I have something incorrect, or if the above code actually works as intended. I am using tcsh v6.20, if that affects how this piece of code runs.
</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Best wishes,</p>
<p class="MsoNormal">Joseph Prentice</p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Cooksey Early Career Teaching and Research Fellow<o:p></o:p></p>
<p class="MsoNormal">St Edmund Hall and Department of Materials<o:p></o:p></p>
<p class="MsoNormal">University of Oxford<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>