Fixed wrong usage of platform, fixed printf output.

master
Julian M. Kunkel 2019-12-21 14:14:27 +00:00
parent 240d5fae79
commit 6de5cdc6f9
3 changed files with 4 additions and 4 deletions

View File

@ -262,7 +262,7 @@ void PrintHeader(int argc, char **argv)
if (outputFormat != OUTPUT_DEFAULT){
PrintKeyVal("Version", META_VERSION);
}else{
printf("IOR-" META_VERSION ": MPI Coordinated Test of Parallel I/O\n");
fprintf(out_resultfile, "IOR-" META_VERSION ": MPI Coordinated Test of Parallel I/O\n");
}
PrintKeyVal("Began", CurrentTimeString());
PrintKeyValStart("Command line");

View File

@ -544,7 +544,7 @@ IOR_test_t *ParseCommandLine(int argc, char **argv)
IOR_test_t *tests = NULL;
GetPlatformName(initialTestParams.platform);
initialTestParams.platform = GetPlatformName();
option_help * options = createGlobalOptions( & initialTestParams);
parameters = & initialTestParams;