Skip to content

Commit

Permalink
fix unit of default memory limit
Browse files Browse the repository at this point in the history
This was in bytes which lead to overscription
on some systems. Now corrected to be in MB.
  • Loading branch information
sawenzel committed Sep 21, 2021
1 parent 2964a14 commit a74f6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MC/bin/o2_dpg_workflow_runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
parser.add_argument('--rerun-from', help='Reruns the workflow starting from given task (or pattern). All dependent jobs will be rerun.')
parser.add_argument('--list-tasks', help='Simply list all tasks by name and quit.', action='store_true')

parser.add_argument('--mem-limit', help='Set memory limit as scheduling constraint', default=max_system_mem)
parser.add_argument('--mem-limit', help='Set memory limit as scheduling constraint (in MB)', default=0.9*max_system_mem/1024./1024)
parser.add_argument('--cpu-limit', help='Set CPU limit (core count)', default=8)
parser.add_argument('--cgroup', help='Execute pipeline under a given cgroup (e.g., 8coregrid) emulating resource constraints. This m\
ust exist and the tasks file must be writable to with the current user.')
Expand Down

0 comments on commit a74f6a5

Please sign in to comment.