Skip to content

Commit

Permalink
first step to cleaner CMakeList.txt. consider TChem install path vari…
Browse files Browse the repository at this point in the history
…ables
  • Loading branch information
jcurtis2 committed May 17, 2024
1 parent 359e9cd commit 99e5383
Showing 1 changed file with 12 additions and 8 deletions.
20 changes: 12 additions & 8 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -117,19 +117,23 @@ if(ENABLE_TCHEM)
PATHS $ENV{TCHEM_HOME}/lib64)
add_definitions(-DPMC_USE_TCHEM)
include_directories(${TCHEM_INCLUDE_DIR})
include_directories(/data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/kokkos/include)
include_directories(/data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/HOST/RELEASE/install/tines/include/tines)
include_directories(/data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/openblas/include)
include_directories(/data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/sundials/include)
include_directories(/data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/yaml/include)
set(YAML_PATH "/data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/yaml")
set(KOKKOS_PATH "/data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/kokkos")
set(TINES_PATH " /data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/HOST/RELEASE/install/tines")
set(LAPACK_PATH "/data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/openblas")
find_library(YAML_LIB yaml-cpp
PATHS /data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/yaml/lib)
PATHS ${YAML_PATH}/lib)
include_directories(${YAML_PATH}/include)
find_library(KOKKOS_LIB kokkos
PATHS /data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/kokkos/lib64)
PATHS ${KOKKOS_PATH}/lib64)
include_directories(${KOKKOS_PATH}/include)
find_library(TINES_LIB tines
PATHS /data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/HOST/RELEASE/install/tines/lib64)
PATHS ${TINES_PATH}/lib64)
include_directories(${TINES_PATH}/include/tines)
find_library(LAPACK_LIB openblas
PATHS /data/keeling/a/jcurtis2/d/tchem_oscar/build_tchem/TPLs/install/openblas/lib)
PATHS ${LAPACK_PATH}/lib)
include_directories(${LAPACK_PATH}/include)
endif()

######################################################################
Expand Down

0 comments on commit 99e5383

Please sign in to comment.