Re: [OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-12 Thread Leandro via users
I will try to mess around static and shared libraries, butI need external PMIx to use with Slurm. --- *Leandro* On Tue, May 12, 2020 at 11:19 AM Jeff Squyres (jsquyres) wrote: > On May 12, 2020, at 7:42 AM, Leandro wrote: > > > > I compile it statically to make sure compilers libraries will n

Re: [OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-12 Thread Jeff Squyres (jsquyres) via users
On May 12, 2020, at 7:42 AM, Leandro wrote: > > I compile it statically to make sure compilers libraries will not be a > dependency, and I do this way for years. For what it's worth, you're compiling with -static-intel, which should take care of removing the compiler's libraries as dependenci

Re: [OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-12 Thread Ralph Castain via users
Try adding --without-psm2 to the PMIx configure line - sounds like you have that library installed on your machine, even though you don't have omnipath. On May 12, 2020, at 4:42 AM, Leandro via users mailto:users@lists.open-mpi.org> > wrote: HI,  I compile it statically to make sure compilers

Re: [OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-12 Thread Leandro via users
HI, I compile it statically to make sure compilers libraries will not be a dependency, and I do this way for years. The developers said they want this way, so I did. I saw this warning and this library is related with omnipath, which we don't have. --- *Leandro* On Tue, May 12, 2020 at 8:27 AM

Re: [OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-12 Thread Jeff Squyres (jsquyres) via users
It looks like you are building both static and dynamic libraries (--enable-static and --enable-shared). This might be confusing the issue -- I can see at least one warning: icc: warning #10237: -lcilkrts linked in dynamically, static library not available It's not easy to tell from the snippe

Re: [OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-11 Thread Gilles Gouaillardet via users
Leandro, First you must make sure SLURM has been built with PMIx (preferably PMIx 3.1.5) and the pmix plugin was built. >From the Open MPI point of view, you do not need the --with-ompi-pmix-rte option. If you want to uses srun, just make sure it uses pmix. you can srun --mpi=list If you want t

Re: [OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-11 Thread Leandro via users
Well, I have to build these packages because of specific compilers and some options the developers need. I do this for years, Always worked fine. But, nowadays I am using torque and maui on the clusters, and theses are giving me problems now. The openmpi we use now, with torque, is built using a c

Re: [OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-11 Thread Ralph Castain via users
I'm not sure I understand why you are trying to build CentOS rpms for PMIx, Slurm, or OMPI - all three are readily available online. Is there some particular reason you are trying to do this yourself? I ask because it is non-trivial to do and requires significant familiarity with both the intri

[OMPI users] I can't build openmpi 4.0.X using PMIx 3.1.5 to use with Slurm

2020-05-11 Thread Leandro via users
Hi, I'm trying to start using Slurm, and I followed all the instructions ti build PMIx, Slurm using pmix, but I can't make openmpi to work. According to PMIx documentation, I should compile openmpi using "--with-ompi-pmix-rte" but when I tried, It fails. I need to build this as CentOS rpms. Than