Re: [OMPI users] Building PMIx and Slurm support

2019-02-23 Thread Passant A. Hafez
Thanks Gilles. So do we have to rebuild Slurm after applying this patch? Another question, is this fix included in the PMIx 2.2.2 https://github.com/pmix/pmix/releases/tag/v2.2.2 ? All the best, From: users on behalf of Gilles Gouaillardet Sent:

Re: [OMPI users] Building PMIx and Slurm support

2019-02-23 Thread Gilles Gouaillardet
Passant, you have to manually download and apply https://github.com/pmix/pmix/commit/2e2f4445b45eac5a3fcbd409c81efe318876e659.patch to PMIx 2.2.1 that should likely fix your problem. As a side note, it is a bad practice to configure --with-FOO=/usr since it might have some unexpected side effect

Re: [OMPI users] Building PMIx and Slurm support

2019-02-23 Thread Passant A. Hafez
Hello Gilles, Here are some details: Slurm 18.08.4 PMIx 2.2.1 (as shown in /usr/include/pmix_version.h) Libevent 2.0.21 srun --mpi=list srun: MPI types are... srun: none srun: openmpi srun: pmi2 srun: pmix srun: pmix_v2 Open MPI versions tested: 4.0.0 and 3.1.2 For each installation to be m

Re: [OMPI users] Building PMIx and Slurm support

2019-02-23 Thread Gilles Gouaillardet
Hi, PMIx has cross-version compatibility, so as long as the PMIx library used by SLURM is compatible with the one (internal or external) used by Open MPI, you should be fine. If you want to minimize the risk of cross-version incompatibility, then I encourage you to use the same (and hence external

[OMPI users] Building PMIx and Slurm support

2019-02-23 Thread Passant A. Hafez
Good day everyone, I've trying to build and use the PMIx support for Open MPI but I tried many things that I can list if needed, but with no luck. I was able to test the PMIx client but when I used OMPI specifying srun --mpi=pmix it didn't work. So if you please advise me with the versions of