<commit_before>project(model_dirac)
cmake_minimum_required(VERSION 2.8)
set(cmake_build_type Debug)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unused-function")
add_definitions(-DAMICI_WITHOUT_MATLAB)

set(AMICI_DIR "${CMAKE_SOURCE_DIR}")
set(MODEL_DIR "${AMICI_DIR}/models/model_dirac")
set(SUITESPARSE_DIR "${AMICI_DIR}/SuiteSparse/")
set(SUITESPARSE_LIB_DIR "${AMICI_DIR}/SuiteSparse/lib")
set(SUNDIALS_LIB_DIR "${AMICI_DIR}/build/sundials/lib")

set(SRC_LIST
${MODEL_DIR}/main.cpp
${MODEL_DIR}/wrapfunctions.cpp
${AMICI_DIR}/src/symbolic_functions.cpp
${AMICI_DIR}/src/amici.cpp
${AMICI_DIR}/src/udata.cpp
${AMICI_DIR}/src/rdata.cpp
${AMICI_DIR}/src/edata.cpp
${AMICI_DIR}/src/ami_hdf5.cpp
${MODEL_DIR}/model_dirac_J.cpp
${MODEL_DIR}/model_dirac_JB.cpp
${MODEL_DIR}/model_dirac_JBand.cpp
${MODEL_DIR}/model_dirac_JBandB.cpp
${MODEL_DIR}/model_dirac_JSparse.cpp
${MODEL_DIR}/model_dirac_JSparseB.cpp
${MODEL_DIR}/model_dirac_Jv.cpp
${MODEL_DIR}/model_dirac_JvB.cpp
${MODEL_DIR}/model_dirac_Jy.cpp
${MODEL_DIR}/model_dirac_Jz.cpp
${MODEL_DIR}/model_dirac_dJydp.cpp
${MODEL_DIR}/model_dirac_dJydx.cpp
${MODEL_DIR}/model_dirac_dJzdp.cpp
${MODEL_DIR}/model_dirac_dJzdx.cpp
${MODEL_DIR}/model_dirac_deltaqB.cpp
${MODEL_DIR}/model_dirac_deltasx.cpp
${MODEL_DIR}/model_dirac_deltax.cpp
${MODEL_DIR}/model_dirac_deltaxB.cpp
${MODEL_DIR}/model_dirac_dsigma_ydp.cpp
${MODEL_DIR}/model_dirac_dsigma_zdp.cpp
${MODEL_DIR}/model_dirac_dwdp.cpp
${MODEL_DIR}/model_dirac_dwdx.cpp
${MODEL_DIR}/model_dirac_dxdotdp.cpp
${MODEL_DIR}/model_dirac_dydp.cpp
${MODEL_DIR}/model_dirac_dydx.cpp
${MODEL_DIR}/model_dirac_dzdp.cpp
${MODEL_DIR}/model_dirac_dzdx.cpp
${MODEL_DIR}/model_dirac_qBdot.cpp
${MODEL_DIR}/model_dirac_root.cpp
${MODEL_DIR}/model_dirac_sJy.cpp
${MODEL_DIR}/model_dirac_sJz.cpp
${MODEL_DIR}/model_dirac_sigma_y.cpp
${MODEL_DIR}/model_dirac_sigma_z.cpp
${MODEL_DIR}/model_dirac_sroot.cpp
${MODEL_DIR}/model_dirac_stau.cpp
${MODEL_DIR}/model_dirac_sx0.cpp
${MODEL_DIR}/model_dirac_sxdot.cpp
${MODEL_DIR}/model_dirac_sy.cpp
${MODEL_DIR}/model_dirac_sz.cpp
${MODEL_DIR}/model_dirac_sz_tf.cpp
${MODEL_DIR}/model_dirac_w.cpp
${MODEL_DIR}/model_dirac_x0.cpp
${MODEL_DIR}/model_dirac_xBdot.cpp
${MODEL_DIR}/model_dirac_xdot.cpp
${MODEL_DIR}/model_dirac_y.cpp
${MODEL_DIR}/model_dirac_z.cpp
)

include_directories("${AMICI_DIR}")
include_directories("${AMICI_DIR}/models/model_dirac")
include_directories("${AMICI_DIR}/sundials/include")
include_directories("${SUITESPARSE_DIR}/KLU/Include")
include_directories("${SUITESPARSE_DIR}/AMD/Include")
include_directories("${SUITESPARSE_DIR}/SuiteSparse_config")
include_directories("${SUITESPARSE_DIR}/COLAMD/Include")
include_directories("${SUITESPARSE_DIR}/BTF/Include")

find_package( HDF5 REQUIRED )
find_package( ZLIB REQUIRED )

if(HDF5_FOUND)
    include_directories( ${HDF5_INCLUDE_DIR} )
    set(LIBS ${LIBS} ${HDF5_LIBRARIES})
    set(LIBS ${LIBS} ${HDF5_HL_LIBRARIES})
else()
    message(FATAL_ERROR "HDF5 not found.")
endif()

if(ZLIB_FOUND)
    include_directories( ${ZLIB_INCLUDE_DIR} )
    set(LIBS ${LIBS} ${ZLIB_LIBRARIES})
else()
    message(FATAL_ERROR "ZLIB not found.")
endif()

add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries(${PROJECT_NAME} ${LIBS} "-lpthread -L${SUNDIALS_LIB_DIR} -lsundials_cvodes -lsundials_nvecserial -L${SUITESPARSE_LIB_DIR}  -lklu -lbtf -lamd -lcolamd -lsuitesparseconfig"
"-lm" 
)<commit_msg>are you fucking kidding me?<commit_after>project(model_dirac)
cmake_minimum_required(VERSION 2.8)
set(cmake_build_type Debug)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -Wall -Wno-unused-function")
add_definitions(-DAMICI_WITHOUT_MATLAB)

set(AMICI_DIR "${CMAKE_SOURCE_DIR}")
set(MODEL_DIR "${AMICI_DIR}/models/model_dirac")
set(SUITESPARSE_DIR "${AMICI_DIR}/SuiteSparse/")
set(SUITESPARSE_LIB_DIR "${AMICI_DIR}/SuiteSparse/lib")
set(SUNDIALS_LIB_DIR "${AMICI_DIR}/build/sundials/lib")

set(SRC_LIST
${MODEL_DIR}/main.cpp
${MODEL_DIR}/wrapfunctions.cpp
${AMICI_DIR}/src/symbolic_functions.cpp
${AMICI_DIR}/src/amici.cpp
${AMICI_DIR}/src/udata.cpp
${AMICI_DIR}/src/rdata.cpp
${AMICI_DIR}/src/edata.cpp
${AMICI_DIR}/src/ami_hdf5.cpp
${MODEL_DIR}/model_dirac_J.cpp
${MODEL_DIR}/model_dirac_JB.cpp
${MODEL_DIR}/model_dirac_JBand.cpp
${MODEL_DIR}/model_dirac_JBandB.cpp
${MODEL_DIR}/model_dirac_JSparse.cpp
${MODEL_DIR}/model_dirac_JSparseB.cpp
${MODEL_DIR}/model_dirac_Jv.cpp
${MODEL_DIR}/model_dirac_JvB.cpp
${MODEL_DIR}/model_dirac_Jy.cpp
${MODEL_DIR}/model_dirac_Jz.cpp
${MODEL_DIR}/model_dirac_dJydp.cpp
${MODEL_DIR}/model_dirac_dJydx.cpp
${MODEL_DIR}/model_dirac_dJzdp.cpp
${MODEL_DIR}/model_dirac_dJzdx.cpp
${MODEL_DIR}/model_dirac_deltaqB.cpp
${MODEL_DIR}/model_dirac_deltasx.cpp
${MODEL_DIR}/model_dirac_deltax.cpp
${MODEL_DIR}/model_dirac_deltaxB.cpp
${MODEL_DIR}/model_dirac_dsigma_ydp.cpp
${MODEL_DIR}/model_dirac_dsigma_zdp.cpp
${MODEL_DIR}/model_dirac_dwdp.cpp
${MODEL_DIR}/model_dirac_dwdx.cpp
${MODEL_DIR}/model_dirac_dxdotdp.cpp
${MODEL_DIR}/model_dirac_dydp.cpp
${MODEL_DIR}/model_dirac_dydx.cpp
${MODEL_DIR}/model_dirac_dzdp.cpp
${MODEL_DIR}/model_dirac_dzdx.cpp
${MODEL_DIR}/model_dirac_qBdot.cpp
${MODEL_DIR}/model_dirac_root.cpp
${MODEL_DIR}/model_dirac_sJy.cpp
${MODEL_DIR}/model_dirac_sJz.cpp
${MODEL_DIR}/model_dirac_sigma_y.cpp
${MODEL_DIR}/model_dirac_sigma_z.cpp
${MODEL_DIR}/model_dirac_sroot.cpp
${MODEL_DIR}/model_dirac_stau.cpp
${MODEL_DIR}/model_dirac_sx0.cpp
${MODEL_DIR}/model_dirac_sxdot.cpp
${MODEL_DIR}/model_dirac_sy.cpp
${MODEL_DIR}/model_dirac_sz.cpp
${MODEL_DIR}/model_dirac_sz_tf.cpp
${MODEL_DIR}/model_dirac_w.cpp
${MODEL_DIR}/model_dirac_x0.cpp
${MODEL_DIR}/model_dirac_xBdot.cpp
${MODEL_DIR}/model_dirac_xdot.cpp
${MODEL_DIR}/model_dirac_y.cpp
${MODEL_DIR}/model_dirac_z.cpp
)

include_directories("${AMICI_DIR}")
include_directories("${AMICI_DIR}/models/model_dirac")
include_directories("${AMICI_DIR}/sundials/include")
include_directories("${SUITESPARSE_DIR}/KLU/Include")
include_directories("${SUITESPARSE_DIR}/AMD/Include")
include_directories("${SUITESPARSE_DIR}/SuiteSparse_config")
include_directories("${SUITESPARSE_DIR}/COLAMD/Include")
include_directories("${SUITESPARSE_DIR}/BTF/Include")

find_package( HDF5 REQUIRED )
find_package( ZLIB REQUIRED )

message(STATUS ${HDF5_FOUND})

if(HDF5_FOUND)
    include_directories( ${HDF5_INCLUDE_DIR} )
    set(LIBS ${LIBS} ${HDF5_LIBRARIES})
    set(LIBS ${LIBS} ${HDF5_HL_LIBRARIES})
else(HDF5_FOUND)
    message(FATAL_ERROR "HDF5 not found.")
endif(HDF5_FOUND)

if(ZLIB_FOUND)
    include_directories( ${ZLIB_INCLUDE_DIR} )
    set(LIBS ${LIBS} ${ZLIB_LIBRARIES})
else(ZLIB_FOUND)
    message(FATAL_ERROR "ZLIB not found.")
endif(ZLIB_FOUND)

add_executable(${PROJECT_NAME} ${SRC_LIST})

target_link_libraries(${PROJECT_NAME} ${LIBS} "-lpthread -L${SUNDIALS_LIB_DIR} -lsundials_cvodes -lsundials_nvecserial -L${SUITESPARSE_LIB_DIR}  -lklu -lbtf -lamd -lcolamd -lsuitesparseconfig"
"-lm" 
)
{'fraction_non_alphanumeric': 0.14981818181818182, 'fraction_numerical': 0.0036363636363636364, 'mean_word_length': 9.324324324324325, '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': '6365733', 'n_tokens_mistral': 3126, 'n_tokens_neox': 3065, 'n_words': 268}