<commit_before>option(ENABLE_ZOLTAN "Enable Zoltan itergace [ON|OFF]" OFF)
message(STATUS "ENABLE_ZOLTAN: " ${ENABLE_ZOLTAN})

set(CMAKE_MODULE_PATH
  ${CMAKE_MODULE_PATH}
  "${CMAKE_CURRENT_SOURCE_DIR/../cmake/}")

if (ENABLE_ZOLTAN)
  find_package(Zoltan MODULE REQUIRED)
endif()
if (ENABLE_KOKKOS)
  find_package(Kokkos MODULE REQUIRED)
endif()
include_directories(
  ../agi
  ../zoltan
  ../partition
  ../interfaces
  ${ZOLTAN_INCLUDE_DIRS}
  ${PARMETIS_INCLUDE_DIRS}
  ${KOKKOS_INCLUDE_DIRS}
  )

set(ALL_LIBS
  agi
  interfaces
  agi_zoltan
  engpar
  SCOREC::core
  ${ZOLTAN_LIBRARIES}
  ${PARMETIS_LIBRARIES}
  ${KOKKOS_LIBRARIES}
  )

function(make_exe exename srcname)
  add_executable(${exename} ${srcname})
  target_link_libraries(${exename} ${ALL_LIBS})
endfunction(make_exe)

make_exe(buildMeshGraph buildMeshGraph.cpp)
make_exe(buildBinaryGraph buildBinaryGraph.cpp)
make_exe(testAdjacentTraversal testAdjacentTraversal.cpp)
make_exe(vtxBalance vtxBalance.cpp)

if (FOUND_ZOLTAN)
  make_exe(cutVertex cutVertex.cpp)
  make_exe(pagerank pagerank.cpp)
endif()

if (FOUND_KOKKOS)
  make_exe(kokkosHelloWorld kokkosHelloWorld.cpp)
endif()

#Ctest file
if(IS_TESTING)
  include(testing.cmake)
endif()<commit_msg>Changed variables in CMakeLists to be correct<commit_after>option(ENABLE_ZOLTAN "Enable Zoltan itergace [ON|OFF]" OFF)
message(STATUS "ENABLE_ZOLTAN: " ${ENABLE_ZOLTAN})

set(CMAKE_MODULE_PATH
  ${CMAKE_MODULE_PATH}
  "${CMAKE_CURRENT_SOURCE_DIR/../cmake/}")

if (ENABLE_ZOLTAN)
  find_package(Zoltan MODULE REQUIRED)
endif()
if (ENABLE_KOKKOS)
  find_package(Kokkos MODULE REQUIRED)
endif()
include_directories(
  ../agi
  ../zoltan
  ../interfaces
  ${ZOLTAN_INCLUDE_DIRS}
  ${PARMETIS_INCLUDE_DIRS}
  ${KOKKOS_INCLUDE_DIRS}
  )

set(ALL_LIBS
  agi
  interfaces
  agi_zoltan
  SCOREC::core
  ${ZOLTAN_LIBRARIES}
  ${PARMETIS_LIBRARIES}
  ${KOKKOS_LIBRARIES}
  )

function(make_exe exename srcname)
  add_executable(${exename} ${srcname})
  target_link_libraries(${exename} ${ALL_LIBS})
endfunction(make_exe)

make_exe(buildMeshGraph buildMeshGraph.cpp)
make_exe(buildBinaryGraph buildBinaryGraph.cpp)

if (ZOLTAN_FOUND)
  make_exe(cutVertex cutVertex.cpp)
  make_exe(pagerank pagerank.cpp)
endif()


if (KOKKOS_FOUND)
  make_exe(kokkosHelloWorld kokkosHelloWorld.cpp)
endif()

#Ctest file
if(IS_TESTING)
  include(testing.cmake)
endif()
{'fraction_non_alphanumeric': 0.11308767471410419, 'fraction_numerical': 0.0, 'mean_word_length': 6.4043887147335425, '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': '3351374', 'n_tokens_mistral': 1033, 'n_tokens_neox': 982, 'n_words': 147}