-
Notifications
You must be signed in to change notification settings - Fork 0
/
run_with_slurm.sh
executable file
·30 lines (24 loc) · 1.07 KB
/
run_with_slurm.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
#! /bin/bash
AE_SLURM_PART_NAME="cpu_part"
echo "[INFO] Generating Ramulator2 configurations and run scripts for attacker workloads"
python3 setup_slurm.py \
--working_directory "$PWD" \
--base_config "$PWD/base_config.yaml" \
--trace_combination "$PWD/mixes/microattack.mix" \
--trace_directory "$PWD/cputraces" \
--result_directory "$PWD/ae_results/microattack" \
--partition_name "$AE_SLURM_PART_NAME"
echo "[INFO] Starting Ramulator2 attacker simulations"
python3 execute_run_script.py --slurm
echo "[INFO] Generating Ramulator2 configurations and run scripts for benign workloads"
python3 setup_slurm.py \
--working_directory "$PWD" \
--base_config "$PWD/base_config.yaml" \
--trace_combination "$PWD/mixes/microbenign.mix" \
--trace_directory "$PWD/cputraces" \
--result_directory "$PWD/ae_results/microbenign" \
--partition_name "$AE_SLURM_PART_NAME"
echo "[INFO] Starting Ramulator2 benign simulations"
python3 execute_run_script.py --slurm
echo "[INFO] You can track run status with the <check_run_status.sh> script"
rm "$PWD/run.sh"