1
+ /** \todo CN Maybe redesign the logfile implementation? */
2
+
1
3
#include "config.h"
2
4
3
5
#include <getopt.h>
@@ -210,25 +212,19 @@ int main (int argc, char * argv[])
210
212
}
211
213
}
212
214
213
- /*
214
- * XXX CN Maybe redesign the logfile implementation?
215
- */
216
215
tst_output_init (DEBUG_LOG , TST_OUTPUT_RANK_SELF , TST_REPORT_MAX , TST_OUTPUT_TYPE_LOGFILE , "tst.log" );
217
216
218
- char * info_str = (char * ) calloc ( MAX_INFO_STRING_LENGTH , sizeof (char ) );
219
- get_compiler_info ( & info_str );
220
- tst_output_printf (DEBUG_LOG , TST_REPORT_RUN , "Compiler used was %s\n" , info_str );
221
- get_mpi_info ( & info_str );
222
- tst_output_printf (DEBUG_LOG , TST_REPORT_FULL , "MPI version used was %s\n" , info_str );
223
- get_compile_time ( & info_str );
224
- tst_output_printf (DEBUG_LOG , TST_REPORT_FULL , "Compiled at %s\n" , info_str );
225
- get_timestamp ( & info_str );
226
- tst_output_printf (DEBUG_LOG , TST_REPORT_FULL , "Started at %s\n" , info_str );
227
-
228
-
229
-
217
+ char * info_str = (char * ) calloc (MAX_INFO_STRING_LENGTH , sizeof (char ));
218
+ get_compiler_info (& info_str );
219
+ tst_output_printf (DEBUG_LOG , TST_REPORT_RUN , "Compiler used was %s\n" , info_str );
220
+ get_mpi_info (& info_str );
221
+ tst_output_printf (DEBUG_LOG , TST_REPORT_FULL , "MPI version used was %s\n" , info_str );
222
+ get_compile_time (& info_str );
223
+ tst_output_printf (DEBUG_LOG , TST_REPORT_FULL , "Compiled at %s\n" , info_str );
224
+ get_timestamp (& info_str );
225
+ tst_output_printf (DEBUG_LOG , TST_REPORT_FULL , "Started at %s\n" , info_str );
230
226
#ifndef HAVE_MPI2_THREADS
231
- tst_output_printf (DEBUG_LOG , TST_REPORT_FULL , "Testsuite was compiled without MPI2_THREADS" );
227
+ tst_output_printf (DEBUG_LOG , TST_REPORT_FULL , "Testsuite was compiled without MPI2_THREADS" );
232
228
#endif
233
229
/*
234
230
* Output example:
@@ -252,8 +248,7 @@ int main (int argc, char * argv[])
252
248
* Checking if the upper boundary for tag values is at least 32767 as required by MPI-1.1.
253
249
* (see MPI-1.1 section 7.1.1.1 Tag values or MPI-3.1 section 8.1.2)
254
250
*/
255
- if (tst_tag_ub < 32767 )
256
- {
251
+ if (tst_tag_ub < 32767 ) {
257
252
printf ("Error: MPI_TAG_UB was below 32767.\n" );
258
253
}
259
254
0 commit comments