Skip to content

Commit 0199944

Browse files
authored
Merge pull request #5298 from QMCPACK/rc_400
v4.0.0 release
2 parents 9d0d968 + a12b4aa commit 0199944

File tree

2,049 files changed

+106138
-55602
lines changed

Some content is hidden

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

2,049 files changed

+106138
-55602
lines changed

.github/pull_request_template.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ _Delete the items that do not apply_
1515
- Refactoring (no functional changes, no api changes)
1616
- Build related changes
1717
- Testing changes (e.g. new unit/integration/performance tests)
18-
- Documentation changes
18+
- Documentation or build script changes
1919
- Other (please describe):
2020

2121
### Does this introduce a breaking change?

.github/workflows/ci-github-action-auto-rebase.yaml

+29-29
Original file line numberDiff line numberDiff line change
@@ -6,47 +6,47 @@ on:
66
- develop
77
- main
88
push:
9-
branches:
9+
branches:
1010
- develop
1111
- main
12-
12+
1313
jobs:
1414
rebase:
1515
if: |
1616
contains(github.event.pull_request.body, '!-> Feel free to automatically rebase this PR. <-!')
1717
&& github.event.pull_request.auto_merge
18-
18+
1919
runs-on: ubuntu-latest
2020
steps:
21-
- name: Echo Github Context To Debug
22-
run: echo "$GITHUB_CONTEXT"
23-
env:
24-
GITHUB_CONTEXT: ${{ toJSON(github) }}
25-
- name: Checkout Action
26-
uses: actions/checkout@v2
27-
with:
28-
token: ${{ secrets.GITHUB_TOKEN }}
29-
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
30-
- name: Automatic Rebase
31-
run: tests/test_automation/github-actions/ci/run_step.sh rebase
32-
env:
33-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34-
QMCPACK_BOT_GPG_KEY: ${{ secrets.QMCPACK_BOT_GPG_KEY }}
35-
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
21+
- name: Echo Github Context To Debug
22+
run: echo "$GITHUB_CONTEXT"
23+
env:
24+
GITHUB_CONTEXT: ${{ toJSON(github) }}
25+
- name: Checkout Action
26+
uses: actions/checkout@v4
27+
with:
28+
token: ${{ secrets.GITHUB_TOKEN }}
29+
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
30+
- name: Automatic Rebase
31+
run: tests/test_automation/github-actions/ci/run_step.sh rebase
32+
env:
33+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
34+
QMCPACK_BOT_GPG_KEY: ${{ secrets.QMCPACK_BOT_GPG_KEY }}
35+
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
3636

3737
trigger-rebase:
3838
if: github.event_name == 'push'
3939

4040
runs-on: ubuntu-latest
4141
steps:
42-
- name: Checkout Action
43-
uses: actions/checkout@v2
44-
with:
45-
token: ${{ secrets.GITHUB_TOKEN }}
46-
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
47-
- name: Push Update To Opt'd in PR's
48-
run: tests/test_automation/github-actions/ci/run_step.sh pull-rebase
49-
env:
50-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51-
QMCPACK_BOT_GPG_KEY: ${{ secrets.QMCPACK_BOT_GPG_KEY }}
52-
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}
42+
- name: Checkout Action
43+
uses: actions/checkout@v4
44+
with:
45+
token: ${{ secrets.GITHUB_TOKEN }}
46+
fetch-depth: 0 # otherwise, you will fail to push refs to dest repo
47+
- name: Push Update To Opt'd in PR's
48+
run: tests/test_automation/github-actions/ci/run_step.sh pull-rebase
49+
env:
50+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
51+
QMCPACK_BOT_GPG_KEY: ${{ secrets.QMCPACK_BOT_GPG_KEY }}
52+
QMCPACK_BOT_GPG_SIGNING_KEY: ${{ secrets.QMCPACK_BOT_GPG_SIGNING_KEY }}

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

+13-13
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,10 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
jobname: [
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,
23+
GCC11-MPI-MKL-AFQMC-Real-Mixed, # mixed precision
24+
GCC11-MPI-MKL-AFQMC-Complex-Mixed,
25+
GCC11-MPI-MKL-AFQMC-Real, # full precision
26+
GCC11-MPI-MKL-AFQMC-Complex,
2727
]
2828

2929
steps:
@@ -52,7 +52,7 @@ jobs:
5252
# just like any other third-party service
5353
- name: Create PR status
5454
if: steps.check.outputs.triggered == 'true'
55-
uses: Sibz/[email protected].6
55+
uses: guibranco/github-status-action-v2@v1.1.7
5656
with:
5757
authToken: ${{secrets.GITHUB_TOKEN}}
5858
context: "ornl-sulfur CI ${{ matrix.jobname }}"
@@ -71,7 +71,7 @@ jobs:
7171
7272
- name: Checkout PR branch
7373
if: steps.check.outputs.triggered == 'true'
74-
uses: actions/checkout@v3
74+
uses: actions/checkout@v4
7575
with:
7676
token: ${{secrets.GITHUB_TOKEN}}
7777
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
@@ -91,7 +91,7 @@ jobs:
9191

9292
- name: Report PR status
9393
if: always() && steps.check.outputs.triggered == 'true'
94-
uses: Sibz/[email protected].6
94+
uses: guibranco/github-status-action-v2@v1.1.7
9595
with:
9696
authToken: ${{secrets.GITHUB_TOKEN}}
9797
context: "ornl-sulfur CI ${{matrix.jobname}}"
@@ -151,7 +151,7 @@ jobs:
151151
# just like any other third-party service
152152
- name: Create PR status
153153
if: steps.check.outputs.triggered == 'true'
154-
uses: Sibz/[email protected].6
154+
uses: guibranco/github-status-action-v2@v1.1.7
155155
with:
156156
authToken: ${{secrets.GITHUB_TOKEN}}
157157
context: "ornl-sulfur CI ${{ matrix.jobname }}"
@@ -170,7 +170,7 @@ jobs:
170170
171171
- name: Checkout PR branch
172172
if: steps.check.outputs.triggered == 'true'
173-
uses: actions/checkout@v3
173+
uses: actions/checkout@v4
174174
with:
175175
token: ${{secrets.GITHUB_TOKEN}}
176176
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
@@ -190,7 +190,7 @@ jobs:
190190

191191
- name: Report PR status
192192
if: always() && steps.check.outputs.triggered == 'true'
193-
uses: Sibz/[email protected].6
193+
uses: guibranco/github-status-action-v2@v1.1.7
194194
with:
195195
authToken: ${{secrets.GITHUB_TOKEN}}
196196
context: "ornl-sulfur CI ${{matrix.jobname}}"
@@ -247,7 +247,7 @@ jobs:
247247
# just like any other third-party service
248248
- name: Create PR status
249249
if: steps.check.outputs.triggered == 'true'
250-
uses: Sibz/[email protected].6
250+
uses: guibranco/github-status-action-v2@v1.1.7
251251
with:
252252
authToken: ${{secrets.GITHUB_TOKEN}}
253253
context: "ornl-nitrogen CI ${{matrix.jobname}}"
@@ -266,7 +266,7 @@ jobs:
266266
267267
- name: Checkout PR branch
268268
if: steps.check.outputs.triggered == 'true'
269-
uses: actions/checkout@v3
269+
uses: actions/checkout@v4
270270
with:
271271
token: ${{secrets.GITHUB_TOKEN}}
272272
repository: ${{fromJson(steps.request.outputs.data).head.repo.full_name}}
@@ -286,7 +286,7 @@ jobs:
286286

287287
- name: Report PR status
288288
if: always() && steps.check.outputs.triggered == 'true'
289-
uses: Sibz/[email protected].6
289+
uses: guibranco/github-status-action-v2@v1.1.7
290290
with:
291291
authToken: ${{secrets.GITHUB_TOKEN}}
292292
context: "ornl-nitrogen CI ${{matrix.jobname}}"

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030

3131
steps:
3232
- name: Checkout Action
33-
uses: actions/checkout@v3
33+
uses: actions/checkout@v4
3434

3535
- name: Configure
3636
run: tests/test_automation/github-actions/ci/run_step_static.sh configure

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

+40-25
Original file line numberDiff line numberDiff line change
@@ -25,17 +25,19 @@ jobs:
2525
GCC9-NoMPI-Debug-Real,
2626
GCC9-NoMPI-NoOMP-Real,
2727
GCC9-NoMPI-NoOMP-Complex,
28-
GCC9-NoMPI-Sandbox-Real,
28+
GCC9-MPI-Sandbox-Real,
29+
GCC9-NoMPI-Sandbox-Complex,
2930
GCC9-MPI-Gcov-Real,
3031
GCC9-MPI-Gcov-Complex,
31-
GCC11-NoMPI-Werror-Real,
32-
GCC11-NoMPI-Werror-Complex,
33-
GCC11-NoMPI-Werror-Real-Mixed,
34-
GCC11-NoMPI-Werror-Complex-Mixed,
32+
GCC12-NoMPI-Werror-Real,
33+
GCC12-NoMPI-Werror-Complex,
34+
GCC12-NoMPI-Werror-Real-Mixed,
35+
GCC12-NoMPI-Werror-Complex-Mixed,
3536
Clang14-NoMPI-ASan-Real,
3637
Clang14-NoMPI-ASan-Complex,
3738
Clang14-NoMPI-UBSan-Real,
3839
Clang16-NoMPI-Offload-Real,
40+
Clang16-NoMPI-Offload-Complex,
3941
]
4042
include:
4143
- jobname: GCC9-NoMPI-Debug-Real
@@ -53,11 +55,16 @@ jobs:
5355
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest
5456
options: -u 1001
5557

56-
- jobname: GCC9-NoMPI-Sandbox-Real
58+
- jobname: GCC9-MPI-Sandbox-Real
5759
container:
5860
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest
5961
options: -u 1001
6062

63+
- jobname: GCC9-NoMPI-Sandbox-Complex
64+
container:
65+
image: ghcr.io/qmcpack/ubuntu22-serial:latest
66+
options: -u 1001
67+
6168
- jobname: GCC9-MPI-Gcov-Real
6269
container:
6370
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest
@@ -68,24 +75,24 @@ jobs:
6875
image: ghcr.io/qmcpack/ubuntu22-openmpi:latest
6976
options: -u 1001
7077

71-
- jobname: GCC11-NoMPI-Werror-Real
78+
- jobname: GCC12-NoMPI-Werror-Real
7279
container:
73-
image: ghcr.io/qmcpack/ubuntu2110-serial:latest
80+
image: ghcr.io/qmcpack/ubuntu22-serial:latest
7481
options: -u 1001
7582

76-
- jobname: GCC11-NoMPI-Werror-Complex
83+
- jobname: GCC12-NoMPI-Werror-Complex
7784
container:
78-
image: ghcr.io/qmcpack/ubuntu2110-serial:latest
85+
image: ghcr.io/qmcpack/ubuntu22-serial:latest
7986
options: -u 1001
8087

81-
- jobname: GCC11-NoMPI-Werror-Real-Mixed
88+
- jobname: GCC12-NoMPI-Werror-Real-Mixed
8289
container:
83-
image: ghcr.io/qmcpack/ubuntu2110-serial:latest
90+
image: ghcr.io/qmcpack/ubuntu22-serial:latest
8491
options: -u 1001
8592

86-
- jobname: GCC11-NoMPI-Werror-Complex-Mixed
93+
- jobname: GCC12-NoMPI-Werror-Complex-Mixed
8794
container:
88-
image: ghcr.io/qmcpack/ubuntu2110-serial:latest
95+
image: ghcr.io/qmcpack/ubuntu22-serial:latest
8996
options: -u 1001
9097

9198
- jobname: Clang14-NoMPI-ASan-Real
@@ -108,9 +115,14 @@ jobs:
108115
image: ghcr.io/qmcpack/ubuntu22-clang:latest
109116
options: -u 1001
110117

118+
- jobname: Clang16-NoMPI-Offload-Complex
119+
container:
120+
image: ghcr.io/qmcpack/ubuntu22-clang:latest
121+
options: -u 1001
122+
111123
steps:
112124
- name: Checkout Action
113-
uses: actions/checkout@v3
125+
uses: actions/checkout@v4
114126

115127
- name: Configure
116128
run: tests/test_automation/github-actions/ci/run_step.sh configure
@@ -127,37 +139,40 @@ jobs:
127139

128140
- name: Upload Coverage
129141
if: contains(matrix.jobname, 'Gcov') && github.repository_owner == 'QMCPACK'
130-
uses: codecov/codecov-action@v3
142+
uses: codecov/codecov-action@v4
131143
with:
132144
files: ../qmcpack-build/coverage.xml
133145
flags: tests-deterministic # optional
134146
name: codecov-QMCPACK # optional
135147
fail_ci_if_error: true # optional (default = false)
148+
env:
149+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
136150

137151
macos:
138-
runs-on: macos-11
152+
runs-on: macos-14
139153
env:
140154
GH_JOBNAME: ${{ matrix.jobname }}
141155
GH_OS: macOS
142156

143157
strategy:
144158
fail-fast: false
145159
matrix:
146-
jobname: [macOS-GCC11-NoMPI-Real]
160+
jobname: [macOS-GCC14-NoMPI-Real]
147161

148162
steps:
149163
- name: Checkout Action
150-
uses: actions/checkout@v3
164+
uses: actions/checkout@v4
151165

152166
- name: Set Python Version
153167
uses: actions/setup-python@v4
154168
with:
155-
python-version: '3.10'
169+
python-version: "3.12"
156170

157171
- name: Setup Dependencies
158172
run: |
159-
brew install ninja hdf5 fftw boost
160-
pip3 install numpy h5py pandas
173+
brew upgrade || brew link --overwrite [email protected]
174+
brew install gcc@14 ninja hdf5 fftw boost
175+
python3 -m pip install numpy==1.26.4 h5py pandas
161176
162177
- name: Configure
163178
run: tests/test_automation/github-actions/ci/run_step.sh configure
@@ -205,11 +220,11 @@ jobs:
205220
container:
206221
image: ghcr.io/qmcpack/centos-stream-gcc11:latest
207222
options: -u 1001
208-
223+
209224
steps:
210225
- name: Checkout Action
211-
uses: actions/checkout@v3
212-
226+
uses: actions/checkout@v4
227+
213228
- name: Echo Debug
214229
run: |
215230
echo $PATH

0 commit comments

Comments
 (0)