<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi
<div><br>
</div>
<div>I am a beginner in WIEN2k. After running &nbsp;parallel WIEN2k, I &nbsp;tried to use case.energy file for optics run i.e. x lapw2 -fermi -c, but it fails with error. When I checked the case.energy file it was empty. The data was written on subnode files such as
 case.energy_1, case.energy_2 etc. &nbsp;Catenating them won't be a good idea. But, I think all these data should be reduced to the headnode file i.e. case.energy. I used the following submission script. Could anyone please tell me how to solve this problem.</div>
<div>
<div>#! /bin/bash</div>
<div>#PBS -N Work</div>
<div>#PBS -o wien2k.out</div>
<div>#PBS -e wien2k.err</div>
<div>#PBS -j oe</div>
<div>#PBS -m abe</div>
<div>#PBS -l walltime=100:20:00</div>
<div>#PBS -l nodes=4:ppn=8</div>
<div>#PBS -l pmem=7gb</div>
<div>#PBS -q submit</div>
<div><br>
</div>
<div>module load intel openmpi wien2k</div>
<div><br>
</div>
<div>cd $PBS_O_WORKDIR</div>
<div><br>
</div>
<div><br>
</div>
<div>#----------- writing .machine file -------------</div>
<div>rm .machines*</div>
<div>echo '#' &gt; .machines</div>
<div>echo &quot;granularity:1&quot; &gt; .machines</div>
<div>echo &quot;extrafine:1&quot; &gt;&gt; .machines</div>
<div>#nodes=$(cat $PBS_NODEFILE)</div>
<div>#for node in $nodes; do</div>
<div># &nbsp;echo 1:$node &gt;&gt; .machines</div>
<div>#done</div>
<div><br>
</div>
<div>awk '{print &quot;1:&quot;$1&quot;:1&quot;}' $PBS_NODEFILE &gt;&gt; .machines</div>
<div><br>
</div>
<div>run_lapw -p</div>
</div>
<div><br>
</div>
<div>Best Regards</div>
<div>Kamal Choudhary</div>
<div>University of Florida</div>
<div><br>
</div>
</div>
</body>
</html>