Commit d5d24b6
Integration branch: enums relocation + regularization + labeler bump (#4914)
* Create enums/ library (Tier 0) from scattered types
Relocate 11 enum-like types from esmf_utils/, generic3g/,
and component/ into a new enums/ directory (MAPL.enums).
No public module names or interfaces changed.
The three *Metadata files previously used mapl3g_InfoUtilities
as a thin pass-through to ESMF; replace with direct ESMF calls
to keep MAPL.enums free of upward esmf_utils dependency.
Part of MAPL v3 restructuring (#4905), closes #4907.
* Bump actions/labeler from 5 to 6
Bumps [actions/labeler](https://github.com/actions/labeler) from 5 to 6.
- [Release notes](https://github.com/actions/labeler/releases)
- [Commits](actions/labeler@v5...v6)
---
updated-dependencies:
- dependency-name: actions/labeler
dependency-version: '6'
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com>
* Update CHANGELOG.md
Co-authored-by: Atanas Trayanov <Atanas.L.Trayanov@nasa.gov>
* Regularize MAPL.enums module names and cleanup
Rename all 11 enum module prefixes from mapl3g_ to mapl_
and update all use statements across the codebase (~55 files).
Additional cleanup in CouplerPhases: remove stale #include MAPL.h
and strengthen implicit none to implicit none(type,external).
Add rationale comments to CouplerPhases and GenericPhases
explaining why enum,bind(c) is used instead of integer parameters.
Part of MAPL v3 restructuring (#4905), closes #4908.
* Remove MPI from ErrorHandling and Throw layers (#4921)
* Remove MPI from ErrorHandling and Throw layers
- MAPL_Throw.F90: replace MAPL_Fail (MPI-dependent) with a serial
error stop default; add MAPL_set_throw_method procedure pointer
- ErrorHandling.F90: remove 'use MPI'; replace MPI_Abort in
MAPL_abort with a procedure pointer defaulting to error stop;
add MAPL_set_abort_handler; collapse MAPL_ExceptionHandling
alias into bottom of file; delete MAPL_ExceptionHandling.F90
- MAPL_MpiErrorHandling.F90: new file owning both MPI-aware
handlers and MAPL_initialize_error_handling() registration
routine; call this once after MPI_Init for MPI programs
- Remove dead 'use MPI' from AbstractCommSplitter.F90,
pfio/BaseThread.F90, pfio/ForwardDataAndMessage.F90
- Update shared/CMakeLists.txt accordingly
Closes #4917
* Add CHANGELOG entry for #4917 MPI-free error handling
* Fix wrong module name in Test_Scenarios.pf
mapl3g_GenericPhases does not exist; correct name is
mapl_GenericPhases (defined in enums/GenericPhases.F90).
* Fix mapl3g_ -> mapl_ for enum modules in tests
* Fix more mapl3g_ -> mapl_ for enum modules in tests
* Create utils/ (MAPL.utils, Tier 1, MPI-free) (#4922)
* Create utils/ (MAPL.utils, Tier 1, MPI-free)
- New utils/ directory consolidates MPI-free foundational code
- Moves from shared/: ErrorHandling.F90, MAPL_Throw.F90, hash.c,
sort.c, and all serial utility modules (String, Sort, Range, etc.)
plus Constants/ and Interp/ subdirectories
- Moves from utilities/: all sources, arrays/, regex/, tests/
- Moves udunits2f/ into utils/udunits2f/
- Moves generic3g/Validation.F90 into utils/
- MAPL_MpiErrorHandling.F90 stays in shared/ (MPI-dependent)
- MAPL.shared now depends on MAPL.utils; all MAPL.utilities
references updated to MAPL.utils
- SYSTEM_DSO_SUFFIX and OpenMP definitions moved to utils/
Part of #4905, closes #4915
* Add CHANGELOG entry for #4915 MAPL.utils creation
* Add MAPL.utilities alias for backward compat
* Fix MAPL.utilities compat: interface lib instead of alias
* Create mp_utils/ (MAPL.mp_utils, Tier 2, MPI-dependent) (#4924)
* Create mp_utils/ (MAPL.mp_utils, Tier 2, MPI-dependent)
* Remove nonexistent tests subdir from mp_utils
* Add CHANGELOG entry for #4923 MAPL.mp_utils creation
* Move profiler to mp_utils/profiler/, clean stale shared/ copies
* Restore ShaveMantissa.h needed by ShaveMantissa.c
---------
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Atanas Trayanov <Atanas.L.Trayanov@nasa.gov>1 parent 0a7acf3 commit d5d24b6
222 files changed
Lines changed: 1644 additions & 534 deletions
File tree
- .github/workflows
- base3g
- component
- GriddedComponentDriver
- enums
- esmf_utils
- field_bundle
- field
- generic3g
- OuterMetaComponent
- couplers
- specs
- GeomAspect
- tests
- transforms
- geom
- MaplGeom
- gridcomps/StatisticsGridComp
- mp_utils
- Shmem
- profiler
- demo
- reporting
- tests
- pfio
- profiler
- regridder_mgr
- utilities
- arrays
- regex
- tests
- utils
- Constants
- Interp
- arrays
- regex
- tests
- udunits2f
- tests
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 | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 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 | + | |
20 | 46 | | |
21 | 47 | | |
22 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
222 | 222 | | |
223 | 223 | | |
224 | 224 | | |
225 | | - | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
226 | 228 | | |
227 | | - | |
228 | 229 | | |
229 | 230 | | |
230 | 231 | | |
| |||
234 | 235 | | |
235 | 236 | | |
236 | 237 | | |
237 | | - | |
238 | 238 | | |
239 | 239 | | |
240 | 240 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | 4 | | |
6 | 5 | | |
7 | 6 | | |
| |||
13 | 12 | | |
14 | 13 | | |
15 | 14 | | |
16 | | - | |
| 15 | + | |
17 | 16 | | |
18 | 17 | | |
19 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| 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 | + | |
Lines changed: 11 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
| 3 | + | |
| 4 | + | |
6 | 5 | | |
7 | | - | |
| 6 | + | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
98 | | - | |
| 97 | + | |
| 98 | + | |
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
| 120 | + | |
121 | 121 | | |
122 | 122 | | |
123 | 123 | | |
| |||
133 | 133 | | |
134 | 134 | | |
135 | 135 | | |
136 | | - | |
| 136 | + | |
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
| |||
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
145 | | - | |
| 145 | + | |
146 | 146 | | |
147 | 147 | | |
148 | 148 | | |
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
0 commit comments