<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    The error may be coming from line 702 in $WIENROOT/runafm_lapw:<br>
    <br>
    !if (! $?cc_test) goto nextiter<br>
    <br>
    The symbol ! I think is for history substitution in csh [1] but
    someone may have intended it to be a comment symbol # [2] as the !
    is comment symbol in Fortran [3].<br>
    <br>
    You might see if the error goes away by changing the line to:<br>
    <br>
    #if (! $?cc_test) goto nextiter<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="https://stackoverflow.com/questions/19174808/event-not-found-csh">https://stackoverflow.com/questions/19174808/event-not-found-csh</a><br>
    [2]
    <a class="moz-txt-link-freetext" href="http://www-cs.canisius.edu/ONLINESTUFF/UNIX/shellprogramming.html#A">http://www-cs.canisius.edu/ONLINESTUFF/UNIX/shellprogramming.html#A</a><br>
    [3] <a class="moz-txt-link-freetext" href="https://web.stanford.edu/class/me200c/tutorial_77/03_basics.html">https://web.stanford.edu/class/me200c/tutorial_77/03_basics.html</a><br>
    <br>
    <div class="moz-cite-prefix">On 9/14/2018 10:16 AM, Eric Kenney
      wrote:</div>
    <blockquote type="cite"
cite="mid:CACFwvBdxjjYOi5dFZhEwKa-jpwoE83cH7qzmKPaddZ2jX=VdWg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div>Sorry for the delay; Helium experiments happened and then
            I've been trying to debug.</div>
          <div><br>
          </div>
          <div>The Script I'm trying to run is runafm_lapw -cc 0.001</div>
          <div><br>
          </div>
          <div>I get a if:event not found after Mixer->clmcopy runs. 
            For example:</div>
          <div><br>
          </div>
          <div>runafm_lapw -cc 0.001 -NI<br>
            struct_afm_check END<br>
             LAPW0 END<br>
             LAPW1 END<br>
             LAPW2 END<br>
            clmcopy END<br>
             CORE  END<br>
             CORE  END<br>
             MIXER END<br>
            clmcopy END<br>
            if: Event not found.<br>
            <br>
          </div>
          <div><br>
          </div>
          <div>After some debugging, I can get runafm_lapw
            to run properly when <i>no options</i> are presented, but
            as soon as I submit convergence options, such as -ec or
            -cc.  <br>
          </div>
          <div><br>
          </div>
          <div>As a final note, I'm using a torque job scheduler, so
            adding in -xf or -f doesn't seem to enhance the stdout. <br>
          </div>
          <div><br>
          </div>
          <div>Message-ID:</div>
                  <<a
            href="mailto:fc97fd4f-4315-b61d-21cc-c33b133d767b@theochem.tuwien.ac.at"
            moz-do-not-send="true">fc97fd4f-4315-b61d-21cc-<wbr>c33b133d767b@theochem.tuwien.<wbr>ac.at</a>><br>
          Content-Type: text/plain; charset=utf-8; format=flowed<br>
          <br>
          Hi,<br>
          <br>
          I'm not aware of such a problem.<br>
          <br>
          To make it more clear:<br>
          <br>
          Which command are you using ?<br>
          <br>
            runafm  or   runsp    and which switches ??<br>
          <br>
          Put in the first line of the script you are using (eg. runafm)
          a -xf <br>
          instead of -f only.<br>
          <br>
          This will give you a lot of output at stdout, but the
          interesting part <br>
          is just at the end, because with this you can find where it
          happens.<br>
          <br>
          Regards<br>
        </div>
      </div>
    </blockquote>
    <blockquote type="cite"
cite="mid:CACFwvBdxjjYOi5dFZhEwKa-jpwoE83cH7qzmKPaddZ2jX=VdWg@mail.gmail.com"></blockquote>
  </body>
</html>