File tree Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Expand file tree Collapse file tree 3 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 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 }}
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)
Original file line number Diff line number Diff line change 1414
1515from . import queues , input
1616
17+ import hunter
18+
1719
1820def __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 )
136139def 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 ("--" ))
Original file line number Diff line number Diff 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 ]
You can’t perform that action at this time.
0 commit comments