Re: [petsc-dev] --known-mpi-shared-library and --with-batch annoyance
21 Apr
2016
21 Apr
'16
2:09 p.m.
Barry Smith <[email protected]> writes:
We generate (or should if we don't) our shared PETSc libraries by
sharedlink petscsys.so -lmpi
sharedlink petscvec.so -lpetscsys
If your shared libraries are set up correctly and there is a strict policy about transitive linking (the correct thing), then this is not okay because petscvec.so has direct calls to MPI. If libmpi.a (built with -fPIC) was inlined into petscsys.so, then it would "work" (but be disgusting).
3764
Age (days ago)
3764
Last active (days ago)
0 comments
1 participants
participants (1)
-
Jed Brown