<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:'times new roman', 'new york', times, serif;font-size:12pt"><div>I was wondering if I try to run PBS script in a cluster, how can I get to generate the hostfile as I do not know in advance which machines will be allocated .</div><div><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:arial, helvetica, sans-serif;font-size:13px"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Mark Abraham &lt;Mark.Abraham@anu.edu.au&gt;<br><b><span style="font-weight: bold;">To:</span></b> Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Wed, May 25, 2011 7:16:44 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gmx-users] query regarding replica exchange<br></font><br>
On 26/05/2011 8:50 AM, Joshua L. Phillips wrote:<br>&gt; You will need a file formatted like the following:<br>&gt;<br>&gt; node0 slots=4 max_slots=4<br>&gt; node1 slots=4 max_slots=4<br>&gt; ...<br>&gt; node9 slots=4 max_slots=4<br>&gt;<br>&gt; You will then need to use the -hostfile option to supply the filename to<br>&gt; either mpiexec or mpirun (not mdrun).<br><br>Indeed. Details will vary with the nature of the MPI installation -&nbsp; but <br>it's an MPI issue, not a GROMACS issue. The only relevant detail is that <br>you wish every pair of cores assigned to a replica to be on the same <br>machine. The above approach will generally achieve that.<br><br>Mark<br><br>&gt; -- Josh<br>&gt;<br>&gt; On Wed, 2011-05-25 at 11:50 -0700, Sanku M wrote:<br>&gt;&gt; Hi,<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;&nbsp; &nbsp; I am planning to run replica exchange simulation using gromacs<br>&gt;&gt; 4.0.7 . I have read the manual about REMD. Only thing I wanted to
 know<br>&gt;&gt; is that how I can specify the name of host-machines where I am<br>&gt;&gt; planning to run the simulations.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; I have 10 different quad-core computers each intra-connected with the<br>&gt;&gt; other each running OPENMPI. I want to run 20 replica each using 2<br>&gt;&gt; cores in parallel.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; So, I was wondering whether I have to create any file containing the<br>&gt;&gt; names of those machines . If so, can someone give an example of format<br>&gt;&gt; of the file which contain those names ? Finally, what keyword I should<br>&gt;&gt; use in mdrun to specify that file for running replica exchange.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Also, I am not using any PBS for submitting jobs.<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; Sanku<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt;<br>&gt;&gt; -- <br>&gt;&gt; gmx-users mailing list&nbsp;
 &nbsp; <a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br><span>&gt;&gt; <a target="_blank" href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a></span><br><span>&gt;&gt; Please search the archive at <a target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists/Search">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!</span><br>&gt;&gt; Please don't post (un)subscribe requests to the list. Use the<br>&gt;&gt; www interface or send it to <a ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br><span>&gt;&gt; Can't post? Read <a target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists">http://www.gromacs.org/Support/Mailing_Lists</a></span><br><br>-- <br>gmx-users mailing list&nbsp; &nbsp; <a
 ymailto="mailto:gmx-users@gromacs.org" 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't post (un)subscribe requests to the list. Use the <br>www interface or send it to <a ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></div></div><div style="position:fixed"></div>


</div></body></html>