From 75d3be55476f097879648a2da8f53f17e2484ecc Mon Sep 17 00:00:00 2001 From: Moe Jette <jette1@llnl.gov> Date: Mon, 16 Aug 2004 23:36:53 +0000 Subject: [PATCH] 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. --- src/srun/job.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/srun/job.c b/src/srun/job.c index 86024089f14..54eae6980d5 100644 --- a/src/srun/job.c +++ b/src/srun/job.c @@ -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; -- GitLab