Skip to content

Commit 74190f8

Browse files
committed
print papi version on screen
1 parent 315bfb1 commit 74190f8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

darshan-runtime/configure.ac

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,7 @@ if test "x$enable_darshan_runtime" = xyes ; then
336336
with_papi=`pkg-config --libs papi`
337337
if test "x$?" = x0 ; then
338338
CPPFLAGS+=`pkg-config --cflags papi`
339+
papi_version=`pkg-config --modversion papi`
339340
else
340341
AC_CHECK_HEADER([papi.h],
341342
[with_papi=-lpapi],
@@ -1088,6 +1089,11 @@ if test "x$enable_darshan_runtime" = xyes ; then
10881089
enable_apmpi_mod="yes (collective sync mode)"
10891090
fi
10901091
fi
1092+
if test "x$enable_apxc_mod" = xyes ; then
1093+
if test -n "$papi_version" ; then
1094+
enable_apxc_mod="yes (using papi $papi_version)"
1095+
fi
1096+
fi
10911097
echo "------------------------------------------------------------------------------
10921098
${PACKAGE_NAME} Version ${PACKAGE_VERSION} configured with the following features:"
10931099
if test "x$ENABLE_MPI" = xyes ; then
@@ -1106,11 +1112,11 @@ if test "x$enable_darshan_runtime" = xyes ; then
11061112
MPI-IO module support - $enable_mpiio_mod
11071113
AUTOPERF MPI module support - $enable_apmpi_mod
11081114
AUTOPERF XC module support - $enable_apxc_mod
1115+
PnetCDF module support - $enable_pnetcdf_mod
11091116
HDF5 module support - $enable_hdf5_mod
1117+
Lustre module support - $enable_lustre_mod
11101118
DAOS module support - $enable_daos_mod
1111-
PnetCDF module support - $enable_pnetcdf_mod
11121119
BG/Q module support - $enable_bgq_mod
1113-
Lustre module support - $enable_lustre_mod
11141120
MDHIM module support - $enable_mdhim_mod
11151121
HEATMAP module support - $enable_heatmap_mod
11161122
LDMS runtime module - $enable_ldms_mod

0 commit comments

Comments
 (0)