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

Change format of MpiParams configuration from ports:#-# to ports=#-#

parent ac36878c
No related branches found
No related tags found
No related merge requests found
...@@ -66,7 +66,7 @@ It relies upon SLURM version 2.0 (or higher) managing ...@@ -66,7 +66,7 @@ It relies upon SLURM version 2.0 (or higher) managing
reservations of communication ports for the Open MPI's use. reservations of communication ports for the Open MPI's use.
Specify the range of ports to be reserved in the <i>slurm.conf</i> Specify the range of ports to be reserved in the <i>slurm.conf</i>
file using the <i>MpiParams</i> parameter. file using the <i>MpiParams</i> parameter.
For example: <i>MpiParams=ports:12000-12999</i>. For example: <i>MpiParams=ports=12000-12999</i>.
Then launch tasks using the <span class="commandline">srun</span> command Then launch tasks using the <span class="commandline">srun</span> command
plus the option <i>--resv-ports</i>. plus the option <i>--resv-ports</i>.
The ports reserved on every allocated node will be identified in an The ports reserved on every allocated node will be identified in an
......
...@@ -654,7 +654,7 @@ LAM MPI and Open MPI). ...@@ -654,7 +654,7 @@ LAM MPI and Open MPI).
\fBMpiParams\fR \fBMpiParams\fR
MPI parameters. MPI parameters.
Used to identify ports used by OpenMPI only and the input format is Used to identify ports used by OpenMPI only and the input format is
"ports:1000-1234" to identify a range of communcation ports to be used. "ports=12000\-12999" to identify a range of communcation ports to be used.
.TP .TP
\fBOverTimeLimit\fR \fBOverTimeLimit\fR
......
...@@ -164,7 +164,7 @@ extern int reserve_port_config(char *mpi_params) ...@@ -164,7 +164,7 @@ extern int reserve_port_config(char *mpi_params)
int i, p_min, p_max; int i, p_min, p_max;
if (mpi_params) if (mpi_params)
tmp_p = strstr(mpi_params, "ports:"); tmp_p = strstr(mpi_params, "ports=");
if (tmp_p == NULL) { if (tmp_p == NULL) {
if (port_resv_table) { if (port_resv_table) {
info("Clearing port reservations"); info("Clearing port reservations");
......
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