From cd4e46c945a9d57490027912c0f92a6817554050 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] --- cime/utils/python/CIME/case_run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cime/utils/python/CIME/case_run.py b/cime/utils/python/CIME/case_run.py index 11e52c7dad25..0d4224fd8739 100644 --- a/cime/utils/python/CIME/case_run.py +++ b/cime/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")