Run your first simulation
Follow the steps to install Batmen.
The executable is at the location build/batmen.
We suppose that you also have [Batsim] installed on your machine (follow the installation guide here).
To run a simulation, we will need two terminals:
one (Batmen) to simulate the users and the scheduler, and
one (Batsim) to simulate the underlying infrastructure
Create the output directory:
mkdir -p out/first_simu
Launch Batmen with
the scheduler FCFS
one simulated user (described in the user description file
test/schedconf/routine_greedy_simple.json)
build/batmen -v fcfs \
--variant_options_filepath test/schedconf/routine_greedy_simple.json
Launch Batsim with
the platform file
test/platforms/monocore/2machines.xmlan empty workload file
test/workloads/static/empty.json(jobs are submitted dynamically by the simulated user)the output directory
all the options required for Batmen to work properly (see their description in Batsim CLI)
path/to/batsim -p test/platforms/monocore/2machines.xml \
-w test/workloads/static/empty.json \
-e out/first_simu/ \
--energy --enable-compute-sharing \
--enable-dynamic-jobs --acknowledge-dynamic-jobs \
--enable-profile-reuse
After the execution, you should see the Batsim outputs in the output directory.