[OMPI devel] Slurm integration and rankfiles....

2021-03-11 Thread Martyn Foster via devel
Hi all,

Using a rather trivial example
mpirun -np 1 -rf rankfile ./HelloWorld
on a Slurm system;
--
While trying to determine what resources are available, the SLURM
resource allocator expects to find the following environment variables:

SLURM_NODELIST
SLURM_TASKS_PER_NODE

However, it was unable to find the following environment variable:

SLURM_TASKS_PER_NODE

--

(Both for OpenMPI 4.0/4.1). It is correct the variable is not set,  but
why is  SLURM_TASKS_PER_NODE expected or required when using a
rankfile where one presumes it would not be a constant across the job
anyway?

Martyn


Re: [OMPI devel] Slurm integration and rankfiles....

2021-03-11 Thread Ralph Castain via devel
What version of Slurm is this?

> On Mar 11, 2021, at 8:03 AM, Martyn Foster via devel 
>  wrote:
> 
> Hi all,
> 
> Using a rather trivial example
> mpirun -np 1 -rf rankfile ./HelloWorld
> on a Slurm system;
> --
> While trying to determine what resources are available, the SLURM
> resource allocator expects to find the following environment variables:
> 
> SLURM_NODELIST
> SLURM_TASKS_PER_NODE
> 
> However, it was unable to find the following environment variable:
> 
> SLURM_TASKS_PER_NODE
> 
> --
> 
> (Both for OpenMPI 4.0/4.1). It is correct the variable is not set,  but why 
> is  SLURM_TASKS_PER_NODE expected or required when using a rankfile where one 
> presumes it would not be a constant across the job anyway?
> 
> Martyn
> 




[OMPI devel] Open MPI v5.0.x branch created

2021-03-11 Thread Geoffrey Paulsen via devel
Open MPI developers,  We've created the Open MPI v5.0.x branch today, and are receiving bugfixes. Please cherry-pick any master PRs to v5.0.x once they've been merged to master.
  We're targeting an aggressive but achievable release date of May 15th.  If you're in charge of your organization's CI tests, please enable for v5.0.x PRs.  It may be a few days until all of our CI is enabled on v5.0.x.  Thanks everyone for your continued commitment to Open MPI's success.  Josh Ladd, Austen Lauria, and Geoff Paulsen - v5.0 RMs