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-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 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 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 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

[OMPI users] Do I need C++ bindings for Open MPI mpicc

2020-05-12 Thread Konstantinos Konstantinidis via users
Hi, I have a naive question. I have built Open MPI 3.1.6 on my system after configuring as follows: ./configure --prefix=/usr/local I am planning to use Python so I want to build MPI4py 3.0.3 which will be using the Open MPI implementation. The MPI4py requirements here

Re: [OMPI users] Do I need C++ bindings for Open MPI mpicc

2020-05-12 Thread Gilles Gouaillardet via users
Hi, no you do not. FWIW, MPI C++ bindings were removed from the standard a decade ago. mpicc is the wrapper for the C compiler, and the wrappers for the C++ compilers are mpicxx,mpiCC and mpicxx. If your C++ application is only using the MPI C bindings, then you do not need --enable-mpi-cxx for t

Re: [OMPI users] Do I need C++ bindings for Open MPI mpicc

2020-05-12 Thread Konstantinos Konstantinidis via users
Awesome, thanks! On Tue, May 12, 2020 at 11:15 PM Gilles Gouaillardet < gilles.gouaillar...@gmail.com> wrote: > Hi, > > no you do not. > > FWIW, MPI C++ bindings were removed from the standard a decade ago. > mpicc is the wrapper for the C compiler, and the wrappers for the C++ > compilers are mp