Hmmm...yeah, it sounds like Slurm changed it's library names and/or
dependencies. I'm afraid that you do indeed need to recompile OMPI in that
case. You probably need to rerun configure as well, just to be safe.

Sorry - outside OMPI's control :-/


On Thu, Apr 16, 2015 at 5:22 AM, Uwe Sauter <[email protected]> wrote:

>
> Hi,
>
> I have the case that OpenMPI was built against Slurm 14.03 (which provided
> libslurm.so.27). Since upgrading to 14.11 I get errors
> like:
>
> [controller:35605] mca: base: component_find: unable to open
> /opt/apps/openmpi/1.8.1/gcc/4.9/0/lib/openmpi/mca_ess_pmi:
> libslurm.so.27: cannot open shared object file: No such file or directory
> (ignored)
>
> because now Slurm provides libslurmdb.so.28 .
>
> I believe the only way to resolve this is to recompile OpenMPI… correct?
>
>
> Regards,
>
>         Uwe
>
>
> Am 16.04.2015 um 13:18 schrieb Ralph Castain:
> > No, you shouldn't have to do so - it's a dynamic library that gets
> picked up at execution
> >
> >
> > On Thu, Apr 16, 2015 at 2:55 AM, Bjørn-Helge Mevik <
> [email protected] <mailto:[email protected]>> wrote:
> >
> >
> >     We are considering compiling openmpi with "--with-pmi=/opt/slurm" to
> >     enable running mpi jobs with srun.
> >
> >     If we do this, will we have to recompile openmpi and/or programs
> built
> >     with openmpi when we upgrade slurm? (If so, only for major upgrades,
> or
> >     for minor upgrades as well?)
> >
> >     --
> >     Regards,
> >     Bjørn-Helge Mevik, dr. scient,
> >     Department for Research Computing, University of Oslo
> >
> >
>

Reply via email to