<div class="gmail_quote">On Fri, Sep 14, 2012 at 6:04 PM, John Chludzinski <span dir="ltr"><<a href="mailto:john.chludzinski@gmail.com" target="_blank">john.chludzinski@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<b>$ mpif90 -o ex1 ex1.f95</b><div class="im"><br>/usr/bin/ld: cannot find -lmpichf90<br>/usr/bin/ld: cannot find -lmpichf90<br>/usr/bin/ld: cannot find -lmpich<br></div>collect2: ld returned 1 exit status<br></blockquote>
<div><br></div><div>Send the output of running mpich2version.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">No go!<br><br>I used "yum install mpich2", should this bring the compiler wrapper?  <br>

<br>Why does the PETSc MPICH2 lib directory have *.a files while the newly installed MPICH2 have *.so files?</blockquote></div><br><div>You configured PETSc to link statically. Distributions almost always do shared libraries (*.so) because they can be updated without rebuild all dependencies.</div>