Skip to content

Commit a201637

Browse files
author
Malmahrouqi3
committed
lint and quick fix
1 parent de73a43 commit a201637

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

toolchain/mfc/run/run.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@
1313
from ..common import format_list_to_string, file_dump_yaml
1414

1515
from . import queues, input
16-
16+
17+
1718
def __validate_job_options() -> None:
1819
if not ARG("mpi") and any({ARG("nodes") > 1, ARG("tasks_per_node") > 1}):
1920
raise MFCException("RUN: Cannot run on more than one rank with --no-mpi.")

toolchain/mfc/test/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ 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:
122+
if ARG("rdma_mpi") and ARG("dry_run"):
123123
ARGS()["test_all"] = False
124124

125125
codes = [PRE_PROCESS, SIMULATION] + ([POST_PROCESS] if ARG('test_all') else [])

0 commit comments

Comments
 (0)