Skip to content

Commit 377b675

Browse files
committed
Disable per MPI process log output to files for scalability
The test suite created by default one detailed log file per MPI process. When running the test suite with many MPI processes this becomes an issue for file systems. Therefore, this change disables the per MPI process log output by lowering its level to TST_REPORT_NONE. The output stream is set to stderr, just in case. Signed-off-by: Christoph Niethammer <[email protected]>
1 parent 2860779 commit 377b675

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: mpi_test_suite.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ int main (int argc, char * argv[])
142142
MPI_Comm_rank (MPI_COMM_WORLD, &tst_global_rank);
143143
MPI_Comm_size (MPI_COMM_WORLD, &tst_global_size);
144144

145-
tst_output_init (DEBUG_LOG, TST_OUTPUT_RANK_SELF, TST_REPORT_MAX, TST_OUTPUT_TYPE_LOGFILE, "tst.log");
145+
tst_output_init (DEBUG_LOG, TST_OUTPUT_RANK_SELF, TST_REPORT_NONE, TST_OUTPUT_TYPE_STDERR);
146146

147147
char info_str[MAX_INFO_STRING_LENGTH];
148148
get_compiler_info(info_str);

0 commit comments

Comments
 (0)