mirror of
https://github.com/TREX-CoE/qmckl.git
synced 2024-11-20 04:52:47 +01:00
d0eb207404
* comment * Update distance test code The distance test has been updated to the latest version, with a first attempt at using vfc_probes inside it * Functional implementation of vfc_probes in the distance tests This commit has the first functional vfc_ci tests. Verificarlo tests should be written over the existing tests, and they can be enabled with the following configure command: QMCKL_DEVEL=1 ./configure --prefix=$PWD/_install --enable-maintainer-mode --enable-vfc_ci CC="verificarlo-f -Mpreprocess -D VFC_CI" FC="verificarlo-f -Mpreprocess -D VFC_CI" --host=x86_64 The --enable-vfc_ci flag will trigger the linking of the vfc_ci library. Moreover, as of now, the "-Mpreprocess" and "-D VFC_CI" flags have to be specified directly here. There is probably an appropriate macro to place those flags into but I couldn't find it yet, and could only manage to build the tests this way. When the VFC_CI preprocessor is defined, somme additional code to register and export the test probes can be executed (see qmckl_distance.org). As of now, the tests are built as normal, even though they are expected to fail : make all make check From there, the test_qmckl_distance (and potentially the others) executable can be called at will. This will typically be done automatically by vfc_ci, but one could manually execute the executable by defining the following env variables : VFC_PROBES_OUTPUT="test.csv" VFC_BACKENDS="libinterflop_ieee.so" depending on the export file and the Verificarlo backend to be used. The next steps will be to define more tests such as this one, and to integrate them into a Verificarlo CI workflow (by writing a vfc_tests_config.json file and using the automatic CI setup command). * Error in FOrtran interface fixed * Added missing Fortran interfaces * Modify distance test and install process integration All probes are now ignored using only the preprocessor (instead of checking for a facultative argument) in the distance test. Moreover,preprocessing can now be enabled correctly using FCFLAGS (the issue seemed to come from the order of the arguments passed to gfortran/verificarlo-f with the preprocessor arg having to come first). * Add vfc_probes to AO tests vfc_probes have been added to qmckl_ao.org in the same way as qmckl_distance.org, which means that it can be enabled or disabled at compile time using the --enable-vfc_ci option. qmckl_distance.org has been slightly modified with a better indentation, and configure.ac now adds the "-D VFC_CI" flag to CFLAGS when vfc_ci is enabled. Co-authored-by: Anthony Scemama <scemama@irsamc.ups-tlse.fr>
154 lines
4.2 KiB
C
154 lines
4.2 KiB
C
/* include/config.h.in. Generated from configure.ac by autoheader. */
|
|
|
|
/* Define to turn on debugging checks */
|
|
#undef DEBUG
|
|
|
|
/* Define when using the profiler tool */
|
|
#undef ENABLE_PROF
|
|
|
|
/* Define to 1 if your Fortran compiler doesn't accept -c and -o together. */
|
|
#undef FC_NO_MINUS_C_MINUS_O
|
|
|
|
/* Define to 1 if you have the <assert.h> header file. */
|
|
#undef HAVE_ASSERT_H
|
|
|
|
/* Define to 1 if you have the <dlfcn.h> header file. */
|
|
#undef HAVE_DLFCN_H
|
|
|
|
/* Define to 1 if you have the <errno.h> header file. */
|
|
#undef HAVE_ERRNO_H
|
|
|
|
/* Define to 1 if you have the <inttypes.h> header file. */
|
|
#undef HAVE_INTTYPES_H
|
|
|
|
/* Define to 1 if you have the `efence' library (-lefence). */
|
|
#undef HAVE_LIBEFENCE
|
|
|
|
/* Define to 1 if you have the `m' library (-lm). */
|
|
#undef HAVE_LIBM
|
|
|
|
/* Define to 1 if you have the `pthread' library (-lpthread). */
|
|
#undef HAVE_LIBPTHREAD
|
|
|
|
/* Define to 1 if you have the <malloc.h> header file. */
|
|
#undef HAVE_MALLOC_H
|
|
|
|
/* Define to 1 if you have the <math.h> header file. */
|
|
#undef HAVE_MATH_H
|
|
|
|
/* Define to 1 if you have the <memory.h> header file. */
|
|
#undef HAVE_MEMORY_H
|
|
|
|
/* Define to 1 if you have the `memset' function. */
|
|
#undef HAVE_MEMSET
|
|
|
|
/* Define to 1 if you have the <pthread.h> header file. */
|
|
#undef HAVE_PTHREAD_H
|
|
|
|
/* Define to 1 if you have the <stdbool.h> header file. */
|
|
#undef HAVE_STDBOOL_H
|
|
|
|
/* Define to 1 if you have the <stdint.h> header file. */
|
|
#undef HAVE_STDINT_H
|
|
|
|
/* Define to 1 if you have the <stdio.h> header file. */
|
|
#undef HAVE_STDIO_H
|
|
|
|
/* Define to 1 if you have the <stdlib.h> header file. */
|
|
#undef HAVE_STDLIB_H
|
|
|
|
/* Define to 1 if you have the `strerror' function. */
|
|
#undef HAVE_STRERROR
|
|
|
|
/* Define to 1 if you have the <strings.h> header file. */
|
|
#undef HAVE_STRINGS_H
|
|
|
|
/* Define to 1 if you have the <string.h> header file. */
|
|
#undef HAVE_STRING_H
|
|
|
|
/* Define to 1 if you have the <sys/stat.h> header file. */
|
|
#undef HAVE_SYS_STAT_H
|
|
|
|
/* Define to 1 if you have the <sys/types.h> header file. */
|
|
#undef HAVE_SYS_TYPES_H
|
|
|
|
/* Define to 1 if you have the <unistd.h> header file. */
|
|
#undef HAVE_UNISTD_H
|
|
|
|
/* Define to 1 if the system has the type `_Bool'. */
|
|
#undef HAVE__BOOL
|
|
|
|
/* Define to the sub-directory where libtool stores uninstalled libraries. */
|
|
#undef LT_OBJDIR
|
|
|
|
/* Define to use debugging malloc/free */
|
|
#undef MALLOC_TRACE
|
|
|
|
/* Define to 1 if your C compiler doesn't accept -c and -o together. */
|
|
#undef NO_MINUS_C_MINUS_O
|
|
|
|
/* Name of package */
|
|
#undef PACKAGE
|
|
|
|
/* Define to the address where bug reports for this package should be sent. */
|
|
#undef PACKAGE_BUGREPORT
|
|
|
|
/* Define to the full name of this package. */
|
|
#undef PACKAGE_NAME
|
|
|
|
/* Define to the full name and version of this package. */
|
|
#undef PACKAGE_STRING
|
|
|
|
/* Define to the one symbol short name of this package. */
|
|
#undef PACKAGE_TARNAME
|
|
|
|
/* Define to the home page for this package. */
|
|
#undef PACKAGE_URL
|
|
|
|
/* Define to the version of this package. */
|
|
#undef PACKAGE_VERSION
|
|
|
|
/* major version */
|
|
#undef QMCKL_VERSION_MAJOR
|
|
|
|
/* minor version */
|
|
#undef QMCKL_VERSION_MINOR
|
|
|
|
/* patch version */
|
|
#undef QMCKL_VERSION_PATCH
|
|
|
|
/* Define to 1 if you have the ANSI C header files. */
|
|
#undef STDC_HEADERS
|
|
|
|
/* Version number of package */
|
|
#undef VERSION
|
|
|
|
/* Define for Solaris 2.5.1 so the uint32_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT32_T
|
|
|
|
/* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
|
|
<pthread.h>, or <semaphore.h> is not used. If the typedef were allowed, the
|
|
#define below would cause a syntax error. */
|
|
#undef _UINT64_T
|
|
|
|
/* Define to the type of a signed integer type of width exactly 32 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef int32_t
|
|
|
|
/* Define to the type of a signed integer type of width exactly 64 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef int64_t
|
|
|
|
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
|
#undef size_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 32 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint32_t
|
|
|
|
/* Define to the type of an unsigned integer type of width exactly 64 bits if
|
|
such a type exists and the standard includes do not define it. */
|
|
#undef uint64_t
|