<html>
<head>
<style>
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body class='hmmessage'><div style="text-align: left;"><div style="text-align: left;">Hi,<br><br>Your PME nodes seem to be running one order of magnitude slower than they should.<br>This could be explained by a memory usage problem, which is indicated by the out<br>of memory error.<br><br>I am running systems on 8 cores for 24 hours and the memory usage stays constant<br>after the first few steps.<br>I have no clue what the problem could be.<br>I am also looking into a dynamic load balancing problem which only seems to happen<br>on the Cray XT4 and for which I, up till now, also have no clue what could cause this.<br><br>What compiler (and version) are your using?<br><br>Berk<br></div></div><br><br><hr id="stopSpelling">&gt; Date: Tue, 30 Sep 2008 18:22:44 +0200<br>&gt; From: st01397@student.uib.no<br>&gt; To: gmx-users@gromacs.org<br>&gt; Subject: RE: [gmx-users] Possible bug in parallelization, PME or        load-balancing on Gromacs 4.0_rc1 ??<br>&gt; CC: gmx3@hotmail.com<br>&gt; <br>&gt; I have some (hopefully) clarifying commments to my previous post now:<br>&gt; <br>&gt; First to answer your question regarding pme.c. My compilation was done  <br>&gt; from v. 1.125<br>&gt; ------------<br>&gt; Line 1037-<br>&gt;      if ((kx&gt;0) || (ky&gt;0)) {<br>&gt;                  kzstart = 0;<br>&gt;              } else {<br>&gt;                  kzstart = 1;<br>&gt;                  p0++;<br>&gt;              }<br>&gt; ------<br>&gt; As you can see the p0++; line is there.<br>&gt; <br>&gt; Now here are some additional points:<br>&gt; <br>&gt; On Mon, 29 Sep 2008, Bjørn Steen Sæthre wrote:<br>&gt; <br>&gt; &gt; The only Error message I can find is the rather cryptic::<br>&gt; &gt;<br>&gt; &gt; NOTE: Turning on dynamic load balancing<br>&gt; &gt;<br>&gt; &gt; _pmii_daemon(SIGCHLD): PE 4 exit signal Killed<br>&gt; &gt; [NID 1412]Apid 159787: initiated application termination<br>&gt; &gt;<br>&gt; &gt; There are no error's apart from that.<br>&gt; <br>&gt; &gt; Furthermore I can now report that this error is endemic in all my sims<br>&gt; &gt; using harmonic position restraints in GROMACS 4.0_beta1 and GMX<br>&gt; &gt; 4.0_rc1.<br>&gt; &gt;<br>&gt; &gt; About core dumps. I will talk to our HPC staff, and get back to you with<br>&gt; &gt; something more substantial I hope.<br>&gt; &gt;&gt;<br>&gt; <br>&gt; OK, I have gotten some info from our HPC staff, they checked another job of<br>&gt; mine which crashed in the exact same fashion, with the exact same starting<br>&gt; run-topology and node configuration.<br>&gt; They found some more info in the admin's log:<br>&gt; <br>&gt; &gt; Hi,<br>&gt; &gt; this job got an OOM (out of memory), which is only recorded in the<br>&gt; &gt; system logs, not available directly to users:<br>&gt; <br>&gt; &gt; [2008-09-29 17:18:18][c11-0c0s1n0]Out of memory: Killed process 8888<br>&gt; &gt; (parmdrun).<br>&gt; <br>&gt; I can also add that I have been able to stabilize the engine, by altering the<br>&gt; cut-offs and lowering the total PME-load of the run, at the expense of far<br>&gt; greater computational inefficiency.<br>&gt; <br>&gt; That is I went from unstable &lt; to stable &gt; as in the following diff on  <br>&gt; the mdp-files:<br>&gt; -----------------------------<br>&gt; 21c21<br>&gt; &lt; rlist                    = 0.9<br>&gt; ---<br>&gt; &gt; rlist                    = 1.0<br>&gt; 24c24<br>&gt; &lt; rcoulomb                 = 0.9<br>&gt; ---<br>&gt; &gt; rcoulomb                 = 1.0<br>&gt; 26c26<br>&gt; &lt; rvdw                     = 0.9<br>&gt; ---<br>&gt; &gt; rvdw                     = 1.0<br>&gt; 28,30c28,31<br>&gt; &lt; fourier_nx             = 60<br>&gt; &lt; fourier_ny             = 40<br>&gt; &lt; fourier_nz             = 40<br>&gt; ---<br>&gt; &gt; fourier_nx             = 48<br>&gt; &gt; fourier_ny             = 32<br>&gt; &gt; fourier_nz             = 32<br>&gt; 35c36<br>&gt; ------------------------------<br>&gt; That is, the  PME-workload went from 1/2 of nodes to 1/3 of them since I was<br>&gt; using exactly the same startup configuration ---------------------<br>&gt; <br>&gt; This however, while enhancing stability, the output rate slowed down<br>&gt; appreciably. And as shown in the log output, the reason is clear:<br>&gt; ------------------------------------------------------------<br>&gt; Making 2D domain decomposition 8 x 4 x 1<br>&gt; starting mdrun 'Propane-hydrate prism (2x2x3 UC)'<br>&gt; 2000000 steps,   4000.0 ps.<br>&gt; Step 726095: Run time exceeded 3.960 hours, will terminate the run<br>&gt; <br>&gt; Step 726100: Run time exceeded 3.960 hours, will terminate the run<br>&gt; <br>&gt;   Average load imbalance: 26.7 %<br>&gt;   Part of the total run time spent waiting due to load imbalance: 1.5 %<br>&gt;   Average PME mesh/force load: 9.369<br>&gt;   Part of the total run time spent waiting due to PP/PME imbalance: 57.5 %<br>&gt; <br>&gt; NOTE: 57.5 % performance was lost because the PME nodes<br>&gt;        had more work to do than the PP nodes.<br>&gt;        You might want to increase the number of PME nodes<br>&gt;        or increase the cut-off and the grid spacing.<br>&gt; <br>&gt; <br>&gt;          Parallel run - timing based on wallclock.<br>&gt; <br>&gt;                 NODE (s)   Real (s)      (%)<br>&gt;         Time:   5703.000   5703.000    100.0<br>&gt;                         1h35:03<br>&gt;                 (Mnbf/s)   (GFlops)   (ns/day)  (hour/ns)<br>&gt; Performance:     29.593      8.566     60.600      0.396<br>&gt; <br>&gt; gcq#0: Thanx for Using GROMACS - Have a Nice Day<br>&gt; -----------------------------------------------<br>&gt; <br>&gt; <br>&gt; One thing more is odd here though.<br>&gt; In the startup script I allocated 4 hours, and set -maxh 4:<br>&gt; <br>&gt; -----------------------------------------------<br>&gt; #PBS -l walltime=4:00:00,mppwidth=48,mppnppn=4<br>&gt; cd /work/bjornss/pmf/structII/hydrate_annealing/heatup_400K_2nd<br>&gt; source $HOME/gmx_latest_290908/bin/GMXRC<br>&gt; aprun -n 48 parmdrun -s topol.tpr -maxh 4 -npme 16<br>&gt; exit $?<br>&gt; -----------------------<br>&gt; <br>&gt; why the wallclock inconsistency (ie. wallclock is 1:35:03 which does not<br>&gt; correspond to the note of 3.96 hours exceeded.)<br>&gt; <br>&gt; <br>&gt; <br>&gt; I hope this is helpful in resolving the issue brought up originally. (Might<br>&gt; there be a possible memory leak somewhere?)<br>&gt; <br>&gt; Regards<br>&gt; Bjørn<br>&gt; <br>&gt; <br>&gt; PhD-student<br>&gt; Insitute of Physics &amp; Tech.- University of Bergen<br>&gt; Allegt. 55,<br>&gt; 5007 Bergen<br>&gt; Norway<br>&gt; <br>&gt; Tel(office): +47 55582869<br>&gt; Cell:        +47 99253386<br>&gt; _______________________________________________<br>&gt; gmx-users mailing list    gmx-users@gromacs.org<br>&gt; http://www.gromacs.org/mailman/listinfo/gmx-users<br>&gt; Please search the archive at http://www.gromacs.org/search before posting!<br>&gt; Please don't post (un)subscribe requests to the list. Use the <br>&gt; www interface or send it to gmx-users-request@gromacs.org.<br>&gt; Can't post? Read http://www.gromacs.org/mailing_lists/users.php<br><br /><hr />Express yourself instantly with MSN Messenger! <a href='http://clk.atdmt.com/AVE/go/onm00200471ave/direct/01/' target='_new'>MSN Messenger</a></body>
</html>