commit
ba2f0330b7
|
@ -71,7 +71,7 @@ AC_ARG_WITH([lustre],
|
|||
[support configurable Lustre striping values @<:@default=check@:>@])],
|
||||
[], [with_lustre=check])
|
||||
AS_IF([test "x$with_lustre" != xno], [
|
||||
AC_CHECK_HEADERS([lustre/lustre_user.h], [], [
|
||||
AC_CHECK_HEADERS([linux/lustre/lustre_user.h lustre/lustre_user.h], break, [
|
||||
if test "x$with_lustre" != xcheck; then
|
||||
AC_MSG_FAILURE([--with-lustre was given, <lustre/lustre_user.h> not found])
|
||||
fi
|
||||
|
|
|
@ -53,7 +53,7 @@ static IOR_offset_t NCMPI_Xfer(int, void *, IOR_size_t *,
|
|||
IOR_offset_t, IOR_param_t *);
|
||||
static void NCMPI_Close(void *, IOR_param_t *);
|
||||
static void NCMPI_Delete(char *, IOR_param_t *);
|
||||
static char *NCMPI_GetVersion(IOR_param_t *);
|
||||
static char *NCMPI_GetVersion();
|
||||
static void NCMPI_Fsync(void *, IOR_param_t *);
|
||||
static IOR_offset_t NCMPI_GetFileSize(IOR_param_t *, MPI_Comm, char *);
|
||||
static int NCMPI_Access(const char *, int, IOR_param_t *);
|
||||
|
|
|
@ -31,9 +31,13 @@
|
|||
#include <sys/stat.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
||||
#ifdef HAVE_LUSTRE_LUSTRE_USER_H
|
||||
# include <lustre/lustre_user.h>
|
||||
#endif
|
||||
#ifdef HAVE_LINUX_LUSTRE_LUSTRE_USER_H
|
||||
# include <linux/lustre/lustre_user.h>
|
||||
#endif
|
||||
#ifdef HAVE_GPFS_H
|
||||
# include <gpfs.h>
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue