[petsc-users] query on meaning of libmpiuni.*
Satish Balay
balay at mcs.anl.gov
Mon Mar 1 14:14:21 CST 2010
On Mon, 1 Mar 2010, Toby D. Young wrote:
>
> One final question please:
>
> > I understand that this library can be built as static or dynamic; right?
>
> Then I look at my build, and only libmpiuni.a appears. Why is that? Can a
> libmpiuni.so exist? I build --with-shared=1.
Yes - is is the deficiency of the old build tools. libpetsc.so is
created by linking in all dependencies [and if libmpiuni.a is a
dependency - these symbols are added to libpetsc.so]
With petsc-dev both .a/.so versions of libmpiuni are merged into
-lpetsc [or -lpetcsys for --with-single-library=0]
Satish
More information about the petsc-users
mailing list