diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2005-11-19 20:15:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2005-11-19 20:15:00 +0000 |
commit | 2f1a70472799f6576260f295fa377b48c9b269a4 (patch) | |
tree | 11432c5275cea233ebc5139144373c28b26a744d /Carpet/CarpetLib/param.ccl | |
parent | adf9ca6ecdc5aa29f965ca11f7c2c21560c8fa7e (diff) |
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
Diffstat (limited to 'Carpet/CarpetLib/param.ccl')
-rw-r--r-- | Carpet/CarpetLib/param.ccl | 12 |
1 files changed, 12 insertions, 0 deletions
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 |