I am pretty sure that normally what you would want to do is only use
mpi for mdrun (which DOES behave differently with mpi). Perhaps you
might occasionally want MPI for some of the analysis tools (g_*) and I
haven't the foggiest idea whether they support it or not. But usually
running things like pdb2gmx is so fast there is really no reason to
parallelize. <br>
<br>
I haven't, however, use MPI that much myself. But I do know it works
with mdrun, and that's ordinarily the part you want to run in parallel.<br>
<br>
David<br>
<br><br><div><span class="gmail_quote">On 1/30/06, <b class="gmail_sendername">David Mathog</b> &lt;<a href="mailto:mathog@caltech.edu">mathog@caltech.edu</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;">
I'm trying to figure out how to use MPI with gromacs.&nbsp;&nbsp;A few examples<br>would go a long, long way.&nbsp;&nbsp;Where are the MPI examples????<br><br>Which programs support MPI???<br><br>When I built gromacs two versions of (all) the programs ended up in
<br>.../gromacs/bin, a &quot;regular&quot; one and ones with an _mpi suffix. The two<br>versions for each program are about the same size, with the _mpi one<br>being either 32 bytes bigger or smaller (go figure).&nbsp;&nbsp;That could just
<br>be compiler noise.<br><br>The &quot;regular&quot; ones work (at least those run from gmxdemo/demo.sh<br>which is my translation to bash of the original csh script.)<br><br>Now I'm trying to work through demo_mpi.&nbsp;&nbsp;The demo_mpi that
<br>gromacs built is IDENTICAL to demo, and even with lam-mpi running<br>(yes, I tested that MPI works with other programs) it only runs<br>on the head node.&nbsp;&nbsp; The man page says that mdrun has an -np<br>parameter if built with MPI.&nbsp;&nbsp;I couldn't find any other useful
<br>info on whether or not there were actually MPI versions of the<br>other programs, _mpi suffix or not.<br><br>I'm stuck at the very first program which is pdb2gmx.&nbsp;&nbsp;The man page<br>for that doesn't indicate any -np parameter for it. I tried running
<br>pdb2gmx_mpi and it just ran on the head node with no activity on the<br>compute nodes.<br><br>Thanks,<br><br>David Mathog<br><a href="mailto:mathog@caltech.edu">mathog@caltech.edu</a><br>Manager, Sequence Analysis Facility, Biology Division, Caltech
<br>_______________________________________________<br>gmx-users mailing list<br><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'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></blockquote></div><br>