Initialize logfile for warnings if not set.
parent
484cb420d2
commit
371335195b
|
@ -103,6 +103,7 @@ void * airoi_update_module_options(const ior_aiori_t * backend, options_all_t *
|
|||
}
|
||||
|
||||
options_all_t * airoi_create_all_module_options(option_help * global_options){
|
||||
if(! out_logfile) out_logfile = stdout;
|
||||
int airoi_c = aiori_count();
|
||||
options_all_t * opt = malloc(sizeof(options_all_t));
|
||||
opt->module_count = airoi_c + 1;
|
||||
|
|
|
@ -60,8 +60,8 @@ int rankOffset = 0;
|
|||
int verbose = VERBOSE_0; /* verbose output */
|
||||
MPI_Comm testComm;
|
||||
MPI_Comm mpi_comm_world;
|
||||
FILE * out_logfile;
|
||||
FILE * out_resultfile;
|
||||
FILE * out_logfile = NULL;
|
||||
FILE * out_resultfile = NULL;
|
||||
enum OutputFormat_t outputFormat;
|
||||
|
||||
/***************************** F U N C T I O N S ******************************/
|
||||
|
|
Loading…
Reference in New Issue