File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff line change @@ -37,8 +37,8 @@ check_out() {
3737 cal=$( grep " $key " $outfile | awk ' {printf "%.' $ca ' f\n",$2}' )
3838 ref=$( grep " $key " result.ref | awk ' {printf "%.' $ca ' f\n",$2}' )
3939 deviation=$( awk ' BEGIN {x=' $ref ' ;y=' $cal ' ;if (x<y) {a=y-x} else {a=x-y};printf "%.' $ca ' f\n",a}' )
40- deviation1=$( awk ' BEGIN{print ' $deviation ' *(10** ' $ca ' )}' )
41-
40+ deviation1=$( awk ' BEGIN{print ' $deviation ' *(10^ ' $ca ' )}' )
41+
4242 if [ $key == " totaltimeref" ]; then
4343 break
4444 fi
You can’t perform that action at this time.
0 commit comments