<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">   Cool, can make these accessable from the PETSc download page?</div></blockquote>
<div><br></div><div>Sure!</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">   How do you handle different versions of MPI?</blockquote><div><br></div>
<div>What do you mean? If you mean, say, different compilers, then this is handled with 'variants'</div><div><br></div><div><a href="http://guide.macports.org/chunked/reference.variants.html">http://guide.macports.org/chunked/reference.variants.html</a></div>
<div><br></div><div>e.g.</div><div><br></div><div>$ port installed mpich2</div><div><br></div><div>mpich2 @1.0.8_0+darwin+gfortran</div><div>mpich2 @1.0.8_0+darwin+gcc44</div><div>mpich2 @1.0.8_0+darwin+gcc45</div><div>mpich2 @1.2.1p1_0+darwin+gcc44+gforker</div>
<div>mpich2 @1.2.1p1_0+darwin+gcc45+gforker</div><div>mpich2 @1.2.1p1_0+darwin+gforker+gfortran (active)</div><div><div>mpich2 @1.3a1_0+darwin+gcc44+hydra</div><div>mpich2 @1.3a1_0+darwin+gcc45+hydra</div><div>mpich2 @1.3a1_0+darwin+gfortran+hydra</div>
</div><div><br></div><div>To switch between them:</div><div><br></div><div>$ port activate mpich2 @1.3a1_0+darwin+gcc45+hydra</div><div><br></div><div>Is this what you mean?</div></div>