<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    ^M: Command not found. - Most likely the file "opticpara_lapw" was
    transferred from Windows to the Linux system.<br>
    <br>
    To remove the Windows carriage returns in the file (^M), try the
    following command in the Linux terminal:<br>
    <br>
    dos2unix $WIENROOT/opticpara_lapw<br>
    <br>
    If you don't have "dos2unix" on your system, some other methods are
    described at:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://kb.iu.edu/data/acux.html">http://kb.iu.edu/data/acux.html</a><br>
    <br>
    On 6/6/2012 10:27 AM, soumyajyoti haldar wrote:
    <blockquote
cite="mid:CAJhMXPC4FDhJ9n9J5jPav=F6YvdnBY4zsYSYiCGCkDVU50EgKw@mail.gmail.com"
      type="cite">Dear Prof. Blaha and other users, <br>
      <br>
      I am trying to run x optic -p with the new file you provided. I am
      getting following error <br>
      <br>
      Commandline: x optic -p<br>
      Program input is: ""<br>
      <br>
      ^M: Command not found.<br>
      foreach: Words not parenthesized.<br>
      0.0u 0.0s 0:00.00 0.0% 0+0k 0+0io 0pf+0w<br>
      error: command&nbsp;&nbsp; /home/shaldar/codes/wien2k/opticpara optic.def&nbsp;&nbsp;
      failed<br>
      <br>
      <br>
      Particularly this error comes during the parallel execution of the
      code. Serial version does not produce this error. <br>
      <br>
      <div class="gmail_quote">On Wed, Jun 6, 2012 at 8:56 AM, Peter
        Blaha <span dir="ltr">&lt;<a moz-do-not-send="true"
            href="mailto:pblaha@theochem.tuwien.ac.at" target="_blank">pblaha@theochem.tuwien.ac.at</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="margin:0 0 0
          .8ex;border-left:1px #ccc solid;padding-left:1ex">
          Here is the modified &nbsp; opticpara_lapw<br>
          <br>
          <br>
          Am 05.06.2012 19:36, schrieb soumyajyoti haldar:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            Dear Prof. Blaha,<br>
            <br>
            How we can get the modified file? Will you update the file
            after modification in the download section of the site ?
            <div class="im"><br>
              <br>
              On Tue, Jun 5, 2012 at 3:56 PM, Peter Blaha &lt;<a
                moz-do-not-send="true"
                href="mailto:pblaha@theochem.tuwien.ac.at"
                target="_blank">pblaha@theochem.tuwien.ac.at</a>
              &lt;mailto:<a moz-do-not-send="true"
                href="mailto:pblaha@theochem.tuwien.ac.at"
                target="_blank">pblaha@theochem.tuwien.ac.at</a>&gt;&gt;
              wrote:<br>
              <br>
              &nbsp; &nbsp;You are absolutely right. $SCRATCH is not used
              consistently in x_lapw and opticpara<br>
              <br>
              &nbsp; &nbsp;I'll add ${scratch} in front of all
              $case.symmat_$i$updn lines (and similar for other files)<br>
              &nbsp; &nbsp;in opticpara_lapw.<br>
            </div>
          </blockquote>
          <br>
          <div class="HOEnZb">
            <div class="h5">
              -- <br>
              <br>
              &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;P.Blaha<br>
              --------------------------------------------------------------------------<br>
              Peter BLAHA, Inst.f. Materials Chemistry, TU Vienna,
              A-1060 Vienna<br>
              Phone: <a moz-do-not-send="true"
                href="tel:%2B43-1-58801-165300" value="+43158801165300"
                target="_blank">+43-1-58801-165300</a> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; FAX:
              <a moz-do-not-send="true" href="tel:%2B43-1-58801-165982"
                value="+43158801165982" target="_blank">+43-1-58801-165982</a><br>
              Email: <a moz-do-not-send="true"
                href="mailto:blaha@theochem.tuwien.ac.at"
                target="_blank">blaha@theochem.tuwien.ac.at</a> &nbsp; &nbsp;WWW:
              <a moz-do-not-send="true"
                href="http://info.tuwien.ac.at/theochem/"
                target="_blank">http://info.tuwien.ac.at/theochem/</a><br>
              --------------------------------------------------------------------------<br>
            </div>
          </div>
          <br>
          _______________________________________________<br>
          Wien mailing list<br>
          <a moz-do-not-send="true"
            href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a><br>
          <a moz-do-not-send="true"
            href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien"
            target="_blank">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a><br>
          <br>
        </blockquote>
      </div>
      <br>
      <br clear="all">
      <br>
      -- <br>
      Soumyajyoti Haldar, PhD Student<br>
      <br>
      Department of Physics and Astronomy, Materials Theory<br>
      &Aring;ngstr&ouml;m Laboratory, Office &Aring;13235 | Uppsala University<br>
      Box 516, SE-75120, Uppsala, SWEDEN<br>
      <br>
      Phone: (+46) 18 471 5860<br>
      Mobile: (+46) 070 0399 394<br>
      <a moz-do-not-send="true"
        href="http://www.physics.uu.se/en/page/soumyajyoti-haldar"
        target="_blank">http://www.physics.uu.se/en/page/soumyajyoti-haldar</a><br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Wien mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Wien@zeus.theochem.tuwien.ac.at">Wien@zeus.theochem.tuwien.ac.at</a>
<a class="moz-txt-link-freetext" href="http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien">http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>