Skip to content

Commit f608575

Browse files
committed
Remove references to numa_rank
Signed-off-by: Ralph Castain <rhc@pmix.org>
1 parent 86709b1 commit f608575

File tree

3 files changed

+0
-24
lines changed

3 files changed

+0
-24
lines changed

ompi/runtime/ompi_rte.c

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -755,28 +755,6 @@ int ompi_rte_init(int *pargc, char ***pargv)
755755
opal_process_info.proc_is_bound = false;
756756
}
757757

758-
/* get our numa rank from PMIx */
759-
if (opal_process_info.proc_is_bound) {
760-
OPAL_MODEX_RECV_VALUE_OPTIONAL(rc, PMIX_NUMA_RANK,
761-
&opal_process_info.my_name, &u16ptr, PMIX_UINT16);
762-
if (PMIX_SUCCESS != rc) {
763-
if (ompi_singleton) {
764-
/* just assume the numa_rank is invalid, set to UINT16_MAX */
765-
u16 = UINT16_MAX;
766-
} else {
767-
ret = opal_pmix_convert_status(rc);
768-
error = "numa rank";
769-
goto error;
770-
}
771-
}
772-
opal_process_info.my_numa_rank = u16;
773-
} else {
774-
/* If processes are not bound, the numa_rank is not available
775-
* Assign UINT16_MAX to the numa_rank to indicate an invalid value
776-
*/
777-
opal_process_info.my_numa_rank = UINT16_MAX;
778-
}
779-
780758
/* get our local peers */
781759
if (0 < opal_process_info.num_local_peers) {
782760
/* if my local rank if too high, then that's an error */

opal/util/proc.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ opal_process_info_t opal_process_info = {
4040
.num_local_peers = 0, /* there is nobody else but me */
4141
.my_local_rank = 0, /* I'm the only process around here */
4242
.my_node_rank = 0,
43-
.my_numa_rank = UINT16_MAX, /* Assume numa_rank is unavailable, set to UINT16_MAX */
4443
.cpuset = NULL,
4544
.pid = 0,
4645
.num_procs = 0,

opal/util/proc.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,6 @@ typedef struct opal_process_info_t {
114114
uint32_t num_local_peers; /**< number of procs from my job that share my node with me */
115115
uint16_t my_local_rank; /**< local rank on this node within my job */
116116
uint16_t my_node_rank;
117-
uint16_t my_numa_rank; /**< rank on this processes NUMA node. A value of UINT16_MAX indicates unavailable numa_rank */
118117
char *cpuset; /**< String-representation of bitmap where we are bound */
119118
pid_t pid;
120119
uint32_t num_procs;

0 commit comments

Comments
 (0)