The code is telling that he is not recognizing the input variable &quot;calculation&quot;, are you sure that you are running epsilon.x and not projwfc.x?<br><br>becouse in your job you wrote:<br><br><pre>$PROJWFC_COMMAND &lt;  MgO_eps.in &gt; MgO_eps.out</pre>
best regards<br><br>Layla<br><br><div class="gmail_quote">2012/4/18 debbichi mourad <span dir="ltr">&lt;<a href="mailto:mourad_fsm@yahoo.fr">mourad_fsm@yahoo.fr</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div style="font-size:12pt;font-family:times new roman,new york,times,serif"><pre>Dear PWScf Users,<br><br>I try to do the dielectric function calculations. At first I did the<br>scf-calculation. After using the code epsilon.x, <i>I gives the following error message</i> :<br>
<br><span style="font-style:italic">running epsilon.x ...Cannot match namelist object name calculation</span><br style="font-style:italic"><span style="font-style:italic">namelist read: missplaced = sign</span><br style="font-style:italic">
<span style="font-style:italic">Cannot match namelist object name eps&#39;</span><br><br> Why such a problem occurs?<br><br> My input files is as following: <br><br>cat &gt; <a href="http://MgO.scf.in" target="_blank">MgO.scf.in</a> &lt;&lt; EOF<br>
 &amp;control<br>    calculation=&#39;scf&#39;<br> restart_mode=&#39;from_scratch&#39;,<br>       prefix=&#39;MgO&#39;<br>    pseudo_dir = &#39;$PSEUDO_DIR/&#39;,<br>    outdir=&#39;$TMP_DIR/&#39;<br>tstress=.true.<br>
 /<br><br>&amp;SYSTEM<br>                       ibrav = 4,<br>                    celldm(1) =6.11,<br>                   celldm(3) = 1.611, <br>                        nat = 4,<br>                        ntyp = 2,<br>                   <br>
  ecutwfc =50,<br>                          nspin = 2,<br> starting_magnetization(1)=0.7, starting_magnetization(2)=0.5,<br>  occupations=&#39;smearing&#39;, smearing=&#39;marzari-vanderbilt&#39;, degauss=0.02,<br> /<br> &amp;ELECTRONS<br>
                    conv_thr = 1.0d-10 ,<br>                 mixing_mode = &#39;plain&#39; ,<br>                 mixing_beta = 0.6,<br>             diagonalization = &#39;david&#39; ,<br> /<br>ATOMIC_SPECIES<br> Mg   24.3050  Mg.pz-n-vbc.UPF <br>
 O   15.99940   O.pz-mt.UPF<br><br>ATOMIC_POSITIONS Crystal<br>    Mg     0.666666667    0.333333333    0.000000000<br>    Mg     0.333333333    0.666666667    0.500000000<br>    O      0.666666667    0.333333333    0.380000000<br>
    O      0.333333333    0.666666667   
 0.880000000<br><br>K_POINTS automatic<br> 9 9 3 1 1 1  <br><br>EOF<br>$ECHO &quot;  running the scf calculation...\c&quot;<br>$PW_COMMAND &lt; <a href="http://MgO.scf.in" target="_blank">MgO.scf.in</a> &gt; MgO.scf.out<br>
check_failure $?<br>$ECHO &quot;<br> done&quot;<br>#########################################################<br> cat&gt; MgO_eps.in &lt;&lt; EOF<br> &amp;inputpp<br>     outdir=&#39;$TMP_DIR/&#39;<br>     prefix=&#39;MgO&#39;<br>
     calculation=&#39;eps&#39;<br>  /<br>  &amp;energy_grid<br>     smeartype=&#39;gauss&#39;<br>     intersmear=0.15d0<br>      wmin     = 0.0d0<br>     wmax=30.0d0<br>     nw=1000<br>     shift=0.0d0<br>      intrasmear   = 0.0d0<br>
  /<br>EOF<br><br>$ECHO &quot;  running epsilon.x ...\c&quot;<br>$PROJWFC_COMMAND &lt;  MgO_eps.in &gt; MgO_eps.out<br>check_failure $?<br>$ECHO &quot; done&quot;<br><br>Sincerely<span class="HOEnZb"><font color="#888888"><br>
</font></span></pre><span class="HOEnZb"><font color="#888888"><div> </div><div>DEBBICHI Mourad<br>Unité de Recherche Physique des Solides,99/UR/13-19,<br>Département de Physique, Faculté des Science de Monastir,<br>Avenue de l&#39;Environnement 5019, Monastir
 Tunisie.<br>tél:<a href="tel:%2B21697487042" value="+21697487042" target="_blank">+21697487042</a><br><a href="mailto:mourad_fsm@yahoo.fr" target="_blank">mourad_fsm@yahoo.fr</a></div></font></span></div></div><br>_______________________________________________<br>

Pw_forum mailing list<br>
<a href="mailto:Pw_forum@pwscf.org">Pw_forum@pwscf.org</a><br>
<a href="http://www.democritos.it/mailman/listinfo/pw_forum" target="_blank">http://www.democritos.it/mailman/listinfo/pw_forum</a><br>
<br></blockquote></div><br>