Skip to content

Commit

Permalink
Remove SUCCESS_STATUS_CUDA on testsets.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hyeondeok-Shin committed Feb 7, 2023
1 parent 86d3d60 commit c348d17
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 19 deletions.
2 changes: 0 additions & 2 deletions tests/CMakeLists.txt
Expand Up @@ -40,8 +40,6 @@ else()
set(SUCCESS_STATUS_OFFLOAD TRUE)
endif()

set(SUCCESS_STATUS_CUDA TRUE)

if(BUILD_AFQMC)
include("${qmcpack_SOURCE_DIR}/CMake/python.cmake")
check_python_reqs("numpy;h5py;mpi4py;scipy;pyscf" afqmc_workflow add_tests)
Expand Down
6 changes: 3 additions & 3 deletions tests/solids/LiH_solid_1x1x1_pp/CMakeLists.txt
Expand Up @@ -68,7 +68,7 @@ qmc_run_and_check(
hf_vmc_LiH-x_hybridrep.xml
1
16
${SUCCESS_STATUS_CUDA}
TRUE
0
LIH_X_SCALARS # VMC
)
Expand Down Expand Up @@ -119,7 +119,7 @@ if(QMC_COMPLEX)
md_cc_vmc_LiH-gamma.xml
1
16
${SUCCESS_STATUS_CUDA}
TRUE
1
LIH_MD_GAMMA_SCALARS # VMC
)
Expand All @@ -132,7 +132,7 @@ else()
md_rc_vmc_LiH-gamma.xml
1
16
${SUCCESS_STATUS_CUDA}
TRUE
1
LIH_MD_GAMMA_SCALARS # VMC
)
Expand Down
4 changes: 2 additions & 2 deletions tests/solids/NiO_a4_e48_pp/CMakeLists.txt
Expand Up @@ -174,7 +174,7 @@ else()
NiO-hybridrep-j3-vmc-short.in.xml
1
16
${SUCCESS_STATUS_CUDA}
TRUE
1
NIO_A4_E48_J3_SCALARS # VMC
)
Expand All @@ -188,7 +188,7 @@ else()
NiO-hybridrep-j3-batched-vmc-short.in.xml
1
16
${SUCCESS_STATUS_CUDA}
TRUE
1
NIO_A4_E48_J3_SCALARS # VMC
)
Expand Down
12 changes: 3 additions & 9 deletions tests/solids/diamondC_1x1x1_pp/CMakeLists.txt
Expand Up @@ -29,7 +29,7 @@ qmc_run_and_check(
qmc_short_hybridrep.in.xml
1
16
${SUCCESS_STATUS_CUDA}
TRUE
0
DIAMOND_SCALARS # VMC
)
Expand Down Expand Up @@ -83,20 +83,14 @@ list(APPEND DIAMOND_OPT_SCALARS "localecp" "-7.1979 0.023")
list(APPEND DIAMOND_OPT_SCALARS "nonlocalecp" "0.61540 0.0068")
list(APPEND DIAMOND_OPT_SCALARS "samples" "128000 0.0")

if(SUCCESS_STATUS_MP AND SUCCESS_STATUS_CUDA)
set(SUCCESS_STATUS_MP_CUDA TRUE)
else()
set(SUCCESS_STATUS_MP_CUDA FALSE)
endif()

qmc_run_and_check(
short-diamondC_1x1x1_pp-opt_sdj
"${qmcpack_SOURCE_DIR}/tests/solids/diamondC_1x1x1_pp"
qmc_short
qmc_short_opt.in.xml
1
16
${SUCCESS_STATUS_MP_CUDA}
${SUCCESS_STATUS_MP}
3
DIAMOND_OPT_SCALARS # VMC
)
Expand All @@ -108,7 +102,7 @@ qmc_run_and_check(
qmc_short_optbatch.in.xml
1
3
${SUCCESS_STATUS_MP_CUDA}
${SUCCESS_STATUS_MP}
3
DIAMOND_OPT_SCALARS # VMC
)
Expand Down
2 changes: 1 addition & 1 deletion tests/solids/diamondC_2x1x1_pp/CMakeLists.txt
Expand Up @@ -90,7 +90,7 @@ qmc_run_and_check(
qmc_short_hybridrep.in.xml
1
4
${SUCCESS_STATUS_CUDA}
TRUE
0
DIAMOND2_SCALARS # VMC
)
Expand Down
4 changes: 2 additions & 2 deletions tests/solids/monoO_1x1x1_pp/CMakeLists.txt
Expand Up @@ -23,7 +23,7 @@ qmc_run_and_check(
qmc_j3_short.in.xml
1
16
${SUCCESS_STATUS_CUDA}
TRUE
0
MONO_O_J3_SCALARS # VMC
)
Expand Down Expand Up @@ -59,7 +59,7 @@ qmc_run_and_check(
qmc_j3_long.in.xml
1
16
${SUCCESS_STATUS_CUDA}
TRUE
0
LONG_MONO_O_J3_SCALARS # VMC
)

0 comments on commit c348d17

Please sign in to comment.