<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <div class="moz-text-html" lang="x-unicode">
      <pre><blockquote type="cite"><pre>&gt;<i> Hi,
</i>&gt;<i> 
</i>&gt;<i> I tried gromacs 4.5.4 in these days and last version I used is 4.0.5.
</i>&gt;<i> I found when I add --enable-threads in installation.
</i>&gt;<i> I can use mdrun -nc 12 to run 12 CPUs together within one machine.
</i>
I assume you mean -nt?

</pre></blockquote>Sorry, -nc is a typo of -nt. 
<blockquote type="cite"><pre>&gt;<i> It also amazing me when I type "top" to check the job, only one process 
</i>&gt;<i> in computer and the CPU utility is 1200%!!
</i>
Sounds about right.  I see the same on my dual-core workstation.  One process, 2 
threads, and just less than 200% CPU usage.

&gt;<i> But I tried to execute it on two machines, then the second machines 
</i>&gt;<i> didn't work.
</i>&gt;<i> 
</i>
You can't execute threads over multiple machines.  For that you need MPI, not 
threading (they are mutually exclusive).  You haven't provided much detail on 
what you actually did in this case and "didn't work" doesn't exactly provide any 
relevant diagnostic information.
</pre></blockquote>If I submit job by the way, mdrun -nt 24, on two machines with 12 threads for each.
The first machine has one process with 1200%, and the second machine has no process working.
<blockquote type="cite"><pre>&gt;<i> I don't need mdrun_mpi any more because mdrun -nc is faster the mdrun_mpi.
</i>&gt;<i> That make me confused.
</i>&gt;<i> Am I right to use mdrun -nc to run parallel job in this way?
</i>
For a single, multi-core workstation, mdrun -nt is correct.
</pre></blockquote>Thank you for you answer, then I can feel easy in mind to use this argument, -nt.
And also thanks for Phillips's reply.
I understand it now.

Hsin-Lin
<blockquote type="cite"><pre>&gt;<i> Does the result is the same as which is employed by mdrun_mpi?
</i>
A variety of factors influence whether or not the results are the same.

<a href="http://www.gromacs.org/Documentation/Terminology/Reproducibility">http://www.gromacs.org/Documentation/Terminology/Reproducibility</a>

&gt;<i> (Exactly I never use mdrun_mpi more than one machine since the ethernet 
</i>&gt;<i> between machines is very slow here.)
</i>&gt;<i> 
</i>&gt;<i> If mdrun -nc is available.
</i>&gt;<i> Do we have another commend support CPUs more than one in the same machine.
</i>&gt;<i> 
</i>
That's what threading is doing, assuming you're invoking the command correctly. 
  As stated above, the option is -nt, not -nc.  mdrun doesn't check for whether 
or not command line arguments are actually valid, so if you're using -nc you're 
not actually doing threading, but the 1200% usage suggests you probably are.

-Justin</pre></blockquote></pre>
    </div>
  </body>
</html>