Reverting r32355: a number of processes is not a notion that a low level
communication library should use to initialize itself. Ralph will champion this change back with an RFC if there is a realistic need/use case from the community. This commit was SVN r32361. The following SVN revision numbers were found above: r32355 --> open-mpi/ompi@c903917f47
Этот коммит содержится в:
родитель
a32d93ec20
Коммит
f39abb9e69
@ -511,7 +511,6 @@ int ompi_mpi_init(int argc, char **argv, int requested, int *provided)
|
||||
opal_process_info.proc_session_dir = ompi_process_info.proc_session_dir;
|
||||
opal_process_info.num_local_peers = (int32_t)ompi_process_info.num_local_peers;
|
||||
opal_process_info.my_local_rank = (int32_t)ompi_process_info.my_local_rank;
|
||||
opal_process_info.num_procs = (uint32_t)ompi_process_info.num_procs;
|
||||
#if OPAL_HAVE_HWLOC
|
||||
opal_process_info.cpuset = ompi_process_info.cpuset;
|
||||
#endif /* OPAL_HAVE_HWLOC */
|
||||
|
@ -21,7 +21,6 @@ opal_process_info_t opal_process_info = {
|
||||
.proc_session_dir = "not yet defined",
|
||||
.num_local_peers = 1, /* I'm the only process around here */
|
||||
.my_local_rank = 0, /* I'm the only process around here */
|
||||
.num_procs = 1, /* I'm the only process I know about */
|
||||
#if OPAL_HAVE_HWLOC
|
||||
.cpuset = NULL,
|
||||
#endif
|
||||
|
@ -53,8 +53,7 @@ typedef struct opal_process_info_t {
|
||||
char *job_session_dir; /**< Session directory for job */
|
||||
char *proc_session_dir; /**< Session directory for the process */
|
||||
int32_t num_local_peers; /**< number of procs from my job that share my node with me */
|
||||
int32_t my_local_rank; /**< local rank */
|
||||
uint32_t num_procs; /**< number of peers */
|
||||
int32_t my_local_rank; /**< local rank */
|
||||
#if OPAL_HAVE_HWLOC
|
||||
char *cpuset; /**< String-representation of bitmap where we are bound */
|
||||
#endif
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user