From 77f800b7e8c0adace4f82e2b6b098f681c017129 Mon Sep 17 00:00:00 2001 From: Ralph Castain Date: Sun, 21 Feb 2016 16:29:00 -0800 Subject: [PATCH] Tools don't create the orte_job_data table, so don't remove jobs from it --- orte/runtime/orte_globals.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orte/runtime/orte_globals.c b/orte/runtime/orte_globals.c index ffd8eeaa8c..7287aa09ca 100644 --- a/orte/runtime/orte_globals.c +++ b/orte/runtime/orte_globals.c @@ -717,7 +717,7 @@ static void orte_job_destruct(orte_job_t* job) /* release the attributes */ OPAL_LIST_DESTRUCT(&job->attributes); - if (ORTE_JOBID_INVALID != job->jobid) { + if (NULL != orte_job_data && ORTE_JOBID_INVALID != job->jobid) { /* remove the job from the global array */ opal_hash_table_remove_value_uint32(orte_job_data, job->jobid); }