1
0
mirror of https://github.com/TREX-CoE/qmckl.git synced 2024-11-19 20:42:50 +01:00

Make --with-openmp default

This commit is contained in:
Anthony Scemama 2022-10-07 09:36:06 +02:00
parent 0def40720d
commit fe0ad737d8

View File

@ -128,7 +128,7 @@ AC_CHECK_HEADERS([assert.h errno.h math.h pthread.h stdbool.h stdint.h stdio.h s
AC_CHECK_LIB([pthread], [pthread_create]) AC_CHECK_LIB([pthread], [pthread_create])
# OpenMP # OpenMP
AC_ARG_WITH(openmp, [AS_HELP_STRING([--with-openmp],[activate OpenMP])], with_omp=$withval, with_omp=no) AC_ARG_WITH(openmp, [AS_HELP_STRING([--without-openmp],[deactivate OpenMP])], with_omp=$withval, with_omp=yes)
if test "x$with_omp" = xyes; then if test "x$with_omp" = xyes; then
AC_DEFINE([HAVE_OPENMP], [1], [Define to use OpenMP threading.]) AC_DEFINE([HAVE_OPENMP], [1], [Define to use OpenMP threading.])
AX_OPENMP([], AX_OPENMP([],
@ -486,15 +486,16 @@ ${PACKAGE_NAME} Version ${PACKAGE_VERSION} ${QMCKL_DEVEL}
Prefix: '${prefix}'. Prefix: '${prefix}'.
CC..............: ${CC} CC..............: ${CC}
CPPFLAGS........: ${CPPFLAGS}
CFLAGS..........: ${CFLAGS} CFLAGS..........: ${CFLAGS}
CPPFLAGS........: ${CPPFLAGS}
FC..............: ${FC} FC..............: ${FC}
FCFLAGS.........: ${FCFLAGS} FCFLAGS.........: ${FCFLAGS}
HPC version.....: ${HAVE_HPC}
LDFLAGS:........: ${LDFLAGS} LDFLAGS:........: ${LDFLAGS}
LIBS............: ${LIBS} LIBS............: ${LIBS}
TREXIO..........: ${with_trexio} OPENMP..........: ${with_omp}
QMCKL_DGEMM.....: ${with_qmckldgemm} QMCKL_DGEMM.....: ${with_qmckldgemm}
HPC version.....: ${HAVE_HPC} TREXIO..........: ${with_trexio}
Package features: Package features:
${ARGS} ${ARGS}