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.

 -- Pavan

-- 
Pavan Balaji
http://www.mcs.anl.gov/~balaji



-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to