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

Fix mpich-gm bugs, thanks to Takao Hatazaki (HP).

parent 4ae0e7c0
No related branches found
No related tags found
No related merge requests found
...@@ -13,6 +13,7 @@ documents those changes that are of interest to users and admins. ...@@ -13,6 +13,7 @@ documents those changes that are of interest to users and admins.
functions MUST set job->cont_id. functions MUST set job->cont_id.
-- Remove vestigial node_use (virtual or coprocessor) field from job -- Remove vestigial node_use (virtual or coprocessor) field from job
request RPC. request RPC.
-- Fix mpich-gm bugs, thanks to Takao Hatazaki (HP).
* Changes in SLURM 0.6.0-pre2 * Changes in SLURM 0.6.0-pre2
============================= =============================
......
...@@ -310,8 +310,8 @@ int setup_env(env_t *env) ...@@ -310,8 +310,8 @@ int setup_env(env_t *env)
} }
if (env->gmpi >= 0 if (env->gmpi >= 0
&& setenvf(&env->env, "SLURM_GMPI", "%d", env->gmpi)) { && setenvf(&env->env, "GMPI_ID", "%d", env->gmpi)) {
error("Unable to set SLURM_GMPI environment"); error("Unable to set GMPI_ID environment");
rc = SLURM_FAILURE; rc = SLURM_FAILURE;
} }
......
...@@ -170,7 +170,7 @@ exec_task(slurmd_job_t *job, int i, int waitfd) ...@@ -170,7 +170,7 @@ exec_task(slurmd_job_t *job, int i, int waitfd)
t = job->task[i]; t = job->task[i];
job->envtp->procid = t->gtid; job->envtp->procid = t->gtid;
job->envtp->gmpi = t->gtid; job->envtp->gmpi = getenvp(job->env, "SLURM_GMPI") ? t->gtid : -1;
setup_env(job->envtp); setup_env(job->envtp);
......
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