From 2f1a70472799f6576260f295fa377b48c9b269a4 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Sat, 19 Nov 2005 20:15:00 +0000 Subject: CarpetLib: Output memory statistics to file Add new parameter CarpetLib::memstat_file. If set, then memory statistics are periodically written to this file. darcs-hash:20051119201538-dae7b-88c8b8cd5b9d2643d1be6e682f2aa32e7a00ef2d.gz --- Carpet/CarpetLib/param.ccl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'Carpet/CarpetLib/param.ccl') diff --git a/Carpet/CarpetLib/param.ccl b/Carpet/CarpetLib/param.ccl index 3756062f3..62c7c6e9b 100644 --- a/Carpet/CarpetLib/param.ccl +++ b/Carpet/CarpetLib/param.ccl @@ -44,6 +44,18 @@ INT max_allowed_memory_MB "Maximum allowed amount of memory per process (in Mega 1:* :: "abort if more memory is used" } 0 +STRING memstat_file "File name to which memstat output is collected (because stdout from the root node may not be enough)" +{ + "^$" :: "empty filename: no file output" + "^.+$" :: "file name" +} "memory-statistics" + +SHARES: IO + +USES STRING out_dir + +PRIVATE: + # Options to tune MPI communication -- cgit v1.2.3