Open
Description
Thank you for taking the time to submit an issue!
Background information
What version of Open MPI are you using? (e.g., v3.0.5, v4.0.2, git branch name and hash, etc.)
4.1.4 downloaded from https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.gz
Describe how Open MPI was installed (e.g., from a source/distribution tarball, from a git clone, from an operating system distribution package, etc.)
curl -o openmpi-4.1.4.tar.gz https://download.open-mpi.org/release/open-mpi/v4.1/openmpi-4.1.4.tar.gz
gunzip -c openmpi-4.1.4.tar.gz | tar xf -
cd openmpi-4.1.4
./configure --prefix=${MODINSTALLPATH}/ompi/4.1.4 --enable-mpi-cxx --with-lustre=/usr/src/lustre-client-modules-2.14.0-ddn54/lustre/
make all install
Please describe the system on which you are running
- Operating system/version: Ubuntu 20.04
- Computer hardware:
- Network type:
Details of the problem
When running the /configure
step, the configure fails to use the lustreapi.h
I am using the version of Lustre provided by DDN for use on GCP.
--- MCA component fs:lustre (m4 configuration macro)
checking for MCA component fs:lustre compile mode... dso
checking --with-lustre value... sanity check ok (/usr/src/lustre-client-modules-2.14.0-ddn54/lustre/)
checking looking for lustre libraries and header files in... (/usr/src/lustre-client-modules-2.14.0-ddn54/lustre/)
checking lustre/lustreapi.h usability... no
checking lustre/lustreapi.h presence... yes
configure: WARNING: lustre/lustreapi.h: present but cannot be compiled
configure: WARNING: lustre/lustreapi.h: check for missing prerequisite headers?
configure: WARNING: lustre/lustreapi.h: see the Autoconf documentation
configure: WARNING: lustre/lustreapi.h: section "Present But Cannot Be Compiled"
configure: WARNING: lustre/lustreapi.h: proceeding with the compiler's result
configure: WARNING: ## ------------------------------------------------------ ##
configure: WARNING: ## Report this to http://www.open-mpi.org/community/help/ ##
configure: WARNING: ## ------------------------------------------------------ ##
checking for lustre/lustreapi.h... no
configure: error: Lustre support requested but not found. Aborting
The first and last few lines of lustreapi.h (I can send the whole file if needed):
ifndef _LUSTREAPI_H_
#define _LUSTREAPI_H_
/** \defgroup llapi llapi
*
* @{
*/
#include <glob.h>
#include <stdarg.h>
#include <stdint.h>
#include <time.h>
#include <unistd.h>
#include <sys/types.h>
#include <linux/lustre/lustre_user.h>
...
/** @} llapi */
#if defined(__cplusplus)
}
#endif
#endif
The only uncommented part of lustre_user.h
:
#include <linux/lustre/lustre_user.h>