<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hello,<div><br></div><div>I wanted to thank everyone for the help and say that I managed to get it running on the cluster and I have done some efficiency calculations. To run the code I used,</div><div><br></div><div>mpirun -np # ./ex45 -da_grid_x 5 -da_grid_y 5 -da_grid_z 5 -da_refine 6 -ksp_monitor -pc_type mg -mg_levels_ksp_type richardson -mg_levels_pc_type sor -log_summary<br><div><div><br></div><div>as suggested and found the following</div><div><br></div><div>p(#cpu)<span class="Apple-tab-span" style="white-space: pre; ">        </span>Tp (parallel)&nbsp;<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>T1 (serial)&nbsp;<span class="Apple-tab-span" style="white-space: pre; ">        </span>Efficiency [ = Tp/(p*T1) ]<br>--------------------------------------------------------------------------------------<br>1<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>904<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>904<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>1.00<br>2<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>553<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>904<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>0.82<br>4<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>274<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>904<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>0.83<br>8<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>138<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>904<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>0.82<br>16<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>70<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>904<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>0.81<br>32<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>36<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>904<span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span><span class="Apple-tab-span" style="white-space: pre; ">        </span>0.78<br></div><div><br></div><div>It seems to scale beautifully starting at 2 but there is a big drop from 1 to 2. &nbsp;I suspect there's a very good reason for this, I just don't know what.</div><div><br></div><div>Thanks again for all of your help,</div><div>Francis</div><div><br></div><div>On 2012-02-24, at 12:59 PM, Jed Brown wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><meta http-equiv="Content-Type" content="text/html; charset=utf-8"><div class="gmail_quote">On Fri, Feb 24, 2012 at 11:49, Francis Poulin <span dir="ltr">&lt;<a href="mailto:fpoulin@uwaterloo.ca">fpoulin@uwaterloo.ca</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>I don't seem to have the hydra in my bin folder but I do have petscmpiexec that I've been using.</div></blockquote><div><br></div><div>That's just the name of my mpiexec. Use whichever one is used with your build of PETSc.</div>
<div>&nbsp;</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im"><div><br><blockquote type="cite"><div class="gmail_quote"><div><br></div><div>Use these, it will run the same method and sizes as the options I gave for ex22 before.</div>
<div><br></div><div>mpiexec.hydra -n 2 ./ex45 -da_grid_x 5 -da_grid_y 5 -da_grid_z 5 -da_refine 5 -ksp_monitor -pc_type mg -mg_levels_ksp_type richardson -mg_levels_pc_type sor -log_summary</div>
<div>&nbsp;</div></div></blockquote></div><br></div><div>Also, I want to install PetSc on an SGI machine that I have access to. &nbsp;I have been told that using MPT would give better performance compared to mpich2. &nbsp;When I configure petsc on this server I don't suppose</div>
<div><br></div><div><div style="word-wrap:break-word"><div><div><span style="color:rgb(255,0,0)">-with-mpi-dir=/opt/sgi/mpt</span></div></div><div><span style="color:rgb(255,0,0)"><br></span></div><div><font color="#ff0000"><span style="color:rgb(0,0,0)">&nbsp;</span><span style="color:rgb(0,0,0)">the above would work because of the different name. &nbsp;Do you have a suggestion as to what I could try? &nbsp;</span></font></div>
<div></div></div></div></blockquote></div><br><div>It's just the way you launch parallel jobs.</div>
</blockquote></div><br></div></body></html>