1
1
openmpi/ompi/mca/btl
Jeff Squyres 0fb8cf65a8 If you have an HCA with no active ports, we still create an mpool.
This mpool will have no btl module owner there was no btl created for
the HCA with no ports, but it will still be tracked in the mpool
framework (i.e., it's available).

If MPI_ALLOC_MEM is called by the app, one of two things will happen:

 1. if there's an HCA on the host with some active ports, the openib
    btl component will still be in the process space, and therefore
    the "mpool with no btl" (MWNB) module will still be able to call
    the reg/dereg functions, and all will be fine.  However, if
    MPI_FREE_MEM is never invoked to free the memory, bad things will
    happen during MPI_FINALIZE.  The pml is finalized, which finalizes
    all the btls.  The btls finalize all their mpools and all is fine.
    But later we close down the mpool framework which then finalizes
    any left over mpool modules, such as MWNB.  However, the openib
    BTL module functions that the MWNB was registered with are no
    longer in the process space, and it segv's while trying deregister
    the memory.
 2. if there are *no* HCA's on the host with active ports, then the
    openib btl will have been unloaded, and when the MWNM tries to
    register the memory, the functions it tries to call (in the openib
    btl) are no longer there, and we segv.

This commit was SVN r15735.
2007-08-01 20:53:34 +00:00
..
base reapply r15517 and r15520, which were removed in r15527 so that I could get 2007-07-20 02:34:29 +00:00
elan Remove all warnings. 2007-07-23 21:06:25 +00:00
gm reapply r15517 and r15520, which were removed in r15527 so that I could get 2007-07-20 02:34:29 +00:00
mvapi reapply r15517 and r15520, which were removed in r15527 so that I could get 2007-07-20 02:34:29 +00:00
mx reapply r15517 and r15520, which were removed in r15527 so that I could get 2007-07-20 02:34:29 +00:00
ofud reapply r15517 and r15520, which were removed in r15527 so that I could get 2007-07-20 02:34:29 +00:00
openib If you have an HCA with no active ports, we still create an mpool. 2007-08-01 20:53:34 +00:00
portals * Provide flag if the BTL can do RDMA, but requires a prepare_{src,dst} 2007-07-11 21:21:40 +00:00
self Rename btl_rdma_offset to btl_pipeline_send_length. 2007-06-21 07:12:40 +00:00
sm Move modex from pml base to general ompi runtime, sicne it's used by more 2007-07-09 17:16:34 +00:00
tcp Add MCA parameter to enable/disable Nagle's algorithm on the TCP BTL. 2007-07-25 12:21:00 +00:00
template fix template btl 2007-07-13 20:06:22 +00:00
udapl add a missing subroutine prototype 2007-07-24 21:07:57 +00:00
btl.h cleanup btl.h comments 2007-07-25 17:26:23 +00:00
Makefile.am Clean up a couple of configure things: 2007-05-15 04:23:48 +00:00