File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9999
100100 run_suite() {
101101 local suite="$1"
102- (cd "$CI_SRC/tests/$suite" && bash ../integrate/Autotest.sh \
103- -a "$ABACUS" -n 4 -o 1 -f CASES_GPU.txt)
102+ local ranks=4
103+ if [[ "$suite" == 11_PW_GPU ]]; then
104+ # bpcg/use_k_continuity and out_wfc cases are intentionally
105+ # single-rank because their k-point layouts are not MPI-safe.
106+ ranks=1
107+ fi
108+ if [[ "$ranks" == 1 ]]; then
109+ (unset OMPI_MCA_rmaps_base_mapping_policy; cd "$CI_SRC/tests/$suite" && \
110+ bash ../integrate/Autotest.sh -a "$ABACUS" -n 1 -o 1 -f CASES_GPU.txt)
111+ else
112+ (cd "$CI_SRC/tests/$suite" && bash ../integrate/Autotest.sh \
113+ -a "$ABACUS" -n "$ranks" -o 1 -f CASES_GPU.txt)
114+ fi
104115 }
105116
106117 for suite in 11_PW_GPU 12_NAO_Gamma_GPU 13_NAO_multik_GPU 15_rtTDDFT_GPU 16_SDFT_GPU; do
You can’t perform that action at this time.
0 commit comments