Commit 93c5a867 authored by MERCIER Michael's avatar MERCIER Michael

[misc] remove worload profiles that left...

parent c68ae4f5
......@@ -33,7 +33,7 @@ cd batsim
Now, you can run batsim for a simple workload:
```bash
batsim -p platforms/small_platform.xml -w workload_profiles/test_workload_profile.json
batsim -p platforms/small_platform.xml -w workloads/test_workload_profile.json
```
Then in an *other terminal* execute the scheduler:
......
......@@ -2,5 +2,5 @@ The file pegasus-graphviz is extracted from the pegasus github (see https://gith
example usage :
contrib/pegasus-graphviz workload_profiles/GENOME.d.351024866.5.dax -o /tmp/bla.dot
contrib/pegasus-graphviz workloads/GENOME.d.351024866.5.dax -o /tmp/bla.dot
dot -Tjpeg -o /tmp/bla.jpg /tmp/bla.dot
......@@ -22,7 +22,7 @@ We can move them to our new experiment directory.
export BATSIM_DIR=~/proj/batsim
export EXPE_DIR=/tmp/batsim_demo
cp ${BATSIM_DIR}/workload_profiles/batsim_paper_workload_example.json ${EXPE_DIR}/workload.json
cp ${BATSIM_DIR}/workloads/batsim_paper_workload_example.json ${EXPE_DIR}/workload.json
cp ${BATSIM_DIR}/platforms/energy_platform_homogeneous_no_net_128.xml ${EXPE_DIR}/platform.xml
```
......@@ -137,7 +137,7 @@ base_variables:
# These pre commands are done before executing any instance
commands_before_instances:
- cp ${batsim_dir}/platforms/energy_platform_homogeneous_no_net_128.xml ${base_output_directory}/platform.xml
- cp ${batsim_dir}/workload_profiles/batsim_paper_workload_example.json ${base_output_directory}/workload.json
- cp ${batsim_dir}/workloads/batsim_paper_workload_example.json ${base_output_directory}/workload.json
# Description of "implicit" instances: a combination of the sweep parameters will be done
implicit_instances:
......@@ -169,7 +169,7 @@ base_variables:
# These pre commands are done before executing any instance
commands_before_instances:
- cp ${batsim_dir}/platforms/energy_platform_homogeneous_no_net_128.xml ${base_output_directory}/platform.xml
- cp ${batsim_dir}/workload_profiles/batsim_paper_workload_example.json ${base_output_directory}/workload.json
- cp ${batsim_dir}/workloads/batsim_paper_workload_example.json ${base_output_directory}/workload.json
# Description of "implicit" instances: a combination of the sweep parameters will be done
implicit_instances:
......
......@@ -300,7 +300,7 @@ metainformation from Batsim to any scheduler at runtime.
}
],
"workloads": {
"26dceb": "/home/mmercier/Projects/batsim/workload_profiles/test_workload_profile.json"
"26dceb": "/home/mmercier/Projects/batsim/workloads/test_workload_profile.json"
}
}
}
......
......@@ -51,7 +51,7 @@ Batsim can be executed first (in the same terminal used before):
``` bash
batsim -e /root/battuto/out \
-p /root/batsim/platforms/energy_platform_homogeneous_no_net_128.xml \
-w /root/batsim/workload_profiles/batsim_paper_workload_example.json \
-w /root/batsim/workloads/batsim_paper_workload_example.json \
--mmax-workload
```
......
......@@ -55,7 +55,7 @@ We chose to use YAML files as input of the [execute_one_instance.py](./execute_o
# The different variables can be defined here
variables:
platform: {"name":"small", "filename":"platforms/small_platform.xml"} # A dictionary
workload: {"name":"tiny", "filename":"workload_profiles/test_workload_profile.json"} # Another dictionary
workload: {"name":"tiny", "filename":"workloads/test_workload_profile.json"} # Another dictionary
pybatsim_algo: fillerSched # A simple variable
useless_list: ["just_an_example", "mmh..."] # A list
# Some variables are automatically added into this dictionary:
......@@ -224,8 +224,8 @@ implicit_instances:
# We define two different workloads there. Please not their names MUST
# be different to avoid different instances pointing to the same YAML
# filename.
- {"name":"tiny", "filename":"workload_profiles/test_workload_profile.json"}
- {"name":"medium", "filename":"workload_profiles/batsim_paper_workload_example.json"}
- {"name":"tiny", "filename":"workloads/test_workload_profile.json"}
- {"name":"medium", "filename":"workloads/batsim_paper_workload_example.json"}
pybatsim_algo:
# We use only one scheduling algorithm
- fillerSched
......@@ -247,7 +247,7 @@ explicit_instances:
output_directory: ${base_output_directory}/results/explicit/easybf_tiny_small
variables: # We use simple values here, not dictionaries (but they could have been used!)
platform: platforms/small_platform.xml
workload: workload_profiles/test_workload_profile.json
workload: workloads/test_workload_profile.json
pybatsim_algo: easyBackfill
# All base_variables are also copied here
......
......@@ -11,7 +11,7 @@ output_directory: /tmp/pyfiller/medium
variables:
platform: ${batsim_dir}/platforms/energy_platform_homogeneous_no_net_128.xml
workload: ${batsim_dir}/workload_profiles/batsim_paper_workload_example.json
workload: ${batsim_dir}/workloads/batsim_paper_workload_example.json
algo: filler
batsim_dir: ${working_directory}
# Some variables are automatically added into this dictionary:
......
......@@ -9,7 +9,7 @@ variables:
useless_list: ["just_an_example", "mmh..."] # A list
batsim_dir: ${working_directory} # The script must be called from the Batsim root directory
platform: {"name":"small", "filename":"${batsim_dir}/platforms/small_platform.xml"} # A dictionary
workload: {"name":"tiny", "filename":"${batsim_dir}/workload_profiles/test_workload_profile.json"} # Another dictionary
workload: {"name":"tiny", "filename":"${batsim_dir}/workloads/test_workload_profile.json"} # Another dictionary
# Some variables are automatically added into this dictionary:
# - working_directory
......
......@@ -34,8 +34,8 @@ implicit_instances:
# We define two different workloads there. Please not their names MUST
# be different to avoid different instances pointing to the same YAML
# filename.
- {"name":"tiny", "filename":"${batsim_dir}/workload_profiles/test_workload_profile.json"}
- {"name":"medium", "filename":"${batsim_dir}/workload_profiles/batsim_paper_workload_example.json"}
- {"name":"tiny", "filename":"${batsim_dir}/workloads/test_workload_profile.json"}
- {"name":"medium", "filename":"${batsim_dir}/workloads/batsim_paper_workload_example.json"}
algo:
# We use only one scheduling algorithm
- {"name":"filler", "algo_name":"filler"}
......@@ -58,7 +58,7 @@ explicit_instances:
output_directory: ${base_output_directory}/results/explicit/easybf_tiny_small
variables: # We use simple values here, not dictionaries (but they could have been used!)
platform: ${batsim_dir}/platforms/small_platform.xml
workload: ${batsim_dir}/workload_profiles/test_workload_profile.json
workload: ${batsim_dir}/workloads/test_workload_profile.json
algo: {"name":"easy", "algo_name":"easy_bf"}
# All base_variables are also copied here
......
Markdown is supported
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