<commit_before>#
# Find the native CGNS includes and library
#
# CGNS_INCLUDE_DIR - where to find cgns.h, etc.
# CGNS_LIBRARIES   - List of fully qualified libraries to link against when using CGNS.
# CGNS_FOUND       - Do not attempt to use CGNS if "no" or undefined.

find_path(CGNS_INCLUDE_DIR cgnslib.h
  /usr/local/include
  /usr/include
)

find_library(CGNS_LIBRARY cgns
  /usr/local/lib
  /usr/lib
  /usr/lib64
)

set(CGNS_FOUND "NO")
if(CGNS_INCLUDE_DIR)
  if(CGNS_LIBRARY)
    set( CGNS_LIBRARIES ${CGNS_LIBRARY} )
    set( CGNS_FOUND "YES" )
  endif()
endif()

if(CGNS_FIND_REQUIRED AND NOT CGNS_FOUND)
  message(SEND_ERROR "Unable to find the requested CGNS libraries.")
endif()<commit_msg>+ fixed cgns.mod searching<commit_after>#
# Find the native CGNS includes and library
#
# CGNS_INCLUDE_DIR - where to find cgns.h, etc.
# CGNS_LIBRARIES   - List of fully qualified libraries to link against when using CGNS.
# CGNS_FOUND       - Do not attempt to use CGNS if "no" or undefined.

find_path(CGNS_INCLUDE_DIR1 cgnslib.h
  /usr/local/include
  /usr/include
)

find_path(CGNS_INCLUDE_DIR2 cgns.mod
  /usr/lib64/gfortran/modules
  /usr/local/include
  /usr/include
)

set(CGNS_INCLUDE_DIR
  ${CGNS_INCLUDE_DIR1}
  ${CGNS_INCLUDE_DIR2}
)

find_library(CGNS_LIBRARY cgns
  /usr/local/lib
  /usr/lib
  /usr/lib64
)

set(CGNS_FOUND "NO")
if(CGNS_INCLUDE_DIR)
  if(CGNS_LIBRARY)
    set( CGNS_LIBRARIES ${CGNS_LIBRARY} )
    set( CGNS_FOUND "YES" )
  endif()
endif()

if(CGNS_FIND_REQUIRED AND NOT CGNS_FOUND)
  message(SEND_ERROR "Unable to find the requested CGNS libraries.")
endif()
{'fraction_non_alphanumeric': 0.09673366834170855, 'fraction_numerical': 0.00628140703517588, 'mean_word_length': 4.057142857142857, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '938869', 'n_tokens_mistral': 685, 'n_tokens_neox': 629, 'n_words': 152}