Taylor
Sent: Wednesday, October 10, 2018 6:02 PM
To: Open MPI Users
Cc: Ross, Daniel B.
Subject: Re: [OMPI users] issue compiling openmpi 3.2.1 with pmi and slurm
In our config the "--with-pmi" points to the slurm “prefix” dir not the slurm
libdir. The options below work for us with SLURM
I digged a bit the configury logic and found
./configure --prefix=/usr/local/ --with-cuda --with-slurm
--with-pmi=/usr/local/slurm
should do the trick, if not
./configure --prefix=/usr/local/ --with-cuda --with-slurm
--with-pmi=/usr/local/slurm --with-pmi-libdir=/usr/local/slurm/lib64
In our config the "--with-pmi" points to the slurm “prefix” dir not the slurm
libdir. The options below work for us with SLURM installed in “/opt/slurm”.
I’ll note that after sharing this config with regard to another issue, it was
recommended to drop the “/usr” in the “—with-foo=/usr” options
find /usr/local/slurm/ -name pmi.h
/usr/local/slurm/include/slurm/pmi.h
From: users On Behalf Of Bennet Fauber
Sent: Wednesday, October 10, 2018 2:19 PM
To: users@lists.open-mpi.org
Subject: Re: [OMPI users] issue compiling openmpi 3.2.1 with pmi and slurm
Yes, I was just wondering about the
point it to the slurm pmi directories.
>
>
> --
> *From:* users on behalf of Bennet
> Fauber
> *Sent:* Wednesday, October 10, 2018 1:14 PM
> *To:* users@lists.open-mpi.org
> *Subject:* Re: [OMPI users] issue compiling openmpi 3.2.1 with pmi and
This is a slurm build and you point it to the slurm pmi directories.
From: users on behalf of Bennet Fauber
Sent: Wednesday, October 10, 2018 1:14 PM
To: users@lists.open-mpi.org
Subject: Re: [OMPI users] issue compiling openmpi 3.2.1 with pmi and slurm
I
I thought the --with-pmi=/the/dir was meant to point to the top of a
traditional FHS installation of PMI; e.g., /opt/pmi with
subdirectories for bin, lib, include, man, etc. It looks like this is
pointing only to the header file, based on the name.
On Wed, Oct 10, 2018 at 11:27 AM Ralph H Castai
mca/ess/hnp mca/ess/pmi
> mca/ess/singleton mca/ess/tool mca/ess/slurm'
> OPAL_CONFIGURE_CLI=' \'\''--prefix=/usr/local/\'\'' \'\''--with-cuda\'\''
> \'\''--with-slurm\'\'' \'\''-
LAGS=''
opal_pmi1_LIBS='-lpmi'
opal_pmi1_rpath=''
opal_pmi2_CPPFLAGS=''
opal_pmi2_LDFLAGS=''
opal_pmi2_LIBS='-lpmi2'
opal_pmi2_rpath=''
opal_pmix_ext1x_CPPFLAGS=''
opal_pmix_ext1x_LDFLAGS=''
opal_pmix_ext1x_LIBS='
It appears that the CPPFLAGS isn’t getting set correctly as the component
didn’t find the Slurm PMI-1 header file. Perhaps it would help if we saw the
config.log output so we can see where OMPI thought the file was located.
> On Oct 10, 2018, at 6:44 AM, Ross, Daniel B. via users
> wrote:
>
10 matches
Mail list logo