[mpich-discuss] Newbie getting started question?

Jed Brown jedbrown at mcs.anl.gov
Fri Sep 14 18:07:17 CDT 2012


On Fri, Sep 14, 2012 at 6:04 PM, John Chludzinski <
john.chludzinski at gmail.com> wrote:

> *$ mpif90 -o ex1 ex1.f95*
>
> /usr/bin/ld: cannot find -lmpichf90
> /usr/bin/ld: cannot find -lmpichf90
> /usr/bin/ld: cannot find -lmpich
> collect2: ld returned 1 exit status
>

Send the output of running mpich2version.


> No go!
>
> I used "yum install mpich2", should this bring the compiler wrapper?
>
> Why does the PETSc MPICH2 lib directory have *.a files while the newly
> installed MPICH2 have *.so files?


You configured PETSc to link statically. Distributions almost always do
shared libraries (*.so) because they can be updated without rebuild all
dependencies.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/mpich-discuss/attachments/20120914/7cb23c06/attachment.html>


More information about the mpich-discuss mailing list