Skip to content
Snippets Groups Projects
Commit 5dfd9491 authored by Mark Grondona's avatar Mark Grondona
Browse files

o small patch to allow multiple tasks per node with -Z

parent 4f7f4848
No related branches found
No related tags found
No related merge requests found
...@@ -38,7 +38,8 @@ job_create(resource_allocation_response_msg_t *resp) ...@@ -38,7 +38,8 @@ job_create(resource_allocation_response_msg_t *resp)
hl = hostlist_create(opt.nodelist); hl = hostlist_create(opt.nodelist);
job->jobid = 1; job->jobid = 1;
ncpu = 1; ncpu = 1;
opt.nprocs = hostlist_count(hl); if (opt.nprocs <= 0)
opt.nprocs = hostlist_count(hl);
} }
......
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