/* * task_term() is called after termination of application task. * It is preceded by --task-epilog (from srun command line) * followed by TaskEpilog program (from slurm.conf). */ extern int task_p_post_term (stepd_step_rec_t *job, stepd_step_task_info_t *task) { #ifdef HAVE_NATIVE_CRAY debug("task_p_post_term: %u.%u, task %d", job->jobid, job->stepid, job->envtp->procid); if (track_status) { return _check_status_file(job, task); } #endif return SLURM_SUCCESS; }
/* * task_term() is called after termination of application task. * It is preceded by --task-epilog (from srun command line) * followed by TaskEpilog program (from slurm.conf). */ extern int task_p_post_term (stepd_step_rec_t *job, stepd_step_task_info_t *task) { int rc = SLURM_SUCCESS; DEF_TIMERS; START_TIMER; #ifdef HAVE_NATIVE_CRAY debug("task_p_post_term: %u.%u, task %d", job->jobid, job->stepid, job->envtp->procid); if (track_status) { rc = _check_status_file(job, task); } #endif END_TIMER; if (debug_flags & DEBUG_FLAG_TIME_CRAY) INFO_LINE("call took: %s", TIME_STR); return rc; }