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

In mpi/mpichgm, fix potential problem formatting GMPI_PORT, from

    Ernest Artiaga, BSC.
parent eb54f70d
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,8 @@ documents those changes that are of interest to users and admins. ...@@ -4,6 +4,8 @@ documents those changes that are of interest to users and admins.
* Changes in SLURM 1.2.5 * Changes in SLURM 1.2.5
======================== ========================
-- Fix nodelist truncation in "scontrol show jobs" output -- Fix nodelist truncation in "scontrol show jobs" output
-- In mpi/mpichgm, fix potential problem formatting GMPI_PORT, from
Ernest Artiaga, BSC.
* Changes in SLURM 1.2.4 * Changes in SLURM 1.2.4
======================== ========================
......
...@@ -366,7 +366,7 @@ gmpi_thr_create(const mpi_plugin_client_info_t *job, char ***env) ...@@ -366,7 +366,7 @@ gmpi_thr_create(const mpi_plugin_client_info_t *job, char ***env)
} }
slurm_attr_destroy(&attr); slurm_attr_destroy(&attr);
env_array_overwrite_fmt(env, "GMPI_PORT", "%u", port); env_array_overwrite_fmt(env, "GMPI_PORT", "%hu", port);
env_array_overwrite_fmt(env, "GMPI_MAGIC", "%u", job->jobid); env_array_overwrite_fmt(env, "GMPI_MAGIC", "%u", job->jobid);
env_array_overwrite_fmt(env, "GMPI_NP", "%d", env_array_overwrite_fmt(env, "GMPI_NP", "%d",
job->step_layout->task_cnt); job->step_layout->task_cnt);
......
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