From 27c7fa47e5ab95101f11886c229ea697208ad071 Mon Sep 17 00:00:00 2001 From: James Foucar Date: Tue, 4 Apr 2017 15:44:55 -0600 Subject: [PATCH] Ignore any exception from resource setting. Was getting Value errors on some machines and resource.error on others. [BFB] --- utils/python/CIME/case_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/python/CIME/case_run.py b/utils/python/CIME/case_run.py index 11e52c7dad2..0d4224fd873 100644 --- a/utils/python/CIME/case_run.py +++ b/utils/python/CIME/case_run.py @@ -200,7 +200,7 @@ def case_run(case): # system will support them try: resource.setrlimit(resource.RLIMIT_CORE, (resource.RLIM_INFINITY, resource.RLIM_INFINITY)) - except resource.error: + except: pass data_assimilation = case.get_value("DATA_ASSIMILATION")