Skip to content

Commit

Permalink
Ignore any exception from resource setting.
Browse files Browse the repository at this point in the history
Was getting Value errors on some machines and resource.error on
others.

[BFB]
  • Loading branch information
jgfouca committed Apr 4, 2017
1 parent 82b1792 commit 27c7fa4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/python/CIME/case_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 27c7fa4

Please sign in to comment.