File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ int ompi_mpiinfo_init(void)
117
117
}
118
118
119
119
/* max procs for the entire job */
120
- if (NULL != (cptr = getenv ("OMPI_MCA_orte_ess_num_procs " ))) {
120
+ if (NULL != (cptr = getenv ("OMPI_MCA_num_procs " ))) {
121
121
opal_info_set (& ompi_mpi_info_env .info .super , "maxprocs" , cptr );
122
122
/* Open MPI does not support the "soft" option, so set it to maxprocs */
123
123
opal_info_set (& ompi_mpi_info_env .info .super , "soft" , cptr );
@@ -128,7 +128,7 @@ int ompi_mpiinfo_init(void)
128
128
opal_info_set (& ompi_mpi_info_env .info .super , "host" , val );
129
129
130
130
/* architecture name */
131
- if (NULL != (cptr = getenv ("OMPI_MCA_orte_cpu_type " ))) {
131
+ if (NULL != (cptr = getenv ("OMPI_MCA_cpu_type " ))) {
132
132
opal_info_set (& ompi_mpi_info_env .info .super , "arch" , cptr );
133
133
}
134
134
#ifdef HAVE_SYS_UTSNAME_H
You can’t perform that action at this time.
0 commit comments