Skip to content
Snippets Groups Projects
Commit 75d3be55 authored by Moe Jette's avatar Moe Jette
Browse files

Add logic to support Blue Gene/L:

Map all nodes in cluster to a single front-end node.
Don't repeat ping/register/kill/etc. RPCs to all pseudo nodes, just the
  front-end.
Treat single message for some RPCs as representing all nodes in the
  cluster: register, ping responce, epilog complete, etc.
Srun maps all tasks for a job step onto a single node request.
parent 9bd07b7b
No related branches found
No related tags found
No related merge requests found
......@@ -473,7 +473,16 @@ _job_create_internal(allocation_info_t *info)
job->nodelist = xstrdup(info->nodelist);
hl = hostlist_create(job->nodelist);
#ifdef HAVE_BGL
/* All jobs execute through front-end on Blue Gene/L.
* Normally we would not permit execution of job steps,
* but can fake it by just allocating all tasks to
* one of the allocated nodes. */
job->nhosts = 1;
opt.overcommit = true;
#else
job->nhosts = hostlist_count(hl);
#endif
job->jobid = info->jobid;
job->stepid = info->stepid;
......
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