aboutsummaryrefslogtreecommitdiff
path: root/Carpet/Carpet/param.ccl
diff options
context:
space:
mode:
authorErik Schnetter <schnetter@cct.lsu.edu>2008-02-19 05:10:00 +0000
committerErik Schnetter <schnetter@cct.lsu.edu>2008-02-19 05:10:00 +0000
commit94bff68c964a3423aa32726ae1859e7d1c077dd4 (patch)
treeb60fd988db8021f390ff25ce5e5ad1609f1fb3e9 /Carpet/Carpet/param.ccl
parent6c86573f3f48174e3a8d75dfe87f79ac927751f9 (diff)
Carpet: Add parameters limiting the maximum core and memory size
Add parameters max_core_size_MB and max_memory_size_MB, limiting the maximum size of core files and the maximum amount of allocated memory. The limits are set via setrlimit during startup. darcs-hash:20080219051040-dae7b-1f11b6cf700d133adf09957ab7e80256c85eade1.gz
Diffstat (limited to 'Carpet/Carpet/param.ccl')
-rw-r--r--Carpet/Carpet/param.ccl14
1 files changed, 14 insertions, 0 deletions
diff --git a/Carpet/Carpet/param.ccl b/Carpet/Carpet/param.ccl
index a16b9bfe8..db2ad25e0 100644
--- a/Carpet/Carpet/param.ccl
+++ b/Carpet/Carpet/param.ccl
@@ -371,6 +371,20 @@ STRING timer_file "File name in which detailed timing statistics are collected"
"^.+$" :: "file name"
} "carpet-timing-statistics"
+INT max_core_size_MB "Maximum size of a core file" STEERABLE=recover
+{
+ -2 :: "unchanged"
+ -1 :: "unlimited"
+ 0:* :: "limited"
+} -2
+
+INT max_memory_size_MB "Maximum amount of memory per MPI process" STEERABLE=recover
+{
+ -2 :: "unchanged"
+ -1 :: "unlimited"
+ 0:* :: "limited"
+} -2
+
KEYWORD processor_topology "How to determine the processor topology" STEERABLE=recover