Skip to content

Commit 6eca3de

Browse files
authored
ci: run test builds on 16 GiB portable runners (#607)
Building SIMPLE's tests generates \`wout_ncsx.chartmap.nc\` (\`test/tests/CMakeLists.txt:318-324\`) with libneo's \`vmec_to_chartmap.x\`. The VMEC spline tables behind it peak at 10.3 GB RSS; this was measured locally with libneo main 7d2e1a8 and does not depend on thread count. On the 10 GiB \`local-portable-itpplasma-1\` slot the process is OOM-killed (\`Killed\`). This happened in the VMEC++ and CGAL jobs of runs 39678368766, 39696544349, 39696548698 and 39696550366, and only on that slot. This PR makes every job that builds the test suite request \`itp-mem16\`: the portable \`Build and Test\` path, GCC matrix, ifx, flang, CGAL, VMEC++ and the verification report. `itp-mem16` comes from [itp-infra](https://github.com/itpplasma/itp-infra) PR #14 (merged e4edfb69); the KUB portable slots now register with it.
1 parent affefb2 commit 6eca3de

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

‎.github/workflows/main.yml‎

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ jobs:
9090
test:
9191
name: Build and Test
9292
runs-on: >-
93-
${{ (github.event_name == 'pull_request' || inputs.runner == 'portable' || inputs.runner == 'hosted') && fromJSON('["self-hosted","itp-ubuntu24"]') || fromJSON('["self-hosted","itp-dispatch"]') }}
93+
${{ (github.event_name == 'pull_request' || inputs.runner == 'portable' || inputs.runner == 'hosted') && fromJSON('["self-hosted","itp-ubuntu24","itp-mem16"]') || fromJSON('["self-hosted","itp-dispatch"]') }}
9494
timeout-minutes: 150
9595
env:
9696
OMP_NUM_THREADS: 2
@@ -283,6 +283,7 @@ jobs:
283283
runs-on:
284284
- self-hosted
285285
- itp-ubuntu24
286+
- itp-mem16
286287
timeout-minutes: 45
287288
if: >-
288289
(github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.actor != 'github-merge-queue[bot]')) && ((github.event_name == 'merge_group' || (github.event_name == 'workflow_dispatch' && inputs.full == 'true') || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)) && (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'full-ci')))
@@ -337,6 +338,7 @@ jobs:
337338
runs-on:
338339
- self-hosted
339340
- itp-ubuntu24
341+
- itp-mem16
340342
if: >-
341343
(github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.actor != 'github-merge-queue[bot]')) && (github.event_name == 'workflow_dispatch' && inputs.experimental_compilers)
342344
continue-on-error: true
@@ -385,6 +387,7 @@ jobs:
385387
runs-on:
386388
- self-hosted
387389
- itp-ubuntu24
390+
- itp-mem16
388391
if: >-
389392
(github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.actor != 'github-merge-queue[bot]')) && (github.event_name == 'workflow_dispatch' && inputs.experimental_compilers)
390393
continue-on-error: true
@@ -426,6 +429,7 @@ jobs:
426429
runs-on:
427430
- self-hosted
428431
- itp-ubuntu24
432+
- itp-mem16
429433
if: >-
430434
(github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.actor != 'github-merge-queue[bot]')) && (github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' || github.event_name == 'pull_request')
431435
@@ -500,6 +504,7 @@ jobs:
500504
runs-on:
501505
- self-hosted
502506
- itp-ubuntu24
507+
- itp-mem16
503508
if: >-
504509
(github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' || (github.event_name == 'push' && github.ref == format('refs/heads/{0}', github.event.repository.default_branch) && github.actor != 'github-merge-queue[bot]')) && ((github.event_name == 'merge_group' || github.event_name == 'workflow_dispatch' || (github.event_name == 'pull_request' && github.event.pull_request.draft == false)) && (github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'full-ci')))
505510
@@ -590,6 +595,7 @@ jobs:
590595
runs-on:
591596
- self-hosted
592597
- itp-ubuntu24
598+
- itp-mem16
593599
timeout-minutes: 20
594600
permissions:
595601
contents: read

0 commit comments

Comments
 (0)