Skip to content

Commit 1a80729

Browse files
committed
test(cusolver): add the running of hsolver_diago in CUDA TEST
1 parent 4339aed commit 1a80729

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/cuda.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,20 @@ jobs:
4242
run: |
4343
nvidia-smi
4444
cmake -B build -DUSE_CUSOLVER_LCAO=ON
45-
cmake --build build -j4
45+
cmake --build build -j4
4646
cmake --install build
47+
cmake -B build -DBUILD_TESTING=ON
48+
cmake --build build -j4 --target hsolver_diago
4749
- name: Test
4850
run: |
4951
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/lib64
5052
cd tests/integrate
5153
echo "ks_solver cusolver" >> ./270_NO_MD_2O/INPUT
5254
./Autotest.sh -r 270_NO_MD_2O
55+
cd ../../source/src_pdiag/test/
56+
cp ../../../build/source/src_pdiag/test/hsolver_diago .
57+
./hsolver_diago
58+
bash diago_parallel_test.sh
5359
5460
stop-runner:
5561
name: Stop self-hosted EC2 runner

0 commit comments

Comments
 (0)