<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Dear Paul, <br>
    <br>
    I use the ' nekbmpi ' scripts from the tools/script and nothing
    else.<br>
    <br>
    I guess the some where the PATH variable to working directory is
    getting changed. It's weird the same code works properly on my
    ubuntu and not my Mac. <br>
    <br>
    Thank you,<br>
    Kamal <br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 14/04/2014 15:49,
      <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a> wrote:<br>
    </div>
    <blockquote
      cite="mid:mailman.5486.1397483368.3880.nek5000-users@lists.mcs.anl.gov"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <style type="text/css" id="owaParaStyle"></style>
      <div style="direction: ltr;font-family: Tahoma;color:
        #000000;font-size: 10pt;">
        <div><br>
        </div>
        <div>Hi Kamal,</div>
        <div><br>
        </div>
        If you use one of the nek scripts in tools/scripts (e.g., nek,
        nekb, nekmpi, nekbmpi, etc.), the
        <div>path issues should be resolved for you.  That's the normal
          approach.  I believe some of this </div>
        <div>is outlined in the "quick start" section of the manual.</div>
        <div><br>
        </div>
        <div>Best, Paul</div>
        <div><br>
        </div>
        <div>
          <div style="font-family: Times New Roman; color: #000000;
            font-size: 16px">
            <hr tabindex="-1">
            <div id="divRpF413831" style="direction: ltr;"><font
                color="#000000" face="Tahoma" size="2"><b>From:</b>
                <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users-bounces@lists.mcs.anl.gov">nek5000-users-bounces@lists.mcs.anl.gov</a>
                [<a class="moz-txt-link-abbreviated" href="mailto:nek5000-users-bounces@lists.mcs.anl.gov">nek5000-users-bounces@lists.mcs.anl.gov</a>] on behalf of
                <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>
                [<a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>]<br>
                <b>Sent:</b> Sunday, April 13, 2014 6:55 AM<br>
                <b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a><br>
                <b>Subject:</b> Re: [Nek5000-users] Restart option
                failed<br>
              </font><br>
            </div>
            <div>Hello Neks, <br>
              <br>
              I figured out where the error of restart fail comes from.
              Its because the code is not looking in to the working
              directory for the file.<br>
              <br>
              <br>
              In " byte.c " file I made a small change to the byte_read
              () function, instead of having the variable " name " I
              changed it to the path of my restart file 
              <br>
----------------------------------------------------------------------------------------------------<br>
              if (!fp)<br>
                {<br>
                   if
(!(fp=fopen("/home/2014012/jpeixi01/neksamples/eddy/eddy_uv0.f00012","rb")))<br>
                   {<br>
                      printf("%s\n",name);<br>
                      printf("byte_read() :: fopen failure2!\n"); <br>
                      *ierr=1;<br>
                      return;<br>
                   }<br>
                   flag=READ;<br>
                }<br>
-----------------------------------------------------------------------------------------------------<br>
              <br>
              this worked for me. <br>
              <br>
              Now I would like to know why is the code not looking into
              the working directory, If so where do I change it to
              overcome this problem so that I don't have to change the
              path every single time.
              <br>
              <br>
              <br>
              Thanks a lot,<br>
              BOW <br>
              <br>
              <br>
              <br>
              <div class="moz-cite-prefix">On 11/04/2014 17:43, <a
                  moz-do-not-send="true"
                  class="moz-txt-link-abbreviated"
                  href="mailto:nek5000-users@lists.mcs.anl.gov"
                  target="_blank">
                  nek5000-users@lists.mcs.anl.gov</a> wrote:<br>
              </div>
              <blockquote type="cite">
                <p dir="ltr">Hi,</p>
                <p dir="ltr">Is your restart file a 0.f00000 format? <br>
                  If the param (67) is not set in the .usr file, the
                  default is set to 0 . f00000. 
                  <br>
                </p>
                <p dir="ltr">Katie</p>
                <p dir="ltr">Katie</p>
                <div class="gmail_quote">On Apr 11, 2014 9:56 AM, <<a
                    moz-do-not-send="true"
                    href="mailto:nek5000-users@lists.mcs.anl.gov"
                    target="_blank">nek5000-users@lists.mcs.anl.gov</a>>
                  wrote:<br type="attribution">
                  <blockquote class="gmail_quote" style="margin:0 0 0
                    .8ex; border-left:1px #ccc solid; padding-left:1ex">
                    <div bgcolor="#FFFFFF">Hi Paul, <br>
                      <br>
                      I don't change parameters through the .usr file. 
                      <br>
                      Thank you <br>
                      <br>
                      Kamal<br>
                       <br>
                      <div>On 11/04/2014 16:52, <a
                          moz-do-not-send="true"
                          href="mailto:nek5000-users@lists.mcs.anl.gov"
                          target="_blank">
                          nek5000-users@lists.mcs.anl.gov</a> wrote:<br>
                      </div>
                      <blockquote type="cite">
                        <div style="direction:ltr; font-size:10pt;
                          font-family:Tahoma"><br>
                          Hi Kamal,<br>
                          <br>
                          Make certain tey aren't reset in your .usr
                          file.<br>
                          <br>
                          Best, Paul<br>
                          <br>
                          <div style="font-size:16px; font-family:Times
                            New Roman">
                            <hr>
                            <div style="direction:ltr"><font
                                color="#000000" face="Tahoma"><b>From:</b>
                                <a moz-do-not-send="true"
                                  href="mailto:nek5000-users-bounces@lists.mcs.anl.gov"
                                  target="_blank">
nek5000-users-bounces@lists.mcs.anl.gov</a> [<a moz-do-not-send="true"
                                  href="mailto:nek5000-users-bounces@lists.mcs.anl.gov"
                                  target="_blank">nek5000-users-bounces@lists.mcs.anl.gov</a>]
                                on behalf of
                                <a moz-do-not-send="true"
                                  href="mailto:nek5000-users@lists.mcs.anl.gov"
                                  target="_blank">nek5000-users@lists.mcs.anl.gov</a>
                                [<a moz-do-not-send="true"
                                  href="mailto:nek5000-users@lists.mcs.anl.gov"
                                  target="_blank">nek5000-users@lists.mcs.anl.gov</a>]<br>
                                <b>Sent:</b> Thursday, April 10, 2014
                                9:09 AM<br>
                                <b>To:</b> <a moz-do-not-send="true"
                                  href="mailto:nek5000-users@lists.mcs.anl.gov"
                                  target="_blank">nek5000-users@lists.mcs.anl.gov</a><br>
                                <b>Subject:</b> Re: [Nek5000-users]
                                Restart option failed<br>
                              </font><br>
                            </div>
                            <div><br>
                              Hi JC, <br>
                              <br>
                              Thanks for the reply<br>
                              <br>
                              The parameters are positive <br>
                                 0.00000     p064 =1 --> perturbation
                              restart<br>
                                 1.00000     p065 #iofiles (eg, 0 or
                              64); <0 --> sep. dirs<br>
                                 6.00000     p066 output : <0=ascii,
                              else binary<br>
                                 6.00000     p067 restart: <0=ascii,
                              else binary<br>
                              <br>
                              Regards,<br>
                              Kamal <br>
                              <br>
                              <br>
                              <div>On 11/04/2014 14:18, <a
                                  moz-do-not-send="true"
                                  href="mailto:nek5000-users@lists.mcs.anl.gov"
                                  target="_blank">
                                  nek5000-users@lists.mcs.anl.gov</a>
                                wrote:<br>
                              </div>
                              <blockquote type="cite">
                                <div dir="ltr">
                                  <div>Hi Kamal,<br>
                                    <br>
                                    Check out the parameters 64 or 65 in
                                    your .rea file. It is very likely
                                    that it is set to -4 instead of a
                                    positive number.<br>
                                    <br>
                                  </div>
                                  Cheers,<br>
                                  JC<br>
                                </div>
                                <div class="gmail_extra"><br>
                                  <br>
                                  <div class="gmail_quote">2014-04-10
                                    14:13 GMT+02:00 <span dir="ltr"><<a
                                        moz-do-not-send="true"
                                        href="mailto:nek5000-users@lists.mcs.anl.gov"
                                        target="_blank">nek5000-users@lists.mcs.anl.gov</a>></span>:<br>
                                    <blockquote class="gmail_quote"
                                      style="margin:0 0 0 .8ex;
                                      border-left:1px #ccc solid;
                                      padding-left:1ex">
                                      Hello Neks,<br>
                                      <br>
                                      I tried to restart my simulation
                                      from a previous output *.f file
                                      but it failed<br>
                                      <br>
                                      I set the restart option in *.rea
                                      to 1 and added the file name.<br>
                                      <br>
                                      Could some please tell me what
                                      might be the possible cause for
                                      this ?<br>
                                      <br>
***********************************************************************<br>
                                       nekuic (1) for ifld            1<br>
                                       Reading checkpoint data<br>
                                             0       0 OPEN:
                                      extens0.f00250<br>
                                      extens0.f00250<br>
                                      byte_read() :: fopen failure2!<br>
                                      ERROR: Error reading restart
                                      header in mfi_prepare  ierr=  1<br>
                                      <br>
                                      call exitt: dying ...<br>
                                      <br>
************************************************************************<br>
                                      <br>
                                      Thanks in advance.<br>
                                      <br>
                                      Kamal<br>
                                      <br>
_______________________________________________<br>
                                      Nek5000-users mailing list<br>
                                      <a moz-do-not-send="true"
                                        href="mailto:Nek5000-users@lists.mcs.anl.gov"
                                        target="_blank">Nek5000-users@lists.mcs.anl.gov</a><br>
                                      <a moz-do-not-send="true"
                                        href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users"
                                        target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
                                    </blockquote>
                                  </div>
                                  <br>
                                  <br clear="all">
                                  <br>
                                  -- <br>
                                  <div dir="ltr">Jean-Christophe Loiseau<br>
                                    <a moz-do-not-send="true"
                                      href="https://sites.google.com/site/loiseaujc/"
                                      target="_blank">Homepage</a><br>
                                  </div>
                                </div>
                                <br>
                                <fieldset target="_blank"></fieldset>
                                <br>
                                <pre>_______________________________________________
Nek5000-users mailing list
<a moz-do-not-send="true" href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a>
<a moz-do-not-send="true" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre>
                              </blockquote>
                              <br>
                            </div>
                          </div>
                        </div>
                        <br>
                        <fieldset target="_blank"></fieldset>
                        <br>
                        <pre>_______________________________________________
Nek5000-users mailing list
<a moz-do-not-send="true" href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a>
<a moz-do-not-send="true" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre>
                      </blockquote>
                      <br>
                    </div>
                    <br>
                    _______________________________________________<br>
                    Nek5000-users mailing list<br>
                    <a moz-do-not-send="true"
                      href="mailto:Nek5000-users@lists.mcs.anl.gov"
                      target="_blank">Nek5000-users@lists.mcs.anl.gov</a><br>
                    <a moz-do-not-send="true"
                      href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users"
                      target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a><br>
                    <br>
                  </blockquote>
                </div>
                <br>
                <fieldset class="mimeAttachmentHeader" target="_blank"></fieldset>
                <br>
                <pre>_______________________________________________
Nek5000-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Nek5000-users@lists.mcs.anl.gov" target="_blank">Nek5000-users@lists.mcs.anl.gov</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users" target="_blank">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre>
              </blockquote>
              <br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Nek5000-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nek5000-users@lists.mcs.anl.gov">Nek5000-users@lists.mcs.anl.gov</a>
<a class="moz-txt-link-freetext" href="https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users">https://lists.mcs.anl.gov/mailman/listinfo/nek5000-users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>