Commit c868b000 authored by Renato Caminha Juaçaba Neto's avatar Renato Caminha Juaçaba Neto 🙂
Browse files

new cluster scripts

parent 9ad6cd8e
......@@ -5,6 +5,7 @@
#SBATCH -o dsubs.%j.out
#SBATCH -e dsubs.%j.err
#SBATCH -J dsubs
#SBATCH --mem=60gb
if [ -z "$1" ]; then
NRUNS=5
......
#!/bin/bash
#SBATCH -N 1 --exclusive
#SBATCH -D /b/home/icube/rcaminha/nas-ndnsim
#SBATCH -o dsubs1.%j.out
#SBATCH -e dsubs1.%j.err
#SBATCH -J dsubs1
#SBATCH --mem=60gb
if [ -z "$1" ]; then
NRUNS=5
else
NRUNS="$1"
fi
NAME="dsubs1.$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 lcn-simulations --nruns=$NRUNS $NAME random-domain-streams --appScenario=DirectSubscriptions --nConsumers='100 175 250 325'
#!/bin/bash
#SBATCH -N 1 --exclusive
#SBATCH -D /b/home/icube/rcaminha/nas-ndnsim
#SBATCH -o dsubs2.%j.out
#SBATCH -e dsubs2.%j.err
#SBATCH -J dsubs2
#SBATCH --mem=128gb
if [ -z "$1" ]; then
NRUNS=5
else
NRUNS="$1"
fi
NAME="dsubs2.$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 lcn-simulations --nruns=$NRUNS $NAME random-domain-streams --appScenario=DirectSubscriptions --nConsumers='400 475'
#!/bin/bash
#SBATCH -N 1 --exclusive
#SBATCH -D /b/home/icube/rcaminha/nas-ndnsim
#SBATCH -o dsubs3.%j.out
#SBATCH -e dsubs3.%j.err
#SBATCH -J dsubs3
#SBATCH --mem=60gb
if [ -z "$1" ]; then
NRUNS=5
else
NRUNS="$1"
fi
NAME="dsubs3.$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 lcn-simulations --nruns=$NRUNS $NAME random-domain-streams --appScenario=DirectSubscriptions --nConsumers='550'
#!/bin/bash
#SBATCH -N 1 --exclusive
#SBATCH -D /b/home/icube/rcaminha/nas-ndnsim
#SBATCH -o lcn.%j.out
#SBATCH -e lcn.%j.err
#SBATCH -J lcn
#SBATCH --mem=128gb
if [ -z "$1" ]; then
NRUNS=5
else
NRUNS="$1"
fi
NAME="lcn.$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 --same-seeds -g "lcn-simulations-2" --nruns=$NRUNS $NAME random-domain-streams --appScenario='DirectSubscriptions RandomTrees' --nConsumers='100 175 250 325 400 475 550'
#!/bin/bash
#SBATCH -N 1 --exclusive
#SBATCH -D /b/home/icube/rcaminha/nas-ndnsim
#SBATCH -o lcn2.%j.out
#SBATCH -e lcn2.%j.err
#SBATCH -J lcn2
#SBATCH --mem=128gb
if [ -z "$1" ]; then
NRUNS=5
else
NRUNS="$1"
fi
NAME="lcn2.$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 --same-seeds -g "lcn-simulations-2" --nruns=$NRUNS $NAME random-domain-streams --appScenario='DirectSubscriptions' --nConsumers='475 550'
#!/bin/bash
#SBATCH -D /b/home/icube/rcaminha/nas-ndnsim
#SBATCH -J lcn_ep
#SBATCH -o lcn_ep.%j.out
#SBATCH -e lcn_ep.%j.err
#SBATCH --nodes=1
#SBATCH --cpus-per-task=1
#SBATCH --mem=24gb
#SBATCH --exclusive
# cmd="./waf"
# NAME="dsubs1.$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
NRUNS=5
script='random-domain-streams'
seedList=$(shuf -i 10000000-99999999 -n $NRUNS)
appScenarioList="DirectSubscriptions RandomTrees"
nConsumersList='100 175 250 325 400 475 550'
for nConsumers in $nConsumersList; do
for seed in $seedList; do
for appScenario in $appScenarioList; do
outdir="experiments/ep-lcn-experiments/$appScenario/nConsumers=$nConsumers/seed=$seed"
mkdir -p $outdir
echo $outdir
script_and_params="$script --nConsumers=$nConsumers --appScenario=$appScenario --RngSeed=$seed"
srun --nodes=1 --cpus-per-task=1 --ntasks=1 ./waf --run "$script_and_params" --cwd $outdir > "$outdir/out.txt" 2> "$outdir/err.txt" &
# ./waf --run "$script_and_params" --cwd $outdir
sleep 10
done; done; done
wait
......@@ -2,9 +2,9 @@
#SBATCH -N 1 --exclusive
#SBATCH -D /b/home/icube/rcaminha/nas-ndnsim
#SBATCH -o rtrees_var_nsystems.%j.out
#SBATCH -e rtrees_var_nsystems.%j.err
#SBATCH -J rtrees_var_nsystems
#SBATCH -o var_nsystems.%j.out
#SBATCH -e var_nsystems.%j.err
#SBATCH -J var_nsystems
#SBATCH --mem 128gb
if [ -z "$1" ]; then
......@@ -13,8 +13,8 @@ else
NRUNS="$1"
fi
NAME="rtrees_var_nsystems.$SLURM_JOB_ID"
NAME="var_nsystems.$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 lcn-simulations_var_nsystems --nruns=$NRUNS $NAME random-domain-streams --appScenario=RandomTrees --nConsumers=100 --nSystems='80 100' --nExtraEdges=15
python3 scripts/run_multiple.py -g lcn-simulations_var_nsystems --nruns=$NRUNS $NAME random-domain-streams --appScenario=DirectSubscriptions --nConsumers=100 --nSystems='20 40 60 80 100' --nExtraEdges=15
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment