File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -27,21 +27,28 @@ jobs:
2727 ec2-instance-type : g4dn.xlarge
2828 subnet-id : subnet-72d3e53e
2929 security-group-id : sg-06b0c93122c08aeab
30+
3031 test :
3132 name : Do the job on the runner
3233 needs : start-runner # required to start the main job when the runner is ready
3334 runs-on : ${{ needs.start-runner.outputs.label }} # run the job on the newly created runner
34- container : ghcr.io/deepmodeling/abacus-development-kit:cuda
35+ container :
36+ image : ghcr.io/deepmodeling/abacus-development-kit:cuda
37+ options : --gpus all
3538 steps :
3639 - name : Checkout
3740 uses : actions/checkout@v3
38- - name : Build and Test
39- env :
40- GTEST_COLOR : ' yes'
41+ - name : Build cuSolver
4142 run : |
42- cmake -B build -DBUILD_TESTING=ON -DUSE_CUDA =ON
43+ cmake -B build -DUSE_CUSOLVER_LCAO =ON
4344 cmake --build build -j4
4445 cmake --install build
46+ - name : Test
47+ run : |
48+ export LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/usr/local/cuda/lib64
49+ cd tests/integrate
50+ echo "ks_solver cusolver" >> ./270_NO_MD_2O/INPUT
51+ ./Autotest.sh -r 270_NO_MD_2O
4552
4653 stop-runner :
4754 name : Stop self-hosted EC2 runner
You can’t perform that action at this time.
0 commit comments