Skip to content

Commit

Permalink
makespan: run python format
Browse files Browse the repository at this point in the history
  • Loading branch information
csegarragonz committed Dec 12, 2023
1 parent dbe64f4 commit 96b1168
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion tasks/makespan/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def granny(
num_vms=32,
num_cpus_per_vm=8,
num_tasks=100,
migrate=False
migrate=False,
):
"""
Run: `inv makespan.run.granny --workload [mpi,mpi-migrate,mpi-no-migrate]
Expand Down
4 changes: 1 addition & 3 deletions tasks/makespan/trace.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,7 @@ def generate(ctx, workload, num_tasks, num_cores_per_vm, lmbd="0.1"):
lmbd = float(lmbd)

# Work out the possible number of cores per VM
possible_mpi_sizes = arange(
2, int(num_cores_per_vm * 2)
)
possible_mpi_sizes = arange(2, int(num_cores_per_vm * 2))
possible_omp_sizes = arange(1, num_cores_per_vm)

# The lambda parameter regulates how frequently new tasks arrive. If we
Expand Down

0 comments on commit 96b1168

Please sign in to comment.