Fix the SM BTL issues. The problem seems to come from the fact that
the maximum number of nodes on the SM file should be signed, as we use the -1 to unlimit it. This commit was SVN r12227.
Этот коммит содержится в:
родитель
c07d4e2510
Коммит
c86214f420
@ -154,7 +154,7 @@ int mca_btl_sm_add_procs_same_base_addr(
|
|||||||
{
|
{
|
||||||
int return_code=OMPI_SUCCESS, cnt,len;
|
int return_code=OMPI_SUCCESS, cnt,len;
|
||||||
size_t i,j,proc,size,n_to_allocate,length;
|
size_t i,j,proc,size,n_to_allocate,length;
|
||||||
uint32_t n_local_procs;
|
int32_t n_local_procs;
|
||||||
ompi_proc_t* my_proc; /* pointer to caller's proc structure */
|
ompi_proc_t* my_proc; /* pointer to caller's proc structure */
|
||||||
mca_btl_sm_t *btl_sm;
|
mca_btl_sm_t *btl_sm;
|
||||||
ompi_fifo_t *my_fifos;
|
ompi_fifo_t *my_fifos;
|
||||||
|
@ -86,7 +86,7 @@ struct mca_btl_sm_component_t {
|
|||||||
int sm_free_list_inc; /**< number of elements to alloc when growing free lists */
|
int sm_free_list_inc; /**< number of elements to alloc when growing free lists */
|
||||||
int sm_exclusivity; /**< exclusivity setting */
|
int sm_exclusivity; /**< exclusivity setting */
|
||||||
int sm_latency; /**< lowest latency */
|
int sm_latency; /**< lowest latency */
|
||||||
uint32_t sm_max_procs; /**< upper limit on the number of processes using the shared memory pool */
|
int32_t sm_max_procs; /**< upper limit on the number of processes using the shared memory pool */
|
||||||
int sm_extra_procs; /**< number of extra procs to allow */
|
int sm_extra_procs; /**< number of extra procs to allow */
|
||||||
char* sm_mpool_name; /**< name of shared memory pool module */
|
char* sm_mpool_name; /**< name of shared memory pool module */
|
||||||
mca_mpool_base_module_t* sm_mpool; /**< shared memory pool */
|
mca_mpool_base_module_t* sm_mpool; /**< shared memory pool */
|
||||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user