Skip to content

Commit 9049a90

Browse files
authored
Merge pull request #4702 from QMCPACK/rc_3170
Rc 3170
2 parents 5b7544c + cde07c6 commit 9049a90

File tree

1,013 files changed

+49853
-66589
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

1,013 files changed

+49853
-66589
lines changed

.github/workflows/ci-github-actions-self-hosted.yaml

+40-142
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
jobname: [
23-
GCC9-NoMPI-MKL-Real-Mixed, # mixed precision
24-
GCC9-NoMPI-MKL-Complex-Mixed,
25-
GCC9-NoMPI-MKL-Real, # full precision
26-
GCC9-NoMPI-MKL-Complex,
23+
GCC11-NoMPI-MKL-Real-Mixed, # mixed precision
24+
GCC11-NoMPI-MKL-Complex-Mixed,
25+
GCC11-NoMPI-MKL-Real, # full precision
26+
GCC11-NoMPI-MKL-Complex,
2727
]
2828

2929
steps:
@@ -36,7 +36,7 @@ jobs:
3636
if: contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
3737
id: check
3838
run: |
39-
echo "::set-output name=triggered::true"
39+
echo "triggered=true" >> $GITHUB_OUTPUT
4040
4141
# Request repo info, required since issue_comment doesn't point at PR commit, but develop
4242
- name: GitHub API Request
@@ -64,10 +64,10 @@ jobs:
6464
if: steps.check.outputs.triggered == 'true'
6565
id: pr_data
6666
run: |
67-
echo "::set-output name=branch::${{ fromJson(steps.request.outputs.data).head.ref }}"
68-
echo "::set-output name=repo_name::${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
69-
echo "::set-output name=repo_clone_url::${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
70-
echo "::set-output name=repo_ssh_url::${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
67+
echo "branch=${{ fromJson(steps.request.outputs.data).head.ref }}" >> $GITHUB_OUTPUT
68+
echo "repo_name=${{ fromJson(steps.request.outputs.data).head.repo.full_name }}" >> $GITHUB_OUTPUT
69+
echo "repo_clone_url=${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}" >> $GITHUB_OUTPUT
70+
echo "repo_ssh_url=${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}" >> $GITHUB_OUTPUT
7171
7272
- name: Checkout PR branch
7373
if: steps.check.outputs.triggered == 'true'
@@ -79,15 +79,15 @@ jobs:
7979

8080
- name: Configure
8181
if: steps.check.outputs.triggered == 'true'
82-
run: tests/test_automation/github-actions/ci/run_step.sh configure
82+
run: tests/test_automation/github-actions/ci/run_step_ornl-sulfur-1.sh configure
8383

8484
- name: Build
8585
if: steps.check.outputs.triggered == 'true'
86-
run: tests/test_automation/github-actions/ci/run_step.sh build
86+
run: tests/test_automation/github-actions/ci/run_step_ornl-sulfur-1.sh build
8787

8888
- name: Test
8989
if: steps.check.outputs.triggered == 'true'
90-
run: tests/test_automation/github-actions/ci/run_step.sh test
90+
run: tests/test_automation/github-actions/ci/run_step_ornl-sulfur-1.sh test
9191

9292
- name: Report PR status
9393
if: always() && steps.check.outputs.triggered == 'true'
@@ -115,17 +115,14 @@ jobs:
115115
fail-fast: false
116116
matrix:
117117
jobname: [
118-
GCC9-NoMPI-Legacy-CUDA-Real-Mixed, # mixed precision
119-
GCC9-NoMPI-Legacy-CUDA-Complex-Mixed,
120-
GCC9-NoMPI-Legacy-CUDA-Real, # full precision
121-
GCC9-NoMPI-Legacy-CUDA-Complex,
122-
Clang15-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload
123-
Clang15-MPI-CUDA-AFQMC-Offload-Real,
124-
Clang15-MPI-CUDA-AFQMC-Offload-Complex-Mixed,
125-
Clang15-MPI-CUDA-AFQMC-Offload-Complex,
126-
Intel21-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
127-
Intel21-MPI-CUDA-AFQMC-Complex-Mixed,
128-
Intel21-MPI-CUDA-AFQMC-Real,
118+
V100-Clang16-MPI-CUDA-AFQMC-Offload-Real-Mixed, # auxiliary field, offload
119+
V100-Clang16-MPI-CUDA-AFQMC-Offload-Real,
120+
V100-Clang16-MPI-CUDA-AFQMC-Offload-Complex-Mixed,
121+
V100-Clang16-MPI-CUDA-AFQMC-Offload-Complex,
122+
V100-GCC11-MPI-CUDA-Real-Mixed,
123+
V100-GCC11-MPI-CUDA-Real,
124+
V100-GCC11-MPI-CUDA-Complex-Mixed,
125+
V100-GCC11-MPI-CUDA-Complex,
129126
]
130127

131128
steps:
@@ -138,7 +135,7 @@ jobs:
138135
if: contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
139136
id: check
140137
run: |
141-
echo "::set-output name=triggered::true"
138+
echo "triggered=true" >> $GITHUB_OUTPUT
142139
143140
# Request repo info, required since issue_comment doesn't point at PR commit, but develop
144141
- name: GitHub API Request
@@ -166,10 +163,10 @@ jobs:
166163
if: steps.check.outputs.triggered == 'true'
167164
id: pr_data
168165
run: |
169-
echo "::set-output name=branch::${{ fromJson(steps.request.outputs.data).head.ref }}"
170-
echo "::set-output name=repo_name::${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
171-
echo "::set-output name=repo_clone_url::${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
172-
echo "::set-output name=repo_ssh_url::${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
166+
echo "branch=${{ fromJson(steps.request.outputs.data).head.ref }}" >> $GITHUB_OUTPUT
167+
echo "repo_name=${{ fromJson(steps.request.outputs.data).head.repo.full_name }}" >> $GITHUB_OUTPUT
168+
echo "repo_clone_url=${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}" >> $GITHUB_OUTPUT
169+
echo "repo_ssh_url=${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}" >> $GITHUB_OUTPUT
173170
174171
- name: Checkout PR branch
175172
if: steps.check.outputs.triggered == 'true'
@@ -181,15 +178,15 @@ jobs:
181178

182179
- name: Configure
183180
if: steps.check.outputs.triggered == 'true'
184-
run: tests/test_automation/github-actions/ci/run_step.sh configure
181+
run: tests/test_automation/github-actions/ci/run_step_ornl-sulfur-2.sh configure
185182

186183
- name: Build
187184
if: steps.check.outputs.triggered == 'true'
188-
run: tests/test_automation/github-actions/ci/run_step.sh build
185+
run: tests/test_automation/github-actions/ci/run_step_ornl-sulfur-2.sh build
189186

190187
- name: Test
191188
if: steps.check.outputs.triggered == 'true'
192-
run: tests/test_automation/github-actions/ci/run_step.sh test
189+
run: tests/test_automation/github-actions/ci/run_step_ornl-sulfur-2.sh test
193190

194191
- name: Report PR status
195192
if: always() && steps.check.outputs.triggered == 'true'
@@ -218,14 +215,10 @@ jobs:
218215
matrix:
219216
jobname:
220217
[
221-
ROCm-Clang13-NoMPI-CUDA2HIP-Real-Mixed,
222-
ROCm-Clang13-NoMPI-CUDA2HIP-Real,
223-
ROCm-Clang13-NoMPI-CUDA2HIP-Complex-Mixed,
224-
ROCm-Clang13-NoMPI-CUDA2HIP-Complex,
225-
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Real-Mixed,
226-
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Real,
227-
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Complex-Mixed,
228-
ROCm-Clang13-MPI-Legacy-CUDA2HIP-Complex,
218+
RadeonVII-ROCm-NoMPI-CUDA2HIP-Real-Mixed,
219+
RadeonVII-ROCm-NoMPI-CUDA2HIP-Real,
220+
RadeonVII-ROCm-NoMPI-CUDA2HIP-Complex-Mixed,
221+
RadeonVII-ROCm-NoMPI-CUDA2HIP-Complex,
229222
]
230223

231224
steps:
@@ -238,7 +231,7 @@ jobs:
238231
if: contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
239232
id: check
240233
run: |
241-
echo "::set-output name=triggered::true"
234+
echo "triggered=true" >> $GITHUB_OUTPUT
242235
243236
# Request repo info, required since issue_comment doesn't point at PR commit, but develop
244237
- name: GitHub API Request
@@ -266,10 +259,10 @@ jobs:
266259
if: steps.check.outputs.triggered == 'true'
267260
id: pr_data
268261
run: |
269-
echo "::set-output name=branch::${{ fromJson(steps.request.outputs.data).head.ref }}"
270-
echo "::set-output name=repo_name::${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
271-
echo "::set-output name=repo_clone_url::${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
272-
echo "::set-output name=repo_ssh_url::${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
262+
echo "branch=${{ fromJson(steps.request.outputs.data).head.ref }}" >> $GITHUB_OUTPUT
263+
echo "repo_name=${{ fromJson(steps.request.outputs.data).head.repo.full_name }}" >> $GITHUB_OUTPUT
264+
echo "repo_clone_url=${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}" >> $GITHUB_OUTPUT
265+
echo "repo_ssh_url=${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}" >> $GITHUB_OUTPUT
273266
274267
- name: Checkout PR branch
275268
if: steps.check.outputs.triggered == 'true'
@@ -281,110 +274,15 @@ jobs:
281274

282275
- name: Configure
283276
if: steps.check.outputs.triggered == 'true'
284-
run: tests/test_automation/github-actions/ci/run_step.sh configure
277+
run: tests/test_automation/github-actions/ci/run_step_ornl-nitrogen-1.sh configure
285278

286279
- name: Build
287280
if: steps.check.outputs.triggered == 'true'
288-
run: tests/test_automation/github-actions/ci/run_step.sh build
281+
run: tests/test_automation/github-actions/ci/run_step_ornl-nitrogen-1.sh build
289282

290283
- name: Test
291284
if: steps.check.outputs.triggered == 'true'
292-
run: tests/test_automation/github-actions/ci/run_step.sh test
293-
294-
- name: Report PR status
295-
if: always() && steps.check.outputs.triggered == 'true'
296-
uses: Sibz/[email protected]
297-
with:
298-
authToken: ${{secrets.GITHUB_TOKEN}}
299-
context: "ornl-nitrogen CI ${{matrix.jobname}}"
300-
state: ${{job.status}}
301-
sha: ${{fromJson(steps.request.outputs.data).head.sha}}
302-
target_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
303-
304-
nitrogen-cuda:
305-
if: |
306-
github.repository_owner == 'QMCPACK' &&
307-
github.event.issue.pull_request &&
308-
( startsWith(github.event.comment.body, 'Test this please') ||
309-
startsWith(github.event.comment.body, 'Start testing in-house') )
310-
311-
runs-on: [self-hosted, Linux, X64, ornl-nitrogen-2]
312-
313-
env:
314-
GH_JOBNAME: ${{matrix.jobname}}
315-
GH_OS: Linux
316-
strategy:
317-
fail-fast: false
318-
matrix:
319-
jobname: [
320-
GCC9-MPI-CUDA-AFQMC-Real-Mixed, # auxiliary field, requires MPI
321-
GCC9-MPI-CUDA-AFQMC-Complex-Mixed,
322-
GCC9-MPI-CUDA-AFQMC-Real,
323-
GCC9-MPI-CUDA-AFQMC-Complex,
324-
]
325-
326-
steps:
327-
- name: Verify actor
328-
# Only trigger for certain "actors" (those commenting the PR, not the PR originator)
329-
# this is in-line with the current workflow
330-
env:
331-
ACTOR_TOKEN: ${{secrets.TOKENIZER}}${{github.actor}}${{secrets.TOKENIZER}}
332-
SECRET_ACTORS: ${{secrets.CI_GPU_ACTORS}}
333-
if: contains(env.SECRET_ACTORS, env.ACTOR_TOKEN)
334-
id: check
335-
run: |
336-
echo "::set-output name=triggered::true"
337-
338-
# Request repo info, required since issue_comment doesn't point at PR commit, but develop
339-
- name: GitHub API Request
340-
if: steps.check.outputs.triggered == 'true'
341-
id: request
342-
uses: octokit/[email protected]
343-
with:
344-
route: ${{github.event.issue.pull_request.url}}
345-
env:
346-
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
347-
348-
# Create a separate PR status pointing at GitHub Actions tab URL
349-
# just like any other third-party service
350-
- name: Create PR status
351-
if: steps.check.outputs.triggered == 'true'
352-
uses: Sibz/[email protected]
353-
with:
354-
authToken: ${{secrets.GITHUB_TOKEN}}
355-
context: "ornl-nitrogen CI ${{matrix.jobname}}"
356-
state: "pending"
357-
sha: ${{fromJson(steps.request.outputs.data).head.sha}}
358-
target_url: https://github.com/${{github.repository}}/actions/runs/${{github.run_id}}
359-
360-
- name: Get PR information
361-
if: steps.check.outputs.triggered == 'true'
362-
id: pr_data
363-
run: |
364-
echo "::set-output name=branch::${{ fromJson(steps.request.outputs.data).head.ref }}"
365-
echo "::set-output name=repo_name::${{ fromJson(steps.request.outputs.data).head.repo.full_name }}"
366-
echo "::set-output name=repo_clone_url::${{ fromJson(steps.request.outputs.data).head.repo.clone_url }}"
367-
echo "::set-output name=repo_ssh_url::${{ fromJson(steps.request.outputs.data).head.repo.ssh_url }}"
368-
369-
- name: Checkout PR branch
370-
if: steps.check.outputs.triggered == 'true'
371-
uses: actions/checkout@v3
372-
with:
373-
token: ${{secrets.GITHUB_TOKEN}}
374-
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
375-
ref: ${{steps.pr_data.outputs.branch}}
376-
377-
- name: Configure
378-
if: steps.check.outputs.triggered == 'true'
379-
run: tests/test_automation/github-actions/ci/run_step.sh configure
380-
381-
- name: Build
382-
if: steps.check.outputs.triggered == 'true'
383-
run: tests/test_automation/github-actions/ci/run_step.sh build
384-
385-
- name: Test
386-
if: steps.check.outputs.triggered == 'true'
387-
run: tests/test_automation/github-actions/ci/run_step.sh test
285+
run: tests/test_automation/github-actions/ci/run_step_ornl-nitrogen-1.sh test
388286

389287
- name: Report PR status
390288
if: always() && steps.check.outputs.triggered == 'true'

.github/workflows/ci-github-actions-static.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ jobs:
2020
include:
2121
- jobname: ClangTidy14-NoMPI-Real
2222
container:
23-
image: williamfgc/qmcpack-ci:ubuntu22-openmpi
23+
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest
2424
options: -u 1001
2525

2626
- jobname: ClangTidy14-NoMPI-Complex
2727
container:
28-
image: williamfgc/qmcpack-ci:ubuntu22-openmpi
28+
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest
2929
options: -u 1001
3030

3131
steps:

0 commit comments

Comments
 (0)