Skip to content

Refactor: NDSL#58

Merged
fmalatino merged 40 commits into
mainfrom
refactor/NDSL
Feb 2, 2024
Merged

Refactor: NDSL#58
fmalatino merged 40 commits into
mainfrom
refactor/NDSL

Conversation

@fmalatino

@fmalatino fmalatino commented Feb 1, 2024

Copy link
Copy Markdown
Contributor

Purpose

The middleware layer of Pace has been moved to a submodule NDSL

Code changes:

  • Submodules gt4py and dace now submodules of NDSL
  • -pace/dsl now a part of NDSL
  • pace/stencils now a part of NDSL
  • pace/utils, flattened and contained within NDSL

Requirements changes:

  • Pace can still be built in the usual manner; through a virtual environment and passing the requirements_dev.txt and constraints.txt files.

Infrastructure changes:

  • Makefiles and dockerfiles still need to be updated to match new dependencies on NDSL

Checklist

Before submitting this PR, please make sure:

  • You have followed the coding standards guidelines established at Code Review Checklist.
  • Docstrings and type hints are added to new and updated routines, as appropriate
  • All relevant documentation has been updated or added (e.g. README, CONTRIBUTING docs)
  • For each public change and fix in pace-util, HISTORY has been updated
  • Unit tests are added or updated for non-stencil code changes

FlorianDeconinck and others added 30 commits January 30, 2024 20:34
* Move `pace.dsl` to local `ndsl.dsl`

* Replacing gt4py_utils.halo by pace.util.N_HALO_DEFAULT

* Move .gitmodules out of main pace
Tmp reqs file for NDSL
Updated dependencies for other packages

* pace.stencils -> ndsl.stencils

* Moved Dycore<>Physics bridge out of `ndsl`
Move out translate test back to Physics

* Fix driver reference to update_atmos_state

* Remove pace.stencils

* pace.util -> ndsl.util

* Move util test & examples

* Delete pace.util

* Rely on ndsl submodule

* Lint (for import order)

* Remove unused import, fix missing import

* Restore gitmodule strategy

* Update requitements of model packages

* Moved translate_driver into Pace/tests
Fix physics local import

* Lint (couple of type ignore on bad ENUM read)

* Push c12_restart

* Bad restart path

* Bad path
…/pace/driver/performance -> ndsl/performance
@fmalatino fmalatino requested review from bensonr and oelbert February 1, 2024 21:16

@FlorianDeconinck FlorianDeconinck left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is by construct an un-reviewable PR.

@fmalatino fmalatino merged commit bb2ab51 into main Feb 2, 2024
@fmalatino fmalatino deleted the refactor/NDSL branch June 25, 2024 16:36
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.

2 participants