Dear Developers and users,<br>When i am trying to run one simple script, i get the Segmentation fault (core dumped) for the two value (9.8 and 9.9) of alat.<br>The following script which i am using <br>#!/bin/sh<br>####################################################################<br>
#<br># define the following variables according to your needs<br>#<br>#espresso_dir=/home/bramha/espresso-5.0.1<br>#outdir1=/home/bramha/tmp<br>#pseudo_dir=/home/bramha/espresso-5.0.1/pseudo<br>####################################################################<br>
   <br>for alat in   9.8 9.9  10.0 10.1 10.2 10.3 10.4 10.5 10.6 10.7  ; do<br><br># self-consistent calculation<br>cat &gt; <a href="http://si.scf.in">si.scf.in</a> &lt;&lt; EOF<br> &amp;control<br>restart_mode=&#39;from_scratch&#39;,<br>
    prefix=&#39;silicon&#39;,<br>    pseudo_dir = &#39;/home/bramha/espresso-5.0.1/pseudo&#39;,<br>    outdir=&#39;/home/bramha/tmp&#39;<br> /<br> &amp;system    <br>    ibrav=  2, celldm(1) =$alat, nat=  2, ntyp= 1,<br>    ecutwfc = 20.0, <br>
 /<br> &amp;electrons<br> /<br>ATOMIC_SPECIES<br> Si  28.086  Si.pz-vbc.UPF<br>ATOMIC_POSITIONS<br> Si 0.00 0.00 0.00 <br> Si 0.25 0.25 0.25 <br>K_POINTS automatic<br>   4 4 4 1 1 1<br>EOF<br><br>/home/bramha/espresso-5.0.1/bin/pw.x &lt; <a href="http://si.scf.in">si.scf.in</a> &gt; si.scf.out<br>
<br>grep -e &#39;lattice parameter&#39; -e ! si.scf.out | \<br>     awk &#39;/lattice/{alat=$(NF-1)}/!/{print alat, $(NF-1)}&#39; &gt;&gt; si.etot_vs_alat<br><br>done<br clear="all"><br>Please any type of comments are appreciated.<br>
<br>-- <br>Thanks and Regards<br>Bramha Prasad Pandey<br>Ph.D Student Indian School of Mines(ISM)<br>Dhanbad, INDIA.<br><br>