diff --git a/src/ior-output.c b/src/ior-output.c index 99eeac6..01136fb 100644 --- a/src/ior-output.c +++ b/src/ior-output.c @@ -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"); @@ -323,7 +323,7 @@ void ShowTestStart(IOR_param_t *test) PrintKeyValInt("TestID", test->id); PrintKeyVal("StartTime", CurrentTimeString()); /* if pvfs2:, then skip */ - if (strcasecmp(test->api, "DFS") && + if (strcasecmp(test->api, "DFS") && Regex(test->testFileName, "^[a-z][a-z].*:") == 0) { DisplayFreespace(test); } diff --git a/src/ior.h b/src/ior.h index 745a2d3..6b9d1d7 100755 --- a/src/ior.h +++ b/src/ior.h @@ -100,7 +100,7 @@ typedef struct int numTasks; /* number of tasks for test */ int numNodes; /* number of nodes for test */ int numTasksOnNode0; /* number of tasks on node 0 (usually all the same, but don't have to be, use with caution) */ - int tasksBlockMapping; /* are the tasks in contiguous blocks across nodes or round-robin */ + int tasksBlockMapping; /* are the tasks in contiguous blocks across nodes or round-robin */ int repetitions; /* number of repetitions of test */ int repCounter; /* rep counter */ int multiFile; /* multiple files */ diff --git a/src/parse_options.c b/src/parse_options.c index 74a7b54..607d014 100755 --- a/src/parse_options.c +++ b/src/parse_options.c @@ -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;