Skip to content

Commit 0cf5411

Browse files
committed
gpu_dfcc version bump. reverts previous commit. adds missing CMakeLists.txt to test directory
1 parent aeb030b commit 0cf5411

File tree

4 files changed

+6
-10
lines changed

4 files changed

+6
-10
lines changed

CMakeLists.txt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -111,15 +111,6 @@ if(ENABLE_erd)
111111
message(WARNING "ERD will build, link, and run in Psi4 just fine. However, it has not been hooked into Psi4 in all roles, notably gradients, LRC DFT energies, and ESP. So upon activating through ``set integral_package erd``, known failures will be caught and halted, but perhaps other types not tested and identified will give *wrong* answers. Consider this your warning.")
112112
endif()
113113

114-
if(ENABLE_gpu_dfcc)
115-
find_package(CUDA)
116-
if(CUDA_FOUND)
117-
else()
118-
message("Cuda not found. Disabling cuda")
119-
set(ENABLE_gpu_dfcc OFF)
120-
endif()
121-
endif()
122-
123114
############################ Options: Build How? #############################
124115
include(psi4OptionsTools)
125116
option_with_print(BUILD_SHARED_LIBS "Build internally built Psi4 add-on libraries as shared, not static" OFF)

external/downstream/gpu_dfcc/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ if(${ENABLE_gpu_dfcc})
1616
ExternalProject_Add(gpu_dfcc_external
1717
DEPENDS psi4-core
1818
GIT_REPOSITORY https://github.com/edeprince3/gpu_dfcc
19-
GIT_TAG 5f22ebd # v0.2
19+
GIT_TAG 708627e # v0.2 + 1
2020
UPDATE_COMMAND ""
2121
CMAKE_ARGS -DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}
2222
-DCMAKE_BUILD_TYPE=${CMAKE_BUILD_TYPE}

tests/gpu_dfcc/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,2 @@
11
add_subdirectory(gpu_dfcc1)
2+
add_subdirectory(gpu_dfcc2)
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
include(TestingMacros)
2+
3+
add_regression_test(gpu_dfcc-gpu_dfcc2 "psi;gpu_dfcc;addon")
4+

0 commit comments

Comments
 (0)