File tree Expand file tree Collapse file tree 3 files changed +0
-24
lines changed Expand file tree Collapse file tree 3 files changed +0
-24
lines changed Original file line number Diff line number Diff line change @@ -755,28 +755,6 @@ int ompi_rte_init(int *pargc, char ***pargv)
755
755
opal_process_info .proc_is_bound = false;
756
756
}
757
757
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
-
780
758
/* get our local peers */
781
759
if (0 < opal_process_info .num_local_peers ) {
782
760
/* if my local rank if too high, then that's an error */
Original file line number Diff line number Diff line change @@ -40,7 +40,6 @@ opal_process_info_t opal_process_info = {
40
40
.num_local_peers = 0 , /* there is nobody else but me */
41
41
.my_local_rank = 0 , /* I'm the only process around here */
42
42
.my_node_rank = 0 ,
43
- .my_numa_rank = UINT16_MAX , /* Assume numa_rank is unavailable, set to UINT16_MAX */
44
43
.cpuset = NULL ,
45
44
.pid = 0 ,
46
45
.num_procs = 0 ,
Original file line number Diff line number Diff line change @@ -114,7 +114,6 @@ typedef struct opal_process_info_t {
114
114
uint32_t num_local_peers ; /**< number of procs from my job that share my node with me */
115
115
uint16_t my_local_rank ; /**< local rank on this node within my job */
116
116
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 */
118
117
char * cpuset ; /**< String-representation of bitmap where we are bound */
119
118
pid_t pid ;
120
119
uint32_t num_procs ;
You can’t perform that action at this time.
0 commit comments