<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Thank you Stefan, this works wonders,</p>
    <p>Best,</p>
    <p>Arnold<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">Le 14/12/2016 à 17:34,
      <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a> a écrit :<br>
    </div>
    <blockquote
      cite="mid:mailman.7703.1481726057.3602.nek5000-users@lists.mcs.anl.gov"
      type="cite">
      <pre wrap="">Just call nekgsync()

Cheers,
Stefan

 
-----Original message-----
</pre>
      <blockquote type="cite">
        <pre wrap=""><a class="moz-txt-link-abbreviated" href="mailto:From:nek5000-users@lists.mcs.anl.gov">From:nek5000-users@lists.mcs.anl.gov</a> <a class="moz-txt-link-rfc2396E" href="mailto:nek5000-users@lists.mcs.anl.gov"><nek5000-users@lists.mcs.anl.gov></a>
Sent: Wednesday 14th December 2016 17:32
To: <a class="moz-txt-link-abbreviated" href="mailto:nek5000-users@lists.mcs.anl.gov">nek5000-users@lists.mcs.anl.gov</a>
Subject: [Nek5000-users] How to call mpi_barrier in usrcheck

    Hi Neks,
    
    I am currently facing a problem where I need to synchronize all my
    processors when I'm reading and writing files. Otherwise I would get
    an error of type 'end of file'.
    
    Can someone explain to me how to use the command call MPI_BARRIER
    with an example of syntax that I would integrate to the usr check.
    
    Thank you in advance,
    
    Best regards,
    
    Arnold
Arnold
                Wakim
              Doctorant,
              Département
              d´Aérodynamique
            Fondamentale
              et Expérimentale
              Tél:
              +33 1 46 23 51 83

                  ONERA - The
                  French Aerospace Lab -Centre de Meudon
                  8, rue des Vertugadins
                  - 92190 MEUDON
                  
                  Nous suivre sur : <a class="moz-txt-link-abbreviated" href="http://www.onera.fr">www.onera.fr</a> <a class="moz-txt-link-rfc2396E" href="http://www.onera.fr/"><http://www.onera.fr/></a> | Twitter <a class="moz-txt-link-rfc2396E" href="http://www.twitter.com/@onera_fr"><http://www.twitter.com/@onera_fr></a> | 
                    LinkedIn <a class="moz-txt-link-rfc2396E" href="http://www.linkedin.com/company/onera"><http://www.linkedin.com/company/onera></a> | Facebook <a class="moz-txt-link-rfc2396E" href="http://www.facebook.fr/thefrenchaerospacelab"><http://www.facebook.fr/thefrenchaerospacelab></a>_______________________________________________
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>
      <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>
    <div class="moz-signature">-- <br>
      <meta http-equiv="content-type" content="text/html; charset=utf-8">
      <title></title>
      <meta name="generator" content="LibreOffice 4.2.8.2 (Linux)">
      <meta name="created" content="0;0">
      <meta name="changedby" content="Arnold Wakim">
      <meta name="changed" content="20161121;151408873400335">
      <style type="text/css">
        <!--
                p { color: #000000 }
        -->
        </style>
      <p><img src="cid:part1.E8D5E4FB.764C7123@onera.fr" name="Image1"
          align="left" border="0" height="35" width="70"><strong><font
            color="#0668b3"><font face="Arial, Helvetica, sans-serif"><font
                style="font-size: 9pt" size="2">Arnold
                Wakim</font></font></font></strong><font color="#0668b3"><font
            face="Arial, Helvetica, sans-serif"><font style="font-size:
              9pt" size="2"><br>
              Doctorant,<br>
              Département
              d´</font></font></font><font color="#0668b3"><font
            face="Arial, Helvetica, sans-serif"><font style="font-size:
              9pt" size="2">A</font></font></font><font color="#0668b3"><font
            face="Arial, Helvetica, sans-serif"><font style="font-size:
              9pt" size="2">érodynamique
            </font></font></font><font color="#0668b3"><font
            face="Arial, Helvetica, sans-serif"><font style="font-size:
              9pt" size="2">F</font></font></font><font color="#0668b3"><font
            face="Arial, Helvetica, sans-serif"><font style="font-size:
              9pt" size="2">ondamentale
              et </font></font></font><font color="#0668b3"><font
            face="Arial, Helvetica, sans-serif"><font style="font-size:
              9pt" size="2">E</font></font></font><font color="#0668b3"><font
            face="Arial, Helvetica, sans-serif"><font style="font-size:
              9pt" size="2">xpérimentale<br>
              Tél:
              +33 1 46 23 51 83</font></font></font></p>
      <p class="paraph"><font color="#000000"><span
            style="text-decoration: none"><font face="Arial, Helvetica,
              sans-serif"><font style="font-size: 8pt" size="1"><span
                  style="font-weight: normal"><br>
                  ONERA - The
                  French Aerospace Lab -Centre de Meudon<br>
                  8, rue des Vertugadins
                  - 92190 MEUDON<br>
                  <br>
                  Nous suivre sur : </span></font></font></span></font><a
          href="http://www.onera.fr/" target="_blank"><font
            color="#0668b3"><span style="text-decoration: none"><font
                face="Arial, Helvetica, sans-serif"><font
                  style="font-size: 8pt" size="1"><span
                    style="font-weight: normal">www.onera.fr</span></font></font></span></font></a><font
          color="#000000"><span style="text-decoration: none"><font
              face="Arial, Helvetica, sans-serif"><font
                style="font-size: 8pt" size="1"><span
                  style="font-weight: normal"> | </span></font></font></span></font><a
          href="http://www.twitter.com/@onera_fr" target="_blank"><font
            color="#0668b3"><span style="text-decoration: none"><font
                face="Arial, Helvetica, sans-serif"><font
                  style="font-size: 8pt" size="1"><span
                    style="font-weight: normal">Twitter</span></font></font></span></font></a><font
          color="#000000"><span style="text-decoration: none"><font
              face="Arial, Helvetica, sans-serif"><font
                style="font-size: 8pt" size="1"><span
                  style="font-weight: normal"> | </span></font></font></span></font><a
          href="http://www.linkedin.com/company/onera" target="_blank"><font
            color="#0668b3"><span style="text-decoration: none"><font
                face="Arial, Helvetica, sans-serif"><font
                  style="font-size: 8pt" size="1"><span
                    style="font-weight: normal">
                    LinkedIn</span></font></font></span></font></a><font
          color="#000000"><span style="text-decoration: none"><font
              face="Arial, Helvetica, sans-serif"><font
                style="font-size: 8pt" size="1"><span
                  style="font-weight: normal"> | </span></font></font></span></font><a
          href="http://www.facebook.fr/thefrenchaerospacelab"
          target="_blank"><font color="#0668b3"><span
              style="text-decoration: none"><font face="Arial,
                Helvetica, sans-serif"><font style="font-size: 8pt"
                  size="1"><span style="font-weight: normal">Facebook</span></font></font></span></font></a></p>
    </div>
  </body>
</html>