Alphabetize the command line options

master
Christopher J. Morrone 2012-01-12 20:49:56 -08:00
parent 488ee724a9
commit 8c95611125
3 changed files with 12 additions and 12 deletions

View File

@ -56,18 +56,14 @@ Two ways to run IOR:
* 3. OPTIONS * * 3. OPTIONS *
************** **************
These options are to be used on the command line. E.g., 'IOR -a POSIX -b 4K'. These options are to be used on the command line. E.g., 'IOR -a POSIX -b 4K'.
-A N testNum -- test number for reference in some output
-a S api -- API for I/O [POSIX|MPIIO|HDF5|NCMPI] -a S api -- API for I/O [POSIX|MPIIO|HDF5|NCMPI]
-A N testNum -- test number for reference in some output
-b N blockSize -- contiguous bytes to write per task (e.g.: 8, 4k, 2m, 1g) -b N blockSize -- contiguous bytes to write per task (e.g.: 8, 4k, 2m, 1g)
-B useO_DIRECT -- uses O_DIRECT for POSIX, bypassing I/O buffers -B useO_DIRECT -- uses O_DIRECT for POSIX, bypassing I/O buffers
-c collective -- collective I/O -c collective -- collective I/O
-C reorderTasksConstant -- changes task ordering to n+1 ordering for readback -C reorderTasksConstant -- changes task ordering to n+1 ordering for readback
-Q N taskPerNodeOffset for read tests use with -C & -Z options (-C constant N, -Z at least N) [!HDF5]
-Z reorderTasksRandom -- changes task ordering to random ordering for readback
-X N reorderTasksRandomSeed -- random seed for -Z option
-d N interTestDelay -- delay between reps in seconds -d N interTestDelay -- delay between reps in seconds
-D N deadlineForStonewalling -- seconds before stopping write or read phase -D N deadlineForStonewalling -- seconds before stopping write or read phase
-Y fsyncPerWrite -- perform fsync after each POSIX write
-e fsync -- perform fsync upon POSIX write close -e fsync -- perform fsync upon POSIX write close
-E useExistingTestFile -- do not remove test file before write access -E useExistingTestFile -- do not remove test file before write access
-f S scriptFile -- test script name -f S scriptFile -- test script name
@ -83,8 +79,8 @@ These options are to be used on the command line. E.g., 'IOR -a POSIX -b 4K'.
-k keepFile -- don't remove the test file(s) on program exit -k keepFile -- don't remove the test file(s) on program exit
-K keepFileWithError -- keep error-filled file(s) after data-checking -K keepFileWithError -- keep error-filled file(s) after data-checking
-l storeFileOffset -- use file offset as stored signature -l storeFileOffset -- use file offset as stored signature
-M S memoryPerNode -- hog memory on the node
-m multiFile -- use number of reps (-i) for multiple file count -m multiFile -- use number of reps (-i) for multiple file count
-M S memoryPerNode -- hog memory on the node
-n noFill -- no fill in HDF5 file creation -n noFill -- no fill in HDF5 file creation
-N N numTasks -- number of tasks that should participate in the test -N N numTasks -- number of tasks that should participate in the test
-o S testFile -- full name for test -o S testFile -- full name for test
@ -92,6 +88,7 @@ These options are to be used on the command line. E.g., 'IOR -a POSIX -b 4K'.
-p preallocate -- preallocate file size -p preallocate -- preallocate file size
-P useSharedFilePointer -- use shared file pointer [not working] -P useSharedFilePointer -- use shared file pointer [not working]
-q quitOnError -- during file error-checking, abort on error -q quitOnError -- during file error-checking, abort on error
-Q N taskPerNodeOffset for read tests use with -C & -Z options (-C constant N, -Z at least N) [!HDF5]
-r readFile -- read existing file -r readFile -- read existing file
-R checkRead -- check read after read -R checkRead -- check read after read
-s N segmentCount -- number of segments -s N segmentCount -- number of segments
@ -105,7 +102,10 @@ These options are to be used on the command line. E.g., 'IOR -a POSIX -b 4K'.
-w writeFile -- write file -w writeFile -- write file
-W checkWrite -- check read after write -W checkWrite -- check read after write
-x singleXferAttempt -- do not retry transfer if incomplete -x singleXferAttempt -- do not retry transfer if incomplete
-X N reorderTasksRandomSeed -- random seed for -Z option
-Y fsyncPerWrite -- perform fsync after each POSIX write
-z randomOffset -- access is to random, not sequential, offsets within a file -z randomOffset -- access is to random, not sequential, offsets within a file
-Z reorderTasksRandom -- changes task ordering to random ordering for readback
NOTES: * S is a string, N is an integer number. NOTES: * S is a string, N is an integer number.

View File

@ -658,18 +658,14 @@ static void DisplayUsage(char **argv)
{ {
char *opts[] = { char *opts[] = {
"OPTIONS:", "OPTIONS:",
" -A N testNum -- test number for reference in some output",
" -a S api -- API for I/O [POSIX|MPIIO|HDF5|NCMPI]", " -a S api -- API for I/O [POSIX|MPIIO|HDF5|NCMPI]",
" -A N testNum -- test number for reference in some output",
" -b N blockSize -- contiguous bytes to write per task (e.g.: 8, 4k, 2m, 1g)", " -b N blockSize -- contiguous bytes to write per task (e.g.: 8, 4k, 2m, 1g)",
" -B useO_DIRECT -- uses O_DIRECT for POSIX, bypassing I/O buffers", " -B useO_DIRECT -- uses O_DIRECT for POSIX, bypassing I/O buffers",
" -c collective -- collective I/O", " -c collective -- collective I/O",
" -C reorderTasks -- changes task ordering to n+1 ordering for readback", " -C reorderTasks -- changes task ordering to n+1 ordering for readback",
" -Q N taskPerNodeOffset for read tests use with -C & -Z options (-C constant N, -Z at least N)",
" -Z reorderTasksRandom -- changes task ordering to random ordering for readback",
" -X N reorderTasksRandomSeed -- random seed for -Z option",
" -d N interTestDelay -- delay between reps in seconds", " -d N interTestDelay -- delay between reps in seconds",
" -D N deadlineForStonewalling -- seconds before stopping write or read phase", " -D N deadlineForStonewalling -- seconds before stopping write or read phase",
" -Y fsyncPerWrite -- perform fsync after each POSIX write",
" -e fsync -- perform fsync upon POSIX write close", " -e fsync -- perform fsync upon POSIX write close",
" -E useExistingTestFile -- do not remove test file before write access", " -E useExistingTestFile -- do not remove test file before write access",
" -f S scriptFile -- test script name", " -f S scriptFile -- test script name",
@ -693,6 +689,7 @@ static void DisplayUsage(char **argv)
" -p preallocate -- preallocate file size", " -p preallocate -- preallocate file size",
" -P useSharedFilePointer -- use shared file pointer [not working]", " -P useSharedFilePointer -- use shared file pointer [not working]",
" -q quitOnError -- during file error-checking, abort on error", " -q quitOnError -- during file error-checking, abort on error",
" -Q N taskPerNodeOffset for read tests use with -C & -Z options (-C constant N, -Z at least N)",
" -r readFile -- read existing file", " -r readFile -- read existing file",
" -R checkRead -- check read after read", " -R checkRead -- check read after read",
" -s N segmentCount -- number of segments", " -s N segmentCount -- number of segments",
@ -706,7 +703,10 @@ static void DisplayUsage(char **argv)
" -w writeFile -- write file", " -w writeFile -- write file",
" -W checkWrite -- check read after write", " -W checkWrite -- check read after write",
" -x singleXferAttempt -- do not retry transfer if incomplete", " -x singleXferAttempt -- do not retry transfer if incomplete",
" -X N reorderTasksRandomSeed -- random seed for -Z option",
" -Y fsyncPerWrite -- perform fsync after each POSIX write",
" -z randomOffset -- access is to random, not sequential, offsets within a file", " -z randomOffset -- access is to random, not sequential, offsets within a file",
" -Z reorderTasksRandom -- changes task ordering to random ordering for readback",
" ", " ",
" NOTE: S is a string, N is an integer number.", " NOTE: S is a string, N is an integer number.",
" ", " ",

View File

@ -387,7 +387,7 @@ IOR_test_t *ReadConfigScript(char *scriptName)
IOR_test_t *ParseCommandLine(int argc, char **argv) IOR_test_t *ParseCommandLine(int argc, char **argv)
{ {
static const char *opts = static const char *opts =
"A:a:b:BcCQ:ZX:d:D:YeEf:FgG:hHi:j:J:IkKlmM:nN:o:O:pPqrRs:St:T:uU:vVwWxz"; "a:A:b:BcCd:D:eEf:FgG:hHi:Ij:J:kKlmM:nN:o:O:pPqQ:rRs:St:T:uU:vVwWxX:YzZ";
int c, i; int c, i;
static IOR_test_t *tests = NULL; static IOR_test_t *tests = NULL;