<commit_before>AC_DEFUN([AX_GROMACS_LIBS], [
  AC_CHECK_LIB(gmx,GromacsVersion,[
    LIBS_GMX="-lgmx"
  ],[
    AC_CHECK_LIB(gmx_mpi,GromacsVersion,[
      LIBS_GMX="-lgmx_mpi -lmpi -llam"
    ],[
      AC_MSG_ERROR([

Gromacs library not found!
please make sure LDFLAGS is pointing to <gromacs-path>/lib

])],[mpi lam] )])
  AC_SUBST([LIBS_GMX])
])

AC_DEFUN([AX_GROMACS_HEADERS], [
AC_CHECK_HEADERS([copyrite.h],,[AC_MSG_ERROR([

Gromacs headers not found,
please make sure CPPFLAGS is pointing to <gomacs-path>/include])])

])

AC_DEFUN([AX_GROMACS], [
 AX_GROMACS_HEADERS
 AX_GROMACS_LIBS
])<commit_msg>finally gromacs with mpi(p)<commit_after>AC_DEFUN([AX_GROMACS_LIBS], [
  AC_CHECK_LIB(gmx,GromacsVersion,[
    LIBS_GMX="-lgmx"
  ],[
    AC_CHECK_LIB(gmx_mpi,GromacsVersion,[
      LIBS_GMX="-lgmx_mpi -lmpi -llam"
    ],[
      AC_MSG_ERROR([

Gromacs library not found!
please make sure LDFLAGS is pointing to <gromacs-path>/lib

])],[-lmpi -llam] )])
  AC_SUBST([LIBS_GMX])
])

AC_DEFUN([AX_GROMACS_HEADERS], [
AC_CHECK_HEADERS([copyrite.h],,[AC_MSG_ERROR([

Gromacs headers not found,
please make sure CPPFLAGS is pointing to <gomacs-path>/include])])

])

AC_DEFUN([AX_GROMACS], [
 AX_GROMACS_HEADERS
 AX_GROMACS_LIBS
])
{'fraction_non_alphanumeric': 0.14285714285714285, 'fraction_numerical': 0.0, 'mean_word_length': 5.290816326530612, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6571247', 'n_tokens_mistral': 565, 'n_tokens_neox': 519, 'n_words': 83}