<commit_before>if(CMAKE_Fortran_COMPILER_ID MATCHES PGI)
    # remove -rdynamic flag offensive to PGI Fortran
    list(REMOVE_ITEM CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-rdynamic")
    # fix for rand() function
    add_definitions(-DVAR_PGI)
endif()
if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
    # prevent ifort's warning
    list(REMOVE_ITEM CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
    add_definitions(-DVAR_INTEL)
endif()

add_executable(example example.F90)
if(LAPACK_FOUND AND BLAS_FOUND)
    target_link_libraries(example ${MATH_LIBS})
elseif (EXPLICIT_LIBS)
    target_link_libraries(example ${EXPLICIT_LIBS})
else()
    message(FATAL_ERROR "LAPACK/BLAS libraries were not found for this project !")
endif()<commit_msg>fix fro pgf90/ifort linking of atlac/system_native ..<commit_after>if(CMAKE_Fortran_COMPILER_ID MATCHES PGI)
    # remove -rdynamic flag offensive to PGI Fortran
    list(REMOVE_ITEM CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-rdynamic")
    # fix for rand() function
    add_definitions(-DVAR_PGI)
endif()
if(CMAKE_Fortran_COMPILER_ID MATCHES Intel)
    # prevent ifort's warning
    list(REMOVE_ITEM CMAKE_SHARED_LIBRARY_LINK_Fortran_FLAGS "-i_dynamic")
    add_definitions(-DVAR_INTEL)
endif()

if(CMAKE_Fortran_COMPILER_ID MATCHES PGI OR CMAKE_Fortran_COMPILER_ID MATCHES
Intel)
    if (LAPACK_TYPE MATCHES ATLAS OR LAPACK_TYPE MATCHES SYSTEM_NATIVE OR
BLAS_TYPE MATCHES ATLAS OR BLAS_TYPE MATCHES SYSTEM_NATIVE)
        set (MATH_LIBS ${MATH_LIBS} -lgfortran)
    endif()
endif()


add_executable(example example.F90)
if(LAPACK_FOUND AND BLAS_FOUND)
    target_link_libraries(example ${MATH_LIBS})
elseif (EXPLICIT_LIBS)
    target_link_libraries(example ${EXPLICIT_LIBS})
else()
    message(FATAL_ERROR "LAPACK/BLAS libraries were not found for this project !")
endif()
{'fraction_non_alphanumeric': 0.07705008255365987, 'fraction_numerical': 0.003302146395156852, 'mean_word_length': 5.860377358490566, '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': '1024945', 'n_tokens_mistral': 738, 'n_tokens_neox': 679, 'n_words': 138}