@@ -696,7 +696,11 @@ static int dpm_convert(opal_list_t *infos,
696
696
/* does it conflict? */
697
697
if (0 != strncasecmp (ck , directive , strlen (directive ))) {
698
698
opal_asprintf (& help_str , "Conflicting directives \"%s %s\"" , ck , directive );
699
+ #if PMIX_NUMERIC_VERSION >= 0x00040000
699
700
attr = PMIx_Get_attribute_string (option );
701
+ #else
702
+ attr = option ;
703
+ #endif
700
704
opal_show_help ("help-dpm.txt" , "deprecated-fail" , true,
701
705
infokey , attr , help_str );
702
706
free (help_str );
@@ -723,7 +727,11 @@ static int dpm_convert(opal_list_t *infos,
723
727
if (OMPI_SUCCESS != rc ) {
724
728
/* we have a conflict */
725
729
opal_asprintf (& ptr , " Option %s\n Conflicting modifiers \"%s %s\"" , option , infokey , modifier );
730
+ #if PMIX_NUMERIC_VERSION >= 0x00040000
726
731
attr = PMIx_Get_attribute_string (option );
732
+ #else
733
+ attr = option ;
734
+ #endif
727
735
opal_show_help ("help-dpm.txt" , "deprecated-fail" , true,
728
736
infokey , attr , ptr );
729
737
free (ptr );
@@ -983,9 +991,9 @@ int ompi_dpm_spawn(int count, const char *array_of_commands[],
983
991
984
992
/* non-standard keys
985
993
* Keys that correspond to prun/mpiexec parameters
986
- * do not deprecate PMIX unprefixed forms to remain identical
994
+ * do not deprecate PMIX unprefixed forms to remain identical
987
995
* to the command line parameter;
988
- * Keys that are not corresponding to an mpiexec parameter are
996
+ * Keys that are not corresponding to an mpiexec parameter are
989
997
* deprecated in the non-prefixed form */
990
998
991
999
/* check for 'hostfile' */
0 commit comments