Skip to content

Commit be6f1ed

Browse files
committed
fix?
1 parent 468deae commit be6f1ed

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

.github/workflows/bench.yml

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
strategy:
2626
matrix:
2727
device: ['cpu', 'gpu']
28-
lbl: ['gt', 'ice']
28+
lbl: ['gt']
2929
runs-on:
3030
group: phoenix
3131
labels: ${{ matrix.lbl }}
@@ -53,13 +53,6 @@ jobs:
5353
(cd master && bash .github/workflows/phoenix/submit.sh .github/workflows/phoenix/bench.sh ${{ matrix.device }}) &
5454
wait %1 && wait %2
5555
56-
- name: Bench (Master v. PR)
57-
if: matrix.lbl == 'ice'
58-
run: |
59-
(cd pr && bash .github/workflows/ice/submit.sh .github/workflows/ice/bench.sh ${{ matrix.device }}) &
60-
(cd master && bash .github/workflows/ice/submit.sh .github/workflows/ice/bench.sh ${{ matrix.device }}) &
61-
wait %1 && wait %2
62-
6356
- name: Generate & Post Comment
6457
run: |
6558
(cd pr && . ./mfc.sh load -c p -m g)

toolchain/mfc/run/run.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414

1515
from . import queues, input
1616

17+
import hunter
18+
1719

1820
def __validate_job_options() -> None:
1921
if not ARG("mpi") and any({ARG("nodes") > 1, ARG("tasks_per_node") > 1}):
@@ -133,6 +135,7 @@ def __execute_job_script(qsystem: queues.QueueSystem):
133135
raise MFCException(f"Submitting batch file for {qsystem.name} failed. It can be found here: {__job_script_filepath()}. Please check the file for errors.")
134136

135137

138+
@hunter.wrap(local=True)
136139
def run(targets = None, case = None):
137140
targets = get_targets(list(REQUIRED_TARGETS) + (targets or ARG("targets")))
138141
case = case or input.load(ARG("input"), ARG("--"))

toolchain/pyproject.toml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,10 @@ dependencies = [
3737

3838
# Chemistry
3939
"cantera",
40-
"pyrometheus==1.0.2"
40+
"pyrometheus==1.0.2",
41+
42+
# Logging
43+
"hunter"
4144
]
4245

4346
[tool.hatch.metadata]

0 commit comments

Comments
 (0)