Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactored two-stream, new LW source functions and quadrature, kernel API #284

Merged
merged 40 commits into from
May 21, 2024

Conversation

RobertPincus
Copy link
Member

Accumulated changes and bug fixes. Changes LW answers (and data repo is updated).

dependabot bot and others added 30 commits November 28, 2023 20:18
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.4.3 to 4.5.0.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](JamesIves/github-pages-deploy-action@v4.4.3...v4.5.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
…_actions/develop/JamesIves/github-pages-deploy-action-4.5.0

Bump JamesIves/github-pages-deploy-action from 4.4.3 to 4.5.0
Update develop with changes from documentation branch
Build instructions point to the Github Pages site.
Deprecating NCHOME, NFHOME
Consolidating build information
Skip self-hosted jobs in the fork repositories,  use new container tags
Update YML files for simplicity and consistency with CI. Update Python version to 3.11
Single level source for LW no-scattering solver; spectral mapping as the sqrt of the product of the mappings in each adjacent layer
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 3 to 4.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](actions/upload-artifact@v3...v4)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…_actions/develop/actions/upload-artifact-4

Bump actions/upload-artifact from 3 to 4
Remove a workaround for PGI Fortran 19 and `present` status; interpolate level temperatures on device.
Bumps [actions/cache](https://github.com/actions/cache) from 3 to 4.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](actions/cache@v3...v4)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Add CI jobs that run the tests on the GPU partition of Levante.
The compiler version and flags are what we currently use to build ICON by default.
For security reasons, the jobs are skipped for PRs from the forks.
This adds CI tests with the NAG compiler on Levante with compiler version and flags currently used to build ICON by default.
 
Both DP and SP floating models are tested, as are default and accelerator kernels, but not all possible combinations. Accelerator kernels fail with a run-time error and are marked as experimental.
)

Scripts fails when individual tests fail, small tolerance adjustments to tests pass, small correction to LW source calculation in accel kernels, revert change in 5ac4d0a: nvfortran fails to pass present status of args to lower-level procedures
Fix subroutine intent, mark corresponding CI as not-experimental
Enable manual runs of CI , don't run CI on push except for main, develop
CI now reports success if a) the code compiles but fails at runtime with `cce-gpu-openmp` in self-hosted CI, and b) fails with an internal compiler error for `ifx-gpu-openmp`. See the PR for more details.
Adds  stand-alone unit tests for solvers alone (in tests/rte[sl]w_unit_tests.F90). Longwave solvers are tested for correctness in radiative equilibrium and for invariance to choices (vertical orientation, problem size...). Shortwave solvers are tested only for invariance.
Streamline and add flexibility to the build process.
Fix GPU runtime error on NVIDIA A100 with nvhpc/24.3, thanks to @sjsprecious
Adds C and Fortran headers for the kernels in *-kernels/api subdirectories. Kernel headers are tested for consistency against Fortran front-end.

Changes the makefiles a) to not build the documentation by defaults, and b) to group the building and running of tests, so that make libs makes, um, only the libraries.
---------
Co-authored-by: Alexander Soklev <alex@makepath.com>
Adopt suggestions by @peterukk in #215. Makes expensive direct beam computations even when solar zenith angle is < 0, but masks those results out in layers where the direct beam does not reach. This will have practical impacts only in columns where the top of the column is in sunlight but the bottom not (or if users aren't removing columns entirely below the horizon).
RobertPincus and others added 10 commits April 18, 2024 09:13
Bumps [JamesIves/github-pages-deploy-action](https://github.com/jamesives/github-pages-deploy-action) from 4.5.0 to 4.6.0.
- [Release notes](https://github.com/jamesives/github-pages-deploy-action/releases)
- [Commits](JamesIves/github-pages-deploy-action@v4.5.0...v4.6.0)

---
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
updated-dependencies:
- dependency-name: JamesIves/github-pages-deploy-action
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
…_actions/develop/JamesIves/github-pages-deploy-action-4.6.1

Bump JamesIves/github-pages-deploy-action from 4.6.0 to 4.6.1
Updates weights and secants for LW quadrature to the "Gauss-Jacobi-5" described in R. J. Hogan 2023, doi:10.1002/qj.4598. Changes answers for LW calculations.
@RobertPincus RobertPincus merged commit 41c5fcd into main May 21, 2024
70 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants