aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/param.ccl
diff options
context:
space:
mode:
Diffstat (limited to 'Carpet/CarpetLib/param.ccl')
-rw-r--r--Carpet/CarpetLib/param.ccl16
1 files changed, 16 insertions, 0 deletions
diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl
index 6966e1282..75b183e14 100644
--- a/Carpet/CarpetLib/param.ccl
+++ b/Carpet/CarpetLib/param.ccl
@@ -26,6 +26,22 @@ BOOLEAN save_memory_during_regridding "Save some memory during regridding at the
{
} "no"
+
+
+INT print_memstats_every "Report periodically how much memory is used per process" STEERABLE=always
+{
+ 0 :: "don't report"
+ 1:* :: "report every so many iterations"
+} 0
+
+INT max_allowed_memory_MB "Maximum allowed amount of memory per process (in Megabytes)" STEERABLE=always
+{
+ 0 :: "no maximum"
+ 1:* :: "abort if more memory is used"
+} 0
+
+
+
# Options to tune MPI communication
INT max_mpi_tags "Maximum number of MPI tags to use"