Just to clarify something: this only occurs when --with-pmi is provided. We 
*never* link directly against libslurm for licensing reasons, and --with-slurm 
doesn't cause us to link against any Slurm libraries.

So the only impact here is that we would have to drop support for directly 
launching apps using srun, and require the use of mpirun instead. Regrettable, 
but my point is to clarify that this doesn't preclude use of OMPI under Slurm 
environments.

Obviously, we would prefer to see it resolved, and that libpmi stand alone as 
an LGPL library :-)  This goes beyond what Mike is requesting, which is to at 
least remove the hwloc dependency as PMI clearly doesn't require it.


On Jul 13, 2014, at 4:24 AM, Mike Dubman <mi...@mellanox.com> wrote:

>  
> Hi guys,
>  
> The new SLURM 14.x series contains “–lhwloc” dependency mentioned in the 
> dependency_libs= string, in the slurm provided .la files:
>  
> libpmi.la
> libslurmdb.la
> libslurm.la
>  
> This breaks OMPI compilation when either –with-pmi or –with-slurm flags 
> provided to OMPI “configure”.
>  
> I checked previous SLURM 2.6.x version and it does not have such dependency 
> for hwloc.
>  
> http://www.open-mpi.org/community/lists/devel/2014/07/15130.php
>  
> Please fix.
> Thanks
>  
>  
> Kind Regards,
>  
> Mike Dubman | R&D Senior Director, HPC
> Tel:  +972 (74) 712 9214 | Fax: +972 (74) 712 9111
> Mellanox Ltd. 13 Zarchin St., Bldg B, Raanana 43662, Israel

Reply via email to