@@ -304,13 +304,6 @@ int pmix_server_spawn_fn(opal_process_name_t *requestor,
304304
305305 /*** MAP-BY ***/
306306 } else if (0 == strcmp (info -> key , OPAL_PMIX_MAPBY )) {
307- if (ORTE_MAPPING_POLICY_IS_SET (jdata -> map -> mapping )) {
308- /* not allowed to provide multiple mapping policies */
309- orte_show_help ("help-orte-rmaps-base.txt" , "redefining-policy" ,
310- true, "mapping" , info -> data .string ,
311- orte_rmaps_base_print_mapping (orte_rmaps_base .mapping ));
312- return ORTE_ERR_BAD_PARAM ;
313- }
314307 rc = orte_rmaps_base_set_mapping_policy (jdata , & jdata -> map -> mapping ,
315308 NULL , info -> data .string );
316309 if (ORTE_SUCCESS != rc ) {
@@ -319,13 +312,6 @@ int pmix_server_spawn_fn(opal_process_name_t *requestor,
319312
320313 /*** RANK-BY ***/
321314 } else if (0 == strcmp (info -> key , OPAL_PMIX_RANKBY )) {
322- if (ORTE_RANKING_POLICY_IS_SET (jdata -> map -> ranking )) {
323- /* not allowed to provide multiple ranking policies */
324- orte_show_help ("help-orte-rmaps-base.txt" , "redefining-policy" ,
325- true, "ranking" , info -> data .string ,
326- orte_rmaps_base_print_ranking (orte_rmaps_base .ranking ));
327- return ORTE_ERR_BAD_PARAM ;
328- }
329315 rc = orte_rmaps_base_set_ranking_policy (& jdata -> map -> ranking ,
330316 jdata -> map -> mapping ,
331317 info -> data .string );
@@ -335,13 +321,6 @@ int pmix_server_spawn_fn(opal_process_name_t *requestor,
335321
336322 /*** BIND-TO ***/
337323 } else if (0 == strcmp (info -> key , OPAL_PMIX_BINDTO )) {
338- if (OPAL_BINDING_POLICY_IS_SET (jdata -> map -> binding )) {
339- /* not allowed to provide multiple mapping policies */
340- orte_show_help ("help-opal-hwloc-base.txt" , "redefining-policy" , true,
341- info -> data .string ,
342- opal_hwloc_base_print_binding (opal_hwloc_binding_policy ));
343- return ORTE_ERR_BAD_PARAM ;
344- }
345324 rc = opal_hwloc_base_set_binding_policy (& jdata -> map -> binding ,
346325 info -> data .string );
347326 if (ORTE_SUCCESS != rc ) {
0 commit comments