Cleanup of old testing code.
parent
b172cd684f
commit
a3c773d006
|
@ -1,24 +0,0 @@
|
|||
IOR START
|
||||
testFile = /tmp/work/swh13/testfile
|
||||
filePerProc=1
|
||||
api=POSIX
|
||||
repetitions=2
|
||||
verbose=1
|
||||
reordertasksrandom=1
|
||||
reordertasksrandomseed=-113
|
||||
RUN
|
||||
verbose = 2
|
||||
repetitions=1#more foo
|
||||
reordertasksconstant=1
|
||||
#foobar
|
||||
blockSize=10m
|
||||
transferSize=128k
|
||||
randomoffset=1
|
||||
|
||||
RUN
|
||||
verbose = 0
|
||||
|
||||
#blockSize=
|
||||
transferSize=64k
|
||||
RUN
|
||||
IOR STOP
|
|
@ -1,93 +0,0 @@
|
|||
#!/bin/bash -x
|
||||
|
||||
#PBS -N IOR
|
||||
#PBS -j oe
|
||||
#PBS -q batch
|
||||
#PBS -A stf006
|
||||
#PBS -V
|
||||
#PBS -l walltime=0:60:00,size=8
|
||||
|
||||
VERS=IOR-2.10.1.ornl.16
|
||||
WORK=/tmp/work/${USER}
|
||||
echo $PBS_O_WORKDIR
|
||||
|
||||
cd /ccs/proj/quadcore
|
||||
tar -czvf ${WORK}/${VERS}.tar.gz ./${VERS}
|
||||
cd ${WORK}
|
||||
rm -fr ./${VERS}
|
||||
tar -xzvf ${WORK}/${VERS}.tar.gz
|
||||
cd ${WORK}/${VERS}
|
||||
gmake clean
|
||||
gmake mpiio
|
||||
EXEC=${WORK}/${VERS}/src/C/IOR
|
||||
IODIR=/tmp/work/swh13/test_files_x
|
||||
cd ${WORK}/${VERS}/tests
|
||||
|
||||
which mpirun
|
||||
|
||||
rm -fr $IODIR
|
||||
mkdir $IODIR
|
||||
|
||||
let "w=128"
|
||||
let "s=1024*1024"
|
||||
let "i=3"
|
||||
|
||||
MPIRUN="aprun -n"
|
||||
|
||||
RESULTS="."
|
||||
|
||||
let "tid=1"
|
||||
XFERS="1048576 262144 32768 4096 1024"
|
||||
XFERS="262144"
|
||||
for xfer in `echo $XFERS`
|
||||
do
|
||||
let "n=8"
|
||||
until [ "$n" -gt 8 ]
|
||||
do
|
||||
|
||||
let "m=$n/4"
|
||||
#TESTS="POSIX MPIIO HDF5 NCMPI"
|
||||
TESTS="POSIX MPIIO"
|
||||
for test in `echo $TESTS`
|
||||
do
|
||||
runid="p$n.$xfer.${test}"
|
||||
date
|
||||
|
||||
V=" "
|
||||
BLOCKS="1 10 1 10 1 10"
|
||||
for blocks in `echo $BLOCKS`
|
||||
do
|
||||
|
||||
let "block=${xfer} * ${blocks}"
|
||||
|
||||
#fileperproc tests
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -w -z ${V} -F -o $IODIR/testwrite.${runid} -Y -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -w -z ${V} -F -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z ${V} -F -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z -C ${V} -F -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z -C -Q $m ${V} -F -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z -Z -Q $m ${V} -F -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z -Z -Q $m -X 13 ${V} -F -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z -Z -Q $m -X -13 ${V} -F -o $IODIR/testwrite.${runid} -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
|
||||
#shared tests
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -w -z ${V} -o $IODIR/testwrite.${runid} -Y -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -w ${V} -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z ${V} -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
|
||||
#test mutually exclusive options
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z -C ${V} -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -z -Z ${V} -o $IODIR/testwrite.${runid} -k -e -i${i} -m -t ${xfer} -b ${block} -d 0.1
|
||||
${MPIRUN} $n ${EXEC} -A ${tid} -a ${test} -r -Z -C ${V} -o $IODIR/testwrite.${runid} -i${i} -m -t ${xfer} -b ${block} -d 0.0
|
||||
let "tid=$tid + 17"
|
||||
|
||||
V=$V" -v"
|
||||
|
||||
done #blocks
|
||||
|
||||
date
|
||||
done #test
|
||||
let "n = $n * 2"
|
||||
done #n
|
||||
done #xfer
|
||||
exit
|
|
@ -1,46 +0,0 @@
|
|||
/******************************************************************************\
|
||||
* *
|
||||
* Copyright (c) 2003, The Regents of the University of California *
|
||||
* See the file COPYRIGHT for a complete copyright notice and license. *
|
||||
* *
|
||||
\******************************************************************************/
|
||||
|
||||
The IOR-tester runs a series of tests to check and maintain the existing
|
||||
functionality of the source code as code is modified. The IOR-tester creates
|
||||
a default test, then modifies it to run test scripts. It runs a large number
|
||||
of tests, most which are expected to pass, but some with an expectation of
|
||||
failure.
|
||||
|
||||
To run the code, modify the 'DefaultTest' dictionary in the source code to
|
||||
reflect the test file location, the executable location, etc. Then, run
|
||||
the code using './IOR-tester.py'.
|
||||
|
||||
The expected-pass, pattern-independent tests include:
|
||||
POSIX only:
|
||||
o retry transfer
|
||||
|
||||
MPIIO only:
|
||||
o hints
|
||||
o preallocation
|
||||
|
||||
Both POSIX and MPIIO:
|
||||
o repetition count
|
||||
o intertest delay
|
||||
o test file removal
|
||||
o verbosity
|
||||
|
||||
The expected-pass, pattern-dependent tests include:
|
||||
POSIX:
|
||||
o write-only, read-only, write/read, and write/read check
|
||||
o fpp and single file
|
||||
o segmented, strided
|
||||
o zero-length, 4-byte, and larger file, block, and transfer sizes
|
||||
MPIIO (same as POSIX, but using MPIIO access):
|
||||
o noncollective
|
||||
o noncollective, file view
|
||||
o collective
|
||||
o collective, file view
|
||||
|
||||
The expected-fail tests include:
|
||||
Both POSIX and MPIIO:
|
||||
o repetition count
|
File diff suppressed because it is too large
Load Diff
|
@ -1,2 +0,0 @@
|
|||
IOR_HINT__MPI__unrecognizedHint=true
|
||||
IOR_HINT__MPI__IBM_largeblock_io=true
|
|
@ -1,28 +0,0 @@
|
|||
# This tests the checks of read and write for correctness
|
||||
# Run with multiple processes, at least 3
|
||||
# You may set the environment variable IOR_FAKE_TASK_PER_NODES=3 and run it on one node
|
||||
# Example: IOR_FAKE_TASK_PER_NODES=3 mpiexec -n 3 ./src/ior -f testing/timestamp.cfg
|
||||
|
||||
IOR START
|
||||
reorderTasksConstant=1
|
||||
repetitions=1
|
||||
storeFileOffset=0
|
||||
segmentCount=1
|
||||
verbose=0
|
||||
fsync=0
|
||||
checkWrite=1
|
||||
blockSize=16
|
||||
setTimeStampSignature=1511817315
|
||||
checkRead=1
|
||||
readFile=1
|
||||
filePerProc=0
|
||||
writeFile=1
|
||||
api=POSIX
|
||||
transferSize=16
|
||||
intraTestBarriers=0
|
||||
testFile=/tmp/test
|
||||
RUN
|
||||
|
||||
storeFileOffset=1
|
||||
RUN
|
||||
IOR STOP
|
Loading…
Reference in New Issue