Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 17 additions & 6 deletions darshan-runtime/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -333,11 +333,17 @@ if test "x$enable_darshan_runtime" = xyes ; then
if test "x$ENABLE_MPI" = xno ; then
AC_MSG_ERROR([--enable-apxc-mod Autoperf XC module requires MPI support])
fi
with_papi=`pkg-config --libs papi`
if test "x$?" = x0 ; then
CPPFLAGS+=`pkg-config --cflags papi`
papi_version=`pkg-config --modversion papi`
else
AC_CHECK_HEADER([papi.h],
[with_papi=-lpapi],
[AC_MSG_ERROR([Cannot find papi header required for Autoperf XC module])],
[])
fi
abssrcdir=$(readlink -f ${srcdir})
AC_CHECK_HEADER([papi.h],
[with_papi=-lpapi],
[AC_MSG_ERROR([Cannot find papi header required for Autoperf XC module])],
[])
AC_CHECK_FILE([${abssrcdir}/../modules/autoperf/apxc/darshan-apxc-log-format.h],
[],
[AC_MSG_ERROR([The Autoperf XC git submodule is not present])])
Expand Down Expand Up @@ -1083,6 +1089,11 @@ if test "x$enable_darshan_runtime" = xyes ; then
enable_apmpi_mod="yes (collective sync mode)"
fi
fi
if test "x$enable_apxc_mod" = xyes ; then
if test -n "$papi_version" ; then
enable_apxc_mod="yes (using papi $papi_version)"
fi
fi
echo "------------------------------------------------------------------------------
${PACKAGE_NAME} Version ${PACKAGE_VERSION} configured with the following features:"
if test "x$ENABLE_MPI" = xyes ; then
Expand All @@ -1101,11 +1112,11 @@ if test "x$enable_darshan_runtime" = xyes ; then
MPI-IO module support - $enable_mpiio_mod
AUTOPERF MPI module support - $enable_apmpi_mod
AUTOPERF XC module support - $enable_apxc_mod
PnetCDF module support - $enable_pnetcdf_mod
HDF5 module support - $enable_hdf5_mod
Lustre module support - $enable_lustre_mod
DAOS module support - $enable_daos_mod
PnetCDF module support - $enable_pnetcdf_mod
BG/Q module support - $enable_bgq_mod
Lustre module support - $enable_lustre_mod
MDHIM module support - $enable_mdhim_mod
HEATMAP module support - $enable_heatmap_mod
LDMS runtime module - $enable_ldms_mod
Expand Down
Loading