src/mca/plm/alps/plm_alps_module.c
/* When working in this function, ALWAYS jump to "cleanup" if
 * you encounter an error so that prun will be woken up and
 * the job can cleanly terminate
 */
When working in this function, ALWAYS jump to "cleanup" if
you encounter an error so that prun will be woken up and
the job can cleanly terminate
When working in this function ALWAYS jump to " cleanup " if you encounter an error so that prun will be woken up and the job can cleanly terminate
static int plm_alps_launch_job(prte_job_t *jdata)
{
    if (PRTE_FLAG_TEST(jdata, PRTE_JOB_FLAG_RESTART)) {
        PRTE_ACTIVATE_JOB_STATE(jdata, PRTE_JOB_STATE_MAP);
    } else {
        PRTE_ACTIVATE_JOB_STATE(jdata, PRTE_JOB_STATE_INIT);
    }
    return PRTE_SUCCESS;
}
static int plm_alps_launch_job ( prte_job_t * jdata ) { if ( PRTE_FLAG_TEST ( jdata , PRTE_JOB_FLAG_RESTART ) ) { PRTE_ACTIVATE_JOB_STATE ( jdata , PRTE_JOB_STATE_MAP ) ; } else { PRTE_ACTIVATE_JOB_STATE ( jdata , PRTE_JOB_STATE_INIT ) ; } return PRTE_SUCCESS ; }
When working in this function, ALWAYS jump to "cleanup" if
 you encounter an error so that prun will be woken up and
 the job can cleanly terminate
When working in this function ALWAYS jump to " cleanup " if you encounter an error so that prun will be woken up and the job can cleanly terminate
/* this is a restart situation - skip to the mapping stage */ /* new job - set it up */