low_diversity.sbatch 650 Bytes
Newer Older
Renato Caminha Juaçaba Neto's avatar
Renato Caminha Juaçaba Neto committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash

#SBATCH -N 1 --exclusive
#SBATCH -D /b/home/icube/rcaminha/nas-ndnsim
#SBATCH -o low_diversity.%j.out
#SBATCH -e low_diversity.%j.err
#SBATCH -J low_diversity

if [ -z "$1" ]; then
	NRUNS=5
else
	NRUNS="$1"
fi

NAME="low_diversity.$SLURM_JOB_ID"
[[ -v SLURM_ARRAY_JOB_ID ]] && NAME="$NAME.aid$SLURM_ARRAY_JOB_ID"
[[ -v SLURM_RESTART_COUNT ]] && NAME=$NAME.r$SLURM_RESTART_COUNT

python3 scripts/run_multiple.py -g low_diversity_test --nruns=$NRUNS $NAME random-domain-streams --appScenario="RandomTrees DirectSubscriptions" --nConsumers='100 150 200 250' --percSystemActivation=0.5 --randomTransformationParamCount="1" --nMaxBranching=3