-
Notifications
You must be signed in to change notification settings - Fork 0
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
Enable optional
stencils and modules in Liskov
#358
Conversation
…o optional_modules_liskov
cscs-ci run default |
launch jenkins spack |
launch jenkins spack |
cscs-ci run default |
cscs-ci run default |
cscs-ci run default |
1 similar comment
cscs-ci run default |
…n4py into optional_modules_liskov
cscs-ci run default |
cscs-ci run default |
2 similar comments
cscs-ci run default |
cscs-ci run default |
cscs-ci run default |
Mandatory Tests Please make sure you run these tests via comment before you merge!
Optional Tests To run benchmarks you can use:
To run tests and benchmarks with the DaCe backend you can use:
In case your change might affect downstream icon-exclaim, please consider running
For more detailed information please look at CI in the EXCLAIM universe. |
cscs-ci run default |
launch jenkins spack |
launch jenkins icon |
This PR allows to integrate optional stencils using Liskov. The GT4Py stencils are ignored if their module e.g. advection is not specified explicitly at compilation. The motivation for this feature is that the performance of some modules (e.g. advection and graupel) is not yet satisfying but keeping them in a separate branch is a lot of overhead. More specifically this PR: adds a new argument parameter optional_module to the START STENCIL liskov directive to specify which optional module the stencil belongs to, e.g. optional_module=advection. adds a new option --enable_optional_stencil to the liskov CLI to enable the optional stencils and specify which module. e.g. --enable_optional_stencil=advection. Corresponding PR in icon-exclaim adds the changes in the icon_liskov preprocessor command in configure and CMakelist.txt. --------- Co-authored-by: Nina Burgdorfer <Nina.Burgdorfer@meteoswiss.ch> Co-authored-by: samkellerhals <kellerhalssamuel@gmail.com> Co-authored-by: Daniel Hupp <daniel.hupp@meteoswiss.ch> Co-authored-by: Nicoletta Farabullini <41536517+nfarabullini@users.noreply.github.com>
This PR allows to integrate optional stencils using Liskov. The GT4Py stencils are ignored if their module e.g. advection is not specified explicitly at compilation. The motivation for this feature is that the performance of some modules (e.g. advection and graupel) is not yet satisfying but keeping them in a separate branch is a lot of overhead. More specifically this PR: adds a new argument parameter optional_module to the START STENCIL liskov directive to specify which optional module the stencil belongs to, e.g. optional_module=advection. adds a new option --enable_optional_stencil to the liskov CLI to enable the optional stencils and specify which module. e.g. --enable_optional_stencil=advection. Corresponding PR in icon-exclaim adds the changes in the icon_liskov preprocessor command in configure and CMakelist.txt. --------- Co-authored-by: Nina Burgdorfer <Nina.Burgdorfer@meteoswiss.ch> Co-authored-by: samkellerhals <kellerhalssamuel@gmail.com> Co-authored-by: Daniel Hupp <daniel.hupp@meteoswiss.ch> Co-authored-by: Nicoletta Farabullini <41536517+nfarabullini@users.noreply.github.com>
This PR allows to integrate optional stencils using Liskov. The GT4Py stencils are ignored if their module e.g. advection is not specified explicitly at compilation. The motivation for this feature is that the performance of some modules (e.g. advection and graupel) is not yet satisfying but keeping them in a separate branch is a lot of overhead.
More specifically this PR:
optional_module
to theSTART STENCIL
liskov directive to specify which optional module the stencil belongs to, e.g.optional_module=advection
.--enable_optional_stencil
to the liskov CLI to enable the optional stencils and specify which module.e.g. --enable_optional_stencil=advection
. Corresponding PR in icon-exclaim adds the changes in theicon_liskov
preprocessor command inconfigure
andCMakelist.txt
.