int orte_odls_alps_launch_local_procs(opal_buffer_t *data) { int rc; orte_jobid_t job; /* construct the list of children we are to launch */ if (ORTE_SUCCESS != (rc = orte_odls_base_default_construct_child_list(data, &job))) { OPAL_OUTPUT_VERBOSE((2, orte_odls_base_framework.framework_output, "%s odls:alps:launch:local failed to construct child list on error %s", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), ORTE_ERROR_NAME(rc))); return rc; } /* get the RDMA credentials and push them into the launch environment */ if (ORTE_SUCCESS != (rc = orte_odls_alps_get_rdma_creds())) {; OPAL_OUTPUT_VERBOSE((2, orte_odls_base_framework.framework_output, "%s odls:alps:launch:failed to get GNI rdma credentials %s", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), ORTE_ERROR_NAME(rc))); return rc; } /* launch the local procs */ ORTE_ACTIVATE_LOCAL_LAUNCH(job, odls_alps_fork_local_proc); return ORTE_SUCCESS; }
int orte_odls_default_launch_local_procs(opal_buffer_t *data) { int rc; orte_jobid_t job; /* construct the list of children we are to launch */ if (ORTE_SUCCESS != (rc = orte_odls_base_default_construct_child_list(data, &job))) { OPAL_OUTPUT_VERBOSE((2, orte_odls_base_framework.framework_output, "%s odls:default:launch:local failed to construct child list on error %s", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), ORTE_ERROR_NAME(rc))); return rc; } /* launch the local procs */ ORTE_ACTIVATE_LOCAL_LAUNCH(job, odls_default_fork_local_proc); return ORTE_SUCCESS; }
int orte_odls_default_launch_local_procs(opal_buffer_t *data) { int rc; orte_jobid_t job; /* construct the list of children we are to launch */ if (ORTE_SUCCESS != (rc = orte_odls_base_default_construct_child_list(data, &job))) { OPAL_OUTPUT_VERBOSE((2, orte_odls_base_framework.framework_output, "%s odls:default:launch:local failed to construct child list on error %s", ORTE_NAME_PRINT(ORTE_PROC_MY_NAME), ORTE_ERROR_NAME(rc))); return rc; } /* launch the local procs */ ORTE_ACTIVATE_LOCAL_LAUNCH(job, odls_default_fork_local_proc); opal_dstore_attr_t *attr; attr = pmix_server_create_shared_segment(job); if (NULL != attr) { opal_setenv("PMIX_SEG_INFO", attr->connection_info, true, &orte_launch_environ); } return ORTE_SUCCESS; }