Skip to content
Snippets Groups Projects
Commit 41ceb598 authored by Christopher J. Morrone's avatar Christopher J. Morrone
Browse files

Update default number of tasks

parent 55a43a90
No related branches found
No related tags found
No related merge requests found
...@@ -1448,8 +1448,11 @@ static void _opt_args(int argc, char **argv) ...@@ -1448,8 +1448,11 @@ static void _opt_args(int argc, char **argv)
} }
} }
if (!opt.num_nodes_set && opt.num_tasks < opt.num_nodes) if (!opt.num_nodes_set
&& opt.num_tasks_set && opt.num_tasks < opt.num_nodes)
opt.num_nodes = opt.num_tasks; opt.num_nodes = opt.num_tasks;
if (!opt.num_tasks_set)
opt.num_tasks = opt.num_nodes;
if (!_opt_verify()) if (!_opt_verify())
exit(1); exit(1);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment