Skip to content

Commit

Permalink
Restrict MPI apps to cleaning up job-level dirs
Browse files Browse the repository at this point in the history
MPI apps should only cleanup the session directory to the level of their
own job.

Signed-off-by: Ralph Castain <rhc@open-mpi.org>
  • Loading branch information
Ralph Castain committed Jan 13, 2018
1 parent 8049c06 commit 1cd8e34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion orte/mca/ess/base/ess_base_std_app.c
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ int orte_ess_base_app_setup(bool db_restrict_local)
goto error;
}
} else {
if (OPAL_SUCCESS != (ret = opal_pmix.register_cleanup(orte_process_info.jobfam_session_dir, true, false, false))) {
if (OPAL_SUCCESS != (ret = opal_pmix.register_cleanup(orte_process_info.job_session_dir, true, false, false))) {
ORTE_ERROR_LOG(ret);
error = "register cleanup";
goto error;
Expand Down

0 comments on commit 1cd8e34

Please sign in to comment.