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)
117117 }
118118
119119 /* 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 " ))) {
121121 opal_info_set (& ompi_mpi_info_env .info .super , "maxprocs" , cptr );
122122 /* Open MPI does not support the "soft" option, so set it to maxprocs */
123123 opal_info_set (& ompi_mpi_info_env .info .super , "soft" , cptr );
@@ -128,7 +128,7 @@ int ompi_mpiinfo_init(void)
128128 opal_info_set (& ompi_mpi_info_env .info .super , "host" , val );
129129
130130 /* architecture name */
131- if (NULL != (cptr = getenv ("OMPI_MCA_orte_cpu_type " ))) {
131+ if (NULL != (cptr = getenv ("OMPI_MCA_cpu_type " ))) {
132132 opal_info_set (& ompi_mpi_info_env .info .super , "arch" , cptr );
133133 }
134134#ifdef HAVE_SYS_UTSNAME_H
You can’t perform that action at this time.
0 commit comments