2018-10-19 13:33:06 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2018-10-22 16:30:44 +00:00
|
|
|
export MODULEPATH=/esfs/jtacquaviva/software/modules:$MODULEPATH
|
2018-10-19 13:33:06 +00:00
|
|
|
|
|
|
|
module purge
|
|
|
|
module load betke/hdf5/1.8.20-ddn
|
|
|
|
module load betke/ior/git-ddn
|
|
|
|
module list
|
|
|
|
|
2018-10-22 16:30:44 +00:00
|
|
|
NN=2
|
2018-10-19 13:33:06 +00:00
|
|
|
|
2018-10-22 16:30:44 +00:00
|
|
|
|
|
|
|
LUSTRE_TESTFILE="/esfs/jtacquaviva/indread${NN}/file"
|
|
|
|
TESTDIR="$(dirname $LUSTRE_TESTFILE)"
|
|
|
|
mkdir $TESTDIR
|
|
|
|
lfs setstripe -c $(($NN * 2)) $TESTDIR
|
|
|
|
ITERATIONS=1
|
|
|
|
IOR="$(which ior) -i $ITERATIONS -s 1 -t $((16 * 1024 * 1024)) -b $((132 * 1024 * 1024 * 1020)) -o $LUSTRE_TESTFILE -a POSIX -F -e -g -k -w"
|
|
|
|
ENVVAR="-genv MV2_NUM_HCAS 1 -genv MV2_CPU_BINDING_LEVEL core -genv MV2_CPU_BINDING_POLICY scatter"
|
|
|
|
MPIEXEC="/opt/ddn/mvapich/bin/mpiexec -ppn 8 -np $((8*$NN)) $ENVVAR -hosts isc17-c04,isc17-c05"
|
|
|
|
|
|
|
|
set -x
|
|
|
|
$MPIEXEC $IOR
|
|
|
|
#$MPIEXEC $IOR -r -D $((5*60))
|
|
|
|
-set +x
|
|
|
|
#rm $LUSTRE_TESTFILE
|
2018-10-21 16:22:48 +00:00
|
|
|
|