1
1

Remove references to numa_rank

Signed-off-by: Ralph Castain <rhc@pmix.org>
Этот коммит содержится в:
Ralph Castain 2020-05-01 13:32:29 -07:00
родитель 86709b1c80
Коммит f608575eec
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B63B630167D26BB5
3 изменённых файлов: 0 добавлений и 24 удалений

Просмотреть файл

@ -755,28 +755,6 @@ int ompi_rte_init(int *pargc, char ***pargv)
opal_process_info.proc_is_bound = false;
}
/* get our numa rank from PMIx */
if (opal_process_info.proc_is_bound) {
OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, PMIX_NUMA_RANK,
&opal_process_info.my_name, &u16ptr, PMIX_UINT16);
if (PMIX_SUCCESS != rc) {
if (ompi_singleton) {
/* just assume the numa_rank is invalid, set to UINT16_MAX */
u16 = UINT16_MAX;
} else {
ret = opal_pmix_convert_status(rc);
error = "numa rank";
goto error;
}
}
opal_process_info.my_numa_rank = u16;
} else {
/* If processes are not bound, the numa_rank is not available
* Assign UINT16_MAX to the numa_rank to indicate an invalid value
*/
opal_process_info.my_numa_rank = UINT16_MAX;
}
/* get our local peers */
if (0 < opal_process_info.num_local_peers) {
/* if my local rank if too high, then that's an error */

Просмотреть файл

@ -40,7 +40,6 @@ opal_process_info_t opal_process_info = {
.num_local_peers = 0, /* there is nobody else but me */
.my_local_rank = 0, /* I'm the only process around here */
.my_node_rank = 0,
.my_numa_rank = UINT16_MAX, /* Assume numa_rank is unavailable, set to UINT16_MAX */
.cpuset = NULL,
.pid = 0,
.num_procs = 0,

Просмотреть файл

@ -114,7 +114,6 @@ typedef struct opal_process_info_t {
uint32_t num_local_peers; /**< number of procs from my job that share my node with me */
uint16_t my_local_rank; /**< local rank on this node within my job */
uint16_t my_node_rank;
uint16_t my_numa_rank; /**< rank on this processes NUMA node. A value of UINT16_MAX indicates unavailable numa_rank */
char *cpuset; /**< String-representation of bitmap where we are bound */
pid_t pid;
uint32_t num_procs;