[Pkg-scicomp-devel] Bug#552429: [Pkg-openmpi-maintainers] Bug#552429: MPI: fix alternatives mess with runtime environment
balaji at mcs.anl.gov
Wed Nov 11 14:06:50 UTC 2009
On 11/11/2009 06:54 AM, Lucas Nussbaum wrote:
> Dropping libmpi.so would break linking using -lmpi.
Applications should never just link directly against either libmpi.so or
libmpich.so or anything else. They should always use mpicc and friends.
Linking directly to a library without using mpicc and friends will break
when MPICH2's I/O library enables support for some third-party libraries
such as PVFS, for example. It'll automatically add more library flags to
mpicc and friends, but the symbols are not added into libmpich.so
Note that this is not the case for MPICH2 alone, but for any MPI
implementation. For example, Open MPI uses our MPI I/O library, so they
have the same problem too.
More information about the Pkg-scicomp-devel