@@ -98,86 +98,139 @@ jobs:
9898 ${{ matrix.intel-command }}
9999 /bin/bash mfc.sh test -j $(nproc) -a
100100
101- self-cpu :
102- name : (Self) Test Suite - CPU
103- strategy :
104- matrix :
105- include :
106- - os : [self-hosted, wingtip]
107- runs-on : ${{ matrix.os }}
108- if : github.repository == 'MFlowCode/MFC'
109- steps :
110- - name : Clone
111- uses : actions/checkout@v3
101+
102+ self-cpu-release :
103+ name : Test CPU release - nvhpc
104+ runs-on :
105+ group : phoenix
106+ labels : self-hosted
107+ if : github.repository == 'MFlowCode/MFC'
108+ steps :
109+ - name : Clone
110+ uses : actions/checkout@v3
111+
112+ - name : Build
113+ run : |
114+ . ./mfc.sh load -c p -m g
115+ ./mfc.sh build -j 8
116+
117+ - name : Test
118+ run : |
119+ . ./mfc.sh load -c p -m g
120+ mv misc/run-phoenix-release-cpu.sh ./
121+ sbatch run-phoenix-release-cpu.sh
122+
123+ - name : Print
124+ run : |
125+ cat test.out
126+
127+ self-gpu-release :
128+ name : Test GPU release - nvhpc
129+ runs-on :
130+ group : phoenix
131+ labels : self-hosted
132+ if : github.repository == 'MFlowCode/MFC'
133+ steps :
134+ - name : Clone
135+ uses : actions/checkout@v3
112136
113- - name : Setup
114- run : echo "test"
137+ - name : Build
138+ run : |
139+ . ./mfc.sh load -c p -m g
140+ ./mfc.sh build -j 8 --gpu
141+
142+ - name : Test
143+ run : |
144+ . ./mfc.sh load -c p -m g
145+ mv misc/run-phoenix-release-gpu.sh ./
146+ sbatch run-phoenix-release-gpu.sh
147+ cat test.out
148+
149+ - name : Print
150+ run : |
151+ cat test.out
152+
153+
154+ # self-cpu:
155+ # name: (Self) Test Suite - CPU
156+ # strategy:
157+ # matrix:
158+ # include:
159+ # - os: [self-hosted, wingtip]
160+ # runs-on: ${{ matrix.os }}
161+ # if: github.repository == 'MFlowCode/MFC'
162+ # steps:
163+ # - name: Clone
164+ # uses: actions/checkout@v3
165+
166+ # - name: Setup
167+ # run: echo "test"
115168
116- - name : Build
117- run : |
118- module use /opt/nvidia/hpc_sdk/modulefiles/
119- module load nvhpc
120- /bin/bash mfc.sh build -j 8
121-
122- - name : Test Suite
123- run : |
124- module use /opt/nvidia/hpc_sdk/modulefiles/
125- module load nvhpc
126- /bin/bash mfc.sh test -j 8 -a
169+ # - name: Build
170+ # run: |
171+ # module use /opt/nvidia/hpc_sdk/modulefiles/
172+ # module load nvhpc
173+ # /bin/bash mfc.sh build -j 8
174+
175+ # - name: Test Suite
176+ # run: |
177+ # module use /opt/nvidia/hpc_sdk/modulefiles/
178+ # module load nvhpc
179+ # /bin/bash mfc.sh test -j 8 -a
127180
128- self-cpu-debug :
129- name : (Self) Test Suite - CPU - debug
130- strategy :
131- matrix :
132- include :
133- - os : [self-hosted, wingtip]
134- runs-on : ${{ matrix.os }}
135- if : github.repository == 'MFlowCode/MFC'
136- steps :
137- - name : Clone
138- uses : actions/checkout@v3
181+ # self-cpu-debug:
182+ # name: (Self) Test Suite - CPU - debug
183+ # strategy:
184+ # matrix:
185+ # include:
186+ # - os: [self-hosted, wingtip]
187+ # runs-on: ${{ matrix.os }}
188+ # if: github.repository == 'MFlowCode/MFC'
189+ # steps:
190+ # - name: Clone
191+ # uses: actions/checkout@v3
139192
140- - name : Setup
141- run : echo "test"
193+ # - name: Setup
194+ # run: echo "test"
142195
143- - name : Build
144- run : |
145- module use /opt/nvidia/hpc_sdk/modulefiles/
146- module load nvhpc
147- /bin/bash mfc.sh build -j 8 --debug
148-
149- - name : Test Suite
150- run : |
151- module use /opt/nvidia/hpc_sdk/modulefiles/
152- module load nvhpc
153- /bin/bash mfc.sh test -j 8 --debug
154-
155- self-gpu :
156- name : (Self) Test Suite - GPU
157- strategy :
158- matrix :
159- include :
160- - os : [self-hosted, wingtip]
161- runs-on : ${{ matrix.os }}
162- if : github.repository == 'MFlowCode/MFC'
163- steps :
164- - name : Clone
165- uses : actions/checkout@v3
196+ # - name: Build
197+ # run: |
198+ # module use /opt/nvidia/hpc_sdk/modulefiles/
199+ # module load nvhpc
200+ # /bin/bash mfc.sh build -j 8 --debug
201+
202+ # - name: Test Suite
203+ # run: |
204+ # module use /opt/nvidia/hpc_sdk/modulefiles/
205+ # module load nvhpc
206+ # /bin/bash mfc.sh test -j 8 --debug
207+
208+ # self-gpu:
209+ # name: (Self) Test Suite - GPU
210+ # strategy:
211+ # matrix:
212+ # include:
213+ # - os: [self-hosted, wingtip]
214+ # runs-on: ${{ matrix.os }}
215+ # if: github.repository == 'MFlowCode/MFC'
216+ # steps:
217+ # - name: Clone
218+ # uses: actions/checkout@v3
166219
167- - name : Setup
168- run : echo "test"
220+ # - name: Setup
221+ # run: echo "test"
169222
170- - name : Build
171- run : |
172- module use /opt/nvidia/hpc_sdk/modulefiles/
173- module load nvhpc
174- /bin/bash mfc.sh build -j 8 --gpu
175-
176- - name : Test Suite
177- run : |
178- module use /opt/nvidia/hpc_sdk/modulefiles/
179- module load nvhpc
180- /bin/bash mfc.sh test -j 8 -b mpirun --gpu -a
223+ # - name: Build
224+ # run: |
225+ # module use /opt/nvidia/hpc_sdk/modulefiles/
226+ # module load nvhpc
227+ # /bin/bash mfc.sh build -j 8 --gpu
228+
229+ # - name: Test Suite
230+ # run: |
231+ # module use /opt/nvidia/hpc_sdk/modulefiles/
232+ # module load nvhpc
233+ # /bin/bash mfc.sh test -j 8 -b mpirun --gpu -a
181234
182235# self-gpu-debug:
183236# name: (Self) Test Suite - GPU - debug
0 commit comments