<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META http-equiv="Content-Type" content="text/html; CHARSET=UTF-8">
  <META name="GENERATOR" content="GtkHTML/3.16.1">
</HEAD>
<BODY>
I decided to recompile mdrun with mpi support again and restart the simulation again.<BR>
I also checked for lam running on the nodes and it was still running nevertheless I tried to halt lam.<BR>
Now everything seems to be running ok.<BR>
<BR>
<BR>
<BR>
On Tue, 2008-01-15 at 12:24 -0500, chris.neale@utoronto.ca wrote:
<BLOCKQUOTE>
<PRE>
<FONT color="#000000">&gt; What i was trying to do is to run a parallel simulation. I have</FONT>
<FONT color="#000000">&gt; successfully compiled mdrun with mpi support.</FONT>
<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt; This is my grompp command</FONT>
<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt; grompp -f md.mdp -c rec_pr.gro -p rec.top -o rec.tpr -np 12</FONT>
<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt; And this is the script I sent to the cluster:</FONT>
<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt; #!/bin/bash</FONT>
<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt; cd /home/yunierkis/MD</FONT>
<FONT color="#000000">&gt; export LAMRSH=&quot;ssh -x&quot;</FONT>
<FONT color="#000000">&gt; lamboot -v .nodes</FONT>
<FONT color="#000000">&gt; nohup mpirun -np 12 mdrun_mpi -s rec_md.tpr -o rec_md.trr -c rec_md.gro</FONT>
<FONT color="#000000">&gt; -e rec.edr -g rec_md.log -nice 0 -np 12 &amp;</FONT>
<FONT color="#000000">&gt;</FONT>

<FONT color="#000000">Are you sure that you are running Lam correctly on your machine?</FONT>
<FONT color="#000000">I would personally run it like this:</FONT>
<FONT color="#000000">/tools/lam/lam-7.1.2/bin/mpirun C mdrun_mpi -np 12 -deffnm rec_md</FONT>

<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt; I have deleted all #md.trr.*# files and the simulation is still running</FONT>
<FONT color="#000000">&gt; on all the 6 nodes and no new #md.trr.*# file have been created.</FONT>
<FONT color="#000000">&gt; It sounds very strange for me and I can't find an explanation.</FONT>

<FONT color="#000000">Did you have other #files# ? e.g. the .edr or .log ?</FONT>

<FONT color="#000000">Do you lamhalt properly after previous attempts?</FONT>

<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt; Yunierkis</FONT>
<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt; On Tue, 2008-01-15 at 11:54 +1100, Mark Abraham wrote:</FONT>
<FONT color="#000000">&gt;</FONT>
<FONT color="#000000">&gt;&gt; Yunierkis Perez Castillo wrote:</FONT>
<FONT color="#000000">&gt;&gt; &gt; Hi all, I'm new to gromacs. I have setup a protein MD simulation in a</FONT>
<FONT color="#000000">&gt;&gt; &gt; cluster, I'm using 6 computers with 2 CPUs each one.</FONT>
<FONT color="#000000">&gt;&gt; &gt; After gromacs begun running I had 12 trajectory files in the folder the</FONT>
<FONT color="#000000">&gt;&gt; &gt; output is written:</FONT>
<FONT color="#000000">&gt;&gt; &gt;</FONT>
<FONT color="#000000">&gt;&gt; &gt; md.trr</FONT>
<FONT color="#000000">&gt;&gt; &gt; #md.trr.1#</FONT>
<FONT color="#000000">&gt;&gt; &gt; #md.trr.2#</FONT>
<FONT color="#000000">&gt;&gt; &gt; ................</FONT>
<FONT color="#000000">&gt;&gt; &gt; #md.trr.11#</FONT>
<FONT color="#000000">&gt;&gt; &gt;</FONT>
<FONT color="#000000">&gt;&gt; &gt; It seems like the trajectory is replicated by each CPU the simulation is</FONT>
<FONT color="#000000">&gt;&gt; &gt; running on.</FONT>
<FONT color="#000000">&gt;&gt; &gt; All files has the same size, and grows  simultaneously as the simulation</FONT>
<FONT color="#000000">&gt;&gt; &gt; advances.</FONT>
<FONT color="#000000">&gt;&gt; &gt; Is that a normal thing??</FONT>
<FONT color="#000000">&gt;&gt; &gt; Can I delete the #* files??</FONT>
<FONT color="#000000">&gt;&gt;</FONT>
<FONT color="#000000">&gt;&gt; I infer from your results that you've run 12 single-processor</FONT>
<FONT color="#000000">&gt;&gt; simulations from the same working directory. GROMACS makes backups of</FONT>
<FONT color="#000000">&gt;&gt; files when you direct it to write to an existing file, and these are</FONT>
<FONT color="#000000">&gt;&gt; numbered as #filename.index#. Your 12 simulations are all there, but you</FONT>
<FONT color="#000000">&gt;&gt; can't assume that those files with number 5 are all from the same</FONT>
<FONT color="#000000">&gt;&gt; simulation, because of the possibility of filesystem asynchronicities in</FONT>
<FONT color="#000000">&gt;&gt; creating the files.</FONT>
<FONT color="#000000">&gt;&gt;</FONT>
<FONT color="#000000">&gt;&gt; If you're trying to run 12 single-processor simulations in the same</FONT>
<FONT color="#000000">&gt;&gt; working directory, then you need to rethink your strategy. If you're</FONT>
<FONT color="#000000">&gt;&gt; trying to do something else, then you also need to rethink :-)</FONT>
<FONT color="#000000">&gt;&gt;</FONT>
<FONT color="#000000">&gt;&gt; Mark</FONT>



<FONT color="#000000">_______________________________________________</FONT>
<FONT color="#000000">gmx-users mailing list    <A href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</A></FONT>
<FONT color="#000000"><A href="http://www.gromacs.org/mailman/listinfo/gmx-users">http://www.gromacs.org/mailman/listinfo/gmx-users</A></FONT>
<FONT color="#000000">Please search the archive at <A href="http://www.gromacs.org/search">http://www.gromacs.org/search</A> before posting!</FONT>
<FONT color="#000000">Please don't post (un)subscribe requests to the list. Use the </FONT>
<FONT color="#000000">www interface or send it to <A href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</A>.</FONT>
<FONT color="#000000">Can't post? Read <A href="http://www.gromacs.org/mailing_lists/users.php">http://www.gromacs.org/mailing_lists/users.php</A></FONT>
</PRE>
</BLOCKQUOTE>
<HR>Servicio de Correos del Grupo de Redes. UCLV <BR>-Universidad 2008 del 11 al 15 de febrero del 2008.<BR>Palacio de Convenciones. La Habana. Cuba. http: //www.universidad2008.cu<BR>- II Taller internacional -Virtualización en la Educación Superior-, del 11 al 15 de febrero de 2008 <BR>Palacio de Convenciones. La Habana, Cuba. http://virtual-es.uclv.edu.cu<HR>
</BODY>
</HTML>