vader: attempt to work around SGI UV issues by creating a segment that
only goes up to VADER_MAX_ADDRESS instead of 0xfffffffffffffffful. cmr=v1.7.5:ticket=trac:4216 This commit was SVN r30669. The following Trac tickets were found above: Ticket 4216 --> https://svn.open-mpi.org/trac/ompi/ticket/4216
Этот коммит содержится в:
родитель
f2f6a7fe81
Коммит
6194bb502a
@ -279,8 +279,7 @@ static mca_btl_base_module_t **mca_btl_vader_component_init (int *num_btls,
|
|||||||
|
|
||||||
#if OMPI_BTL_VADER_HAVE_XPMEM
|
#if OMPI_BTL_VADER_HAVE_XPMEM
|
||||||
/* create an xpmem segment for the entire memory space */
|
/* create an xpmem segment for the entire memory space */
|
||||||
component->my_seg_id = xpmem_make (0, 0xffffffffffffffffll, XPMEM_PERMIT_MODE,
|
component->my_seg_id = xpmem_make (0, VADER_MAX_ADDRESS, XPMEM_PERMIT_MODE, (void *)0666);
|
||||||
(void *)0666);
|
|
||||||
if (-1 == component->my_seg_id) {
|
if (-1 == component->my_seg_id) {
|
||||||
BTL_VERBOSE(("Could not create xpmem segment"));
|
BTL_VERBOSE(("Could not create xpmem segment"));
|
||||||
free (btls);
|
free (btls);
|
||||||
|
@ -16,9 +16,6 @@
|
|||||||
|
|
||||||
#if OMPI_BTL_VADER_HAVE_XPMEM
|
#if OMPI_BTL_VADER_HAVE_XPMEM
|
||||||
|
|
||||||
/* largest address we can attach to using xpmem */
|
|
||||||
#define VADER_MAX_ADDRESS ((uintptr_t)0x7ffffffff000)
|
|
||||||
|
|
||||||
/* look up the remote pointer in the peer rcache and attach if
|
/* look up the remote pointer in the peer rcache and attach if
|
||||||
* necessary */
|
* necessary */
|
||||||
mca_mpool_base_registration_t *vader_get_registation (struct mca_btl_base_endpoint_t *endpoint, void *rem_ptr,
|
mca_mpool_base_registration_t *vader_get_registation (struct mca_btl_base_endpoint_t *endpoint, void *rem_ptr,
|
||||||
|
@ -18,6 +18,9 @@
|
|||||||
/* look up the remote pointer in the peer rcache and attach if
|
/* look up the remote pointer in the peer rcache and attach if
|
||||||
* necessary */
|
* necessary */
|
||||||
|
|
||||||
|
/* largest address we can attach to using xpmem */
|
||||||
|
#define VADER_MAX_ADDRESS ((uintptr_t)0x7ffffffff000ul)
|
||||||
|
|
||||||
mca_mpool_base_registration_t *vader_get_registation (struct mca_btl_base_endpoint_t *endpoint, void *rem_ptr,
|
mca_mpool_base_registration_t *vader_get_registation (struct mca_btl_base_endpoint_t *endpoint, void *rem_ptr,
|
||||||
size_t size, int flags, void **local_ptr);
|
size_t size, int flags, void **local_ptr);
|
||||||
|
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user