Thanks for the guideline. I installed the lam/mpi 7.0.6 and compile the gromance with &quot;--enable-mpi&quot; option. <br>When I run mdrun, I got message that lamboot is not start. Then I start the lamboot and try to run mdrun witn &quot;-np 4 -v N 4&quot; (gromacs user guide example). However, the gromacs still run on single CPU. It does not take the advantage of other three CPUs on the server. Do I miss anything? Or I misunderstand the parallel computing/MPI concept? Thanks.
<br><br>Best,<br><br>Ocean<br><br><div><span class="gmail_quote">On 12/20/06, <b class="gmail_sendername">Erik Lindahl</b> &lt;<a href="mailto:lindahl@cbr.su.se">lindahl@cbr.su.se</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi,<br><br>On Dec 21, 2006, at 3:12 AM, Seaclear Theory wrote:<br><br>&gt; Hi! All,<br>&gt;<br>&gt; I have a linux server with 4 CPUs. How can I run gromacs on all CPUs?<br>&gt; The gromacs manual has very limit information. And it does not works.
<br>&gt; I installed Lam/mpi and compile gromacs with mpi. Thanks lot!<br>&gt;<br><br>The problem is that there is no standard for how you start MPI<br>programs - that is entirely up to the MPI implementation.<br><br>Essentially, add &quot;-np 4&quot; to grompp to get a parallel input file, boot
<br>your &quot;virtual&quot; parallel computer with &quot;lamboot &lt;hostfile&gt;&quot;, and then<br>start a parallel run as &quot;mpirun -np 4 mdrun &lt;normal args&gt;&quot;.<br><br>Most MPI libraries use mpirun is some form, but they differ in how
<br>you specify the machines to run on.<br><br>Cheers,<br><br>Erik<br><br>_______________________________________________<br>gmx-users mailing list&nbsp;&nbsp;&nbsp;&nbsp;<a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><a href="http://www.gromacs.org/mailman/listinfo/gmx-users">
http://www.gromacs.org/mailman/listinfo/gmx-users</a><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/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</a><br></blockquote></div><br>