Skip to content

Commit ed07060

Browse files
author
Malmahrouqi3
committed
dissociate forcefully rdma_mpi & test_all
1 parent 76b1060 commit ed07060

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

.github/workflows/frontier/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,5 @@ ngpus=`echo "$gpus" | tr -d '[:space:]' | wc -c`
66
if [ "$job_device" == "gpu" ]; then
77
./mfc.sh test -a --rdma-mpi --max-attempts 3 -j $ngpus -- -c frontier
88
else
9-
./mfc.sh test -a --rdma-mpi --max-attempts 3 -j 32 -- -c frontier
9+
./mfc.sh test -a --max-attempts 3 -j 32 -- -c frontier
1010
fi

toolchain/mfc/test/test.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
from ..printer import cons
77
from .. import common
8-
from ..state import ARG
8+
from ..state import ARG, ARGS
99
from .case import TestCase
1010
from .cases import list_cases
1111
from .. import sched
@@ -88,7 +88,7 @@ def test():
8888
global errors
8989

9090
cases = list_cases()
91-
91+
9292
# Delete UUIDs that are not in the list of cases from tests/
9393
if ARG("remove_old_tests"):
9494
dir_uuids = set(os.listdir(common.MFC_TEST_DIR))
@@ -119,6 +119,9 @@ def test():
119119
# Some cases require a specific build of MFC for features like Chemistry,
120120
# Analytically defined patches, and --case-optimization. Here, we build all
121121
# the unique versions of MFC we need to run cases.
122+
if ARG("rdma_mpi") == True:
123+
ARGS()["test_all"] = False
124+
122125
codes = [PRE_PROCESS, SIMULATION] + ([POST_PROCESS] if ARG('test_all') else [])
123126
unique_builds = set()
124127
for case, code in itertools.product(cases, codes):

0 commit comments

Comments
 (0)