From 1cd8e347654720f9eaec7ab410363d54e9172d8f Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Fri, 12 Jan 2018 17:14:24 -0800 Subject: [PATCH] Restrict MPI apps to cleaning up job-level dirs MPI apps should only cleanup the session directory to the level of their own job. Signed-off-by: Ralph Castain --- orte/mca/ess/base/ess_base_std_app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/mca/ess/base/ess_base_std_app.c b/orte/mca/ess/base/ess_base_std_app.c index a6d1c4437e6..c1e3bd3ab3e 100644 --- a/orte/mca/ess/base/ess_base_std_app.c +++ b/orte/mca/ess/base/ess_base_std_app.c @@ -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;