Remove the extra configure options from OMPI - you don't need to tell it 
--with-pmix or --with-slurm. It will "do the right thing" without that stuff.

On Aug 8, 2019, at 10:54 AM, Jing Gong < 
<> > wrote:

Hi Ralph,

The slurm seems to be configured with pmlx. 

$ ls /usr/lib64/slurm/ |grep pmi

(and libpmix* in /usr/lib64)
Anyway, I recompiled openmpi v3.0.0 with

$ ./configure --with-pmix=/usr --with-slurm ...

but this time I even could not run "mpirun"

$ mpirun -n 4 ./a.out 
 [[42812,0],0] ORTE_ERROR_LOG: Not found in file 
../../../../../openmpi-3.0.0/orte/mca/ess/hnp/ess_hnp_module.c at line 649
It looks like orte_init failed for some reason; your parallel process is

likely to abort.  There are many reasons that a parallel process can
fail during orte_init; some of which are due to configuration or
environment problems.  This failure appears to be an internal failure;
here's some additional information (which may only be relevant to an
Open MPI developer):

  opal_pmix_base_select failed
  --> Returned value Not found (-13) instead of ORTE_SUCCESS

What is the issue?

Thanks a lot.


From: users < 
<> > on behalf of Ralph Castain via 
users < <> >
Sent: Thursday, August 8, 2019 16:41
To: Open MPI Users
Cc: Ralph Castain
Subject: Re: [OMPI users] OMPI was not built with SLURM's PMI support
 Did you configure Slurm to use PMIx? If so, then you simply need to set the 
"--mpi=pmix" or "--mpi=pmix_v2" (depending on which version of PMIx you used) 
flag on your srun cmd line so it knows to use it.

If not (and you can't fix it), then you have to explicitly configure OMPI to 
use Slurm's legacy PMI libraries - we won't do that by default. "./configure 
--help" will show you what needs to be done.

See for assistance on checking your 
Slurm config and setting it up with PMIx support

users mailing list

Reply via email to