Dear Dr.Mark<br>Thank you very much<br>you are right<br>I understood your mean exactly,<br><br><div class="gmail_quote">On Sun, Apr 10, 2011 at 12:44 PM, Mark Abraham <span dir="ltr">&lt;<a href="mailto:Mark.Abraham@anu.edu.au">Mark.Abraham@anu.edu.au</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">

  
    
  
  <div text="#000000" bgcolor="#ffffff"><div class="im">
    On 10/04/2011 6:04 PM, mohsen ramezanpour wrote:
    <blockquote type="cite">Dear Dr.Mark<br>
      <br>
      <div class="gmail_quote">On Sun, Apr 10, 2011 at 12:20 PM, Mark
        Abraham <span dir="ltr">&lt;<a href="mailto:Mark.Abraham@anu.edu.au" target="_blank">Mark.Abraham@anu.edu.au</a>&gt;</span>
        wrote:<br>
        <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
          <div>On 10/04/2011 5:40 PM, mohsen ramezanpour
            wrote:<br>
            <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
              Dear All<br>
              I used the following commands accoring to Extending
              Simulation in gromacs/Documentation/how-tos/Extending
              Simulation<br>
              to extend my simulation.<br>
              I entered:<br>
              <br>
              tpbconv  -s  npt-1.tpr    -extend  100  -o
              npt-1-extend.tpr<br>
              <br>
              nohup mpirun -np 4 mdrun -s  npt-1-extend.tpr  -cpi
               npt-1.cpt<br>
              <br>
              Ii run this command on a node with 4 cpu.<br>
              the result was these files:<br>
              confout.gro , state.cpt   ,md.log  , traj.trr
               ,state_prev.cpt  ,ener.edr ,<br>
              #confout.gro.1# ,#confout.gro.2# ,#confout.gro.3# ,#
              ener.edr.1# ,#ener.edr.2# ,#md.log.1 #,#traj.trr.1#
              ,#traj.trr.2# ,<br>
              <br>
              I extended 4 files on 4 distinct nodes!<br>
            </blockquote>
            <br>
          </div>
          That&#39;s not the behaviour you were looking for. You&#39;ve run the
          same .tpr four times, once on each CPU. This is because mdrun
          was not compiled with MPI. See the installation instructions.
          <div><br>
          </div>
        </blockquote>
        <div>I think I explained bad.let me explain it more:<br>
          Suppose I entered the above commands on just one node(with 4
          cpu) for npt-1.tpr (just one time I entered these commands)<br>
        </div>
      </div>
    </blockquote>
    <br></div>
    You seem to have used mpirun to run four different mdrun processes,
    each using the same .tpr, one on each cpu. You should be trying to
    run one mdrun_mpi using that .tpr, but all four cpus working on the
    same run.<br>
    <br>
    Look at the top few lines of your .log. That will tell you how many
    nodes mdrun thought it was running on. I think you will see
    &quot;NNODES=1&quot;. If so, don&#39;t use this mdrun with mpirun.<div class="im"><br>
    <br>
    <blockquote type="cite">
      <div class="gmail_quote">
        <div>besides if you were right it would result the same outputs
          when I run it on different nodes with the same commands,please
          see below!<br>
        </div>
      </div>
    </blockquote>
    <br></div>
    Not strictly true. See
    <a href="http://www.gromacs.org/Documentation/Terminology/Reproducibility" target="_blank">http://www.gromacs.org/Documentation/Terminology/Reproducibility</a><div class="im"><br>
     <br>
    <blockquote type="cite">
      <div class="gmail_quote">
        <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
          <div>
            <br>
            <blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
              it is excellent,because the number of outputs was
              different, for example one node produced 3 md.log and 4
              confout.gro !<br>
              <br>
              The main question is:<br>
              which one of the resulted outputs are the main result? on
              wich do  I must analyse?<br>
            </blockquote>
            <br>
          </div>
          They should all be equivalent, but not necessarily binary
          identical.<br>
        </blockquote>
        <div>Actually I checked all of them,they are different,with
          different averages of quantities,<br>
          and all of them show a final text that means the program
          finished succesfully!<br>
        </div>
      </div>
    </blockquote>
    <br></div>
    The averages being the same or different merely reflect whether your
    run was reproducible. Assuming there was no output files in your
    working directory to start with, you&#39;ve run the same irreproducible
    run four times, because you&#39;re using a non-MPI mdrun.<br>
    <br>
    Mark<br>
  </div>

<br>--<br>
gmx-users mailing list    <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don&#39;t post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></blockquote></div><br>