Sounds like I need to resync the PMIx lustre configury with the OMPI one - I'll 
do that.


On Feb 4, 2021, at 11:56 AM, Gabriel, Edgar via devel <devel@lists.open-mpi.org 
<mailto:devel@lists.open-mpi.org> > wrote:

I have a weird problem running configure on master on our cluster. Basically, 
configure fails when I request lustre support, but not from ompio but openpmix.
 What makes our cluster setup maybe a bit special is that the lustre libraries 
are not installed in the standard path, but in /opt, and thus we provide the 
--with-lustre=/opt/lustre/2.12.2 as an option.
If I remove the 3rd-party/openpmix/src/mca/pstrg/lustre component, the 
configure script finishes correctly.
 I looked at the ompi vs. openmpix check_lustre configure scripts, I could not 
detect on a quick glance any difference that would explain why the script is 
failing in one instance but not the other, but the openpmix version does seem 
to go through some additional hoops (checking separately for the include 
directory, the lib and lib64 directories etc), so it might be a difference  in 
the PMIX_ macros vs. the OPAL_ macros.
 --snip--
 --- MCA component fs:lustre (m4 configuration macro)
checking for MCA component fs:lustre compile mode... dso
checking --with-lustre value... sanity check ok (/opt/lustre/2.12.2)
checking looking for lustre libraries and header files in... 
(/opt/lustre/2.12.2)
checking lustre/lustreapi.h usability... yes
checking lustre/lustreapi.h presence... yes
checking for lustre/lustreapi.h... yes
looking for library in lib
checking for library containing llapi_file_create... no
looking for library in lib64
checking for library containing llapi_file_create... -llustreapi
checking if liblustreapi requires libnl v1 or v3...
checking for required lustre data structures... yes
checking if MCA component fs:lustre can compile... yes
 --snip --
 --- MCA component pstrg:lustre (m4 configuration macro)
checking for MCA component pstrg:lustre compile mode... dso
checking --with-lustre value... sanity check ok (/opt/lustre/2.12.2)
checking looking for lustre libraries and header files in... 
(/opt/lustre/2.12.2)
looking for header in /opt/lustre/2.12.2
checking lustre/lustreapi.h usability... no
checking lustre/lustreapi.h presence... no
checking for lustre/lustreapi.h... no
looking for header in /opt/lustre/2.12.2/include
checking lustre/lustreapi.h usability... yes
checking lustre/lustreapi.h presence... yes
checking for lustre/lustreapi.h... yes
looking for library without search path
checking for library containing llapi_file_create... no
looking for library in /opt/lustre/2.12.2/lib64
checking for library containing llapi_file_create... (cached) no
looking for library in /opt/lustre/2.12.2/lib
checking for library containing llapi_file_create... (cached) no
configure: error: Lustre support requested but not found.  Aborting

 --snip --
 Does anybody have an idea on what could trigger this issue or a suggestion how 
to investigate it?
 Thanks
Edgar

Reply via email to