ddn-ime-evaluation/benchmark/prepare.sh

28 lines
906 B
Bash
Raw Normal View History

2018-11-13 11:36:15 +00:00
#!/bin/bash
2018-11-13 14:48:24 +00:00
. ./config.sh
2018-11-13 11:36:15 +00:00
2018-11-14 11:27:24 +00:00
NODES='isc17-c04,isc17-c05,isc17-c02,isc17-c03,isc17-c06,isc17-c07,isc17-c08,isc17-c09,isc17-c11,isc17-c12,isc17-c13,isc17-c14,isc17-c15,isc17-c18,isc17-c22,isc17-c01'
2018-11-13 11:36:15 +00:00
2018-11-14 11:27:24 +00:00
for NN in ${NN_ARR[@]}; do
2018-11-13 14:48:24 +00:00
LUSTRE_TESTFILE="$TD/sharedread${NN}/file"
2018-11-14 11:27:24 +00:00
if [ ! -f $LUSTRE_TESTFILE ]; then
TESTDIR="$(dirname $LUSTRE_TESTFILE)"
mkdir $TESTDIR
lfs setstripe -c $(($NN * 2)) $TESTDIR
2018-11-13 14:48:24 +00:00
2018-11-14 11:27:24 +00:00
MPIEXEC_PARAMS="-ppn 8 -np $((8*$NN)) -hosts $NODES "
MPIEXEC_PARAMS+="-genv MV2_NUM_HCAS 1 -genv MV2_CPU_BINDING_LEVEL core -genv MV2_CPU_BINDING_POLICY scatter"
2018-11-13 14:48:24 +00:00
2018-11-14 11:27:24 +00:00
IOR_PARAMS="-i 1 -s 1 -t $((16 * 1024 * 1024)) -b $(($DATASIZE / 8)) -o $LUSTRE_TESTFILE -a MPIIO -e -g -k "
#IOR_PARAMS+="-D 60 -O stoneWallingWearOut=1 "
2018-11-13 14:48:24 +00:00
2018-11-14 11:27:24 +00:00
#./drop_caches.sh
set +x
$MPIEXEC $MPIEXEC_PARAMS $IOR $IOR_PARAMS -w
set -x
2018-11-13 14:48:24 +00:00
2018-11-14 11:27:24 +00:00
fi
2018-11-13 14:48:24 +00:00
done