Commit b9c0d21
authored
Cherry-pick Toolchain 202601 to LTS branch (#7321)
* Toolchain: backport 202503 baseline to LTS
Partial cherry-pick from 388226b. Excludes forbidden NEP/libtorch installer changes and keeps changes scoped to toolchain.
* Backport: [Toolchain] Fix AOCL linking problem and other ver-202503 patch (#6623)
Partial cherry-pick from e43b1cd. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: [develop][Toolchain] fix elpa-gpu installation problem in toolchain (#6632)
Partial cherry-pick from 3e89604. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Update Cereal URL in FindCereal.cmake (#6722)
Partial cherry-pick from b809520. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Fix: Update LibRI URL in FindLibRI.cmake to use codeload for fetching (#6723)
Partial cherry-pick from 19a9e54. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Toolchain: Use fixed commit hash instead of master branch (#7193)
Partial cherry-pick from d26a604. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Toolchain: Remove redundant exporting variables (#7230)
Partial cherry-pick from d54cc6f. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: refactor: find scalapack automatically (#7235)
Partial cherry-pick from 60ea82d. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Add CI/CD workflow for Toolchain (#7244)
Partial cherry-pick from c2b3b24. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Toolchain: Enable float FFTW linking for building with MKL (#7245)
Partial cherry-pick from e6a377d. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Toolchain: Packages updating (#7285)
Partial cherry-pick from 0f9d7d9. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Toolchain: Remove notice of downloading master branch (#7303)
Partial cherry-pick from e2bd830. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Toolchain 202601 (#7310)
Partial cherry-pick from 61734d8. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: Toolchain: Fix package installing issue (#7315)
Partial cherry-pick from b9669d3. Scoped to .github, toolchain, and cmake; forbidden NEP/libtorch installer changes and out-of-scope paths are excluded.
* Backport: align toolchain CMake modules and workflows
Aligns FindMKL/FindFFTW3 and Toolchain workflow files with real-develop final state for the 202503 to 202601 backport. Source commits include 443f89e, f671ce1, 577ae5f, 302ab21, and 61734d8.
* Backport: document GCC MKL toolchain entry
Completes the 202601 toolchain README update while leaving cuSolverMP/NCCL documentation changes out of the LTS backport scope.
* Backport: remove toolchain UI trailing whitespace
* Toolchain: fix ELPA environment setup for ABACUS build
Set elpa_include in the install path and ensure the include/elpa compatibility symlink is created even when an existing ELPA install is reused. This lets build_abacus_gnu.sh find ELPA after sourcing toolchain/install/setup.
* Backport: refine toolchain setup filtering
Backports the setup filtering direction from #7319 with an LTS-specific safer filter that preserves conditional blocks. Also keeps the ELPA CPU/NVIDIA install layout discoverable for ABACUS builds and brings in the minimal MPI CXX component change from #7139.
* Fix toolchain setup filtering for empty conditionals
filter_setup now drops conditional blocks whose contents are fully filtered, preventing generated install/setup files from containing empty if/fi blocks such as the OpenMPI mpi_f08 check. Conditional blocks with runtime path setup, such as ELPA CPU/NVIDIA paths, are preserved.
* Add Toolchain smoke test workflow
Adds a PR-triggered GNU smoke workflow that performs a real toolchain_gnu.sh installation, validates install/setup, builds ABACUS through build_abacus_gnu.sh, and uploads the relevant logs.
* Clean LTS build helper examples
Removes develop-only MLALGO, NEP, LibTorch, LibNPY, and DeePMD example options from the toolchain build_abacus helper scripts. These examples were introduced by develop-side changes around PR #7321 but are not supported by the LTS build surface.
* Restore LTS DeepKS build examples
Restores the LTS build_abacus helper examples after the previous cleanup removed too much. The helpers now keep the LTS DeepKS/LibTorch/LibNPY/DeePMD commented examples while excluding the develop-side NEP and ENABLE_MLALGO examples from PR #7321.
* Restore LTS README markers
Restores LTS-specific README wording after the toolchain documentation backport: keep the README marked as for LTS and document NEP as not supported while preserving the 202601 version updates and GCC-MKL support documentation.
* Fix Toolchain smoke shell and ELPA setup
Sets the Toolchain Smoke Test job shell to bash so pipefail is supported in the container. Also aligns ELPA setup generation with PR #7319 by avoiding if blocks in the generated setup file and appending NVIDIA paths only during setup generation when the nvidia install exists.
* update toolchain smoke test1 parent 1dccf29 commit b9c0d21
52 files changed
Lines changed: 994 additions & 1529 deletions
File tree
- .github/workflows
- cmake
- toolchain
- scripts
- lib
- patches
- stage0
- stage1
- stage2
- stage3
- stage4
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
| 139 | + | |
| 140 | + | |
| 141 | + | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
247 | 247 | | |
248 | 248 | | |
249 | 249 | | |
250 | | - | |
| 250 | + | |
251 | 251 | | |
252 | 252 | | |
253 | 253 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | 61 | | |
54 | 62 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
0 commit comments