<div dir="ltr">OS X and many Linux distributions now come with a system MPI.  If you install by downloading MPICH and then use 'mpirun', your code will never run in parallel, at best, or do something completely unexpected, at worst.<div>
<br></div><div>The current default instructions are:</div><div><br></div><div><meta charset="utf-8"><span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Times; font-size: medium; "><div style="margin-left: 40px; ">
<font color="#ff0000">export PETSC_DIR=$PWD</font><br></div><div style="margin-left: 40px; "><font color="#ff0000">./config/configure.py --with-cc=gcc --with-fc=gfortran --download-f-blas-lapack=1 --download-mpich=1</font><br>
</div><div style="margin-left: 40px; "><font color="#ff0000">make all test</font></div></span></div><div><br></div><div>I think OS X-specific instructions that don't install MPICH or that explicitly suggest appending $PETSC_DIR/$PETSC_ARCH/bin to your path when running parallel jobs after installing mpich will help prevent users from falling into this trap.</div>
<div><br></div><div>A</div></div>