We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6924aba commit 9102a87Copy full SHA for 9102a87
data/prepare_input.sh
@@ -1,8 +1,14 @@
1
+#!/bin/bash
2
+# Based on trace files in csv/, we will generate 23 trace folders (in parallel) that will be used as input folder for the simulator
3
for file in csv/openb_pod_list*; do
4
echo $file
5
+ # Create trace folders with the name of csv trace file (without .csv)
6
filename="${file##*/}"
7
OUTDIR="${filename%.*}"
8
mkdir -p $OUTDIR
9
+ # Copy node yaml (generated by openb_node_list_gpu_node.csv) to the trace folder
10
cp node_yaml/openb_node_list_gpu_node.yaml $OUTDIR/
11
+ # Transform csv file to yaml file and put it under trace folder
12
python3 pod_csv_to_yaml.py $file &
-done
13
+done
14
+wait && date
0 commit comments