Benchmarking: IOR
Jump to navigation
Jump to search
Untar IOR-2.10.1.tar.gz and cd into the created dir.
Change the first two lines in the LINUX SETTINGS section of the file:
vim ../IOR-2.10.1/src/C/Makefile.configSet the CC compiler to your preferred MPI
# default
# CC.Linux = mpiicc
CC.Linux = /opt/openmpi/gnu/gin/mpiccTo compile and create the IOR executable; run:
[viglen@headnode IOR-2.10.1]$ gmake mpiio
(cd ./src/C && gmake mpiio)
gmake[1]: Entering directory `/home/viglen/scratch/IOR-2.10.1/src/C'
mpicc -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c IOR.c
mpicc -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c utilities.c
mpicc -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c parse_options.c
mpicc -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c aiori-POSIX.c
mpicc -c aiori-MPIIO.c
mpicc -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c aiori-noHDF5.c
mpicc -g -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -c aiori-noNCMPI.c
mpicc -o IOR IOR.o utilities.o parse_options.o \
aiori-POSIX.o aiori-MPIIO.o aiori-noHDF5.o aiori-noNCMPI.o \
-lm
gmake[1]: Leaving directory `/home/viglen/scratch/IOR-2.10.1/src/C'
[viglen@headnode IOR-2.10.1]$ file src/C/IOR
src/C/IOR: ELF 64-bit LSB executable, AMD x86-64, version 1 (SYSV), for GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not strippedExecutable will be stored in the ../IOR-2.10.1/src/C directory. To run;
./IOR -vv -k -wWr -C -F -i4 -t 256k -b 10m -s574 -o /path/to-my/testfile
mpirun -np 2 -hostlist "comp00 comp01" ./ior-pmpi -vv -t 256k -b 500m -o /mnt/lustre/iorfile
# -vv verbose
# -k keep files after test
# -F one file per process
# -i N number of iternations
# -t N transfer size (256k, 1m, 1g)
# -b N blocksize (must be multiple of transfer size,Run just write or read tests:
# write only test:
mpirun -np 2 -hostlist "comp00 comp01" ./ior-pmpi -k -wW -F -t1m -b500m -o /mnt/lustre/iorfile
# flush caches before read tests (as root);
sync; echo 3 > /proc/sys/vm/drop_caches
# read only test, needs to have iorfiles in place from write with -k
mpirun -np 2 -hostlist "comp00 comp01" ./ior-pmpi -k -rR -F -t1m -b500m -o /mnt/lustre/iorfile