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

[py2fgen]: support for Fortran granules #402

Merged
merged 64 commits into from
Apr 12, 2024
Merged

Conversation

samkellerhals
Copy link
Contributor

@samkellerhals samkellerhals commented Feb 29, 2024

Description

Progress:

  • Enabled support for GT4Py backends on both CPU and GPU.
  • Automated generation of all necessary bindings to embed Python functions and GT4Py programs into Fortran.

ICON Integration:

  • Successfully integrated Python diffusion module into ICON-DSL CPU and GPU (OpenACC) build.

Next Steps

  • Benchmarking and timing performance on single and multi node (CPU, GPU).

    • Identify bottlenecks.
  • Test the output of the diffusion granule, can check against serialized data.

  • Document the build process (integration into ICON) and improve it, identify potential issues.

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

launch jenkins spack

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

launch jenkins spack

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

launch jenkins spack

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

launch jenkins spack

Copy link
Contributor

@halungge halungge left a comment

Choose a reason for hiding this comment

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

Only one small thing:
Do you need the change of dtype ( int32-> int) in vertical.py. If not can you revert it back to int32?

I'll approve anyway.

model/common/src/icon4py/model/common/grid/vertical.py Outdated Show resolved Hide resolved
model/common/src/icon4py/model/common/grid/vertical.py Outdated Show resolved Hide resolved
Copy link

Mandatory Tests

Please make sure you run these tests via comment before you merge!

  • cscs-ci run default
  • launch jenkins spack

Optional Tests

To run benchmarks you can use:

  • cscs-ci run benchmark

To run tests and benchmarks with the DaCe backend you can use:

  • cscs-ci run dace

In case your change might affect downstream icon-exclaim, please consider running

  • launch jenkins icon

For more detailed information please look at CI in the EXCLAIM universe.

@samkellerhals
Copy link
Contributor Author

cscs-ci run default

@samkellerhals
Copy link
Contributor Author

launch jenkins spack

@samkellerhals samkellerhals merged commit 6f6a460 into main Apr 12, 2024
5 checks passed
@samkellerhals samkellerhals deleted the run-granule-with-py2fgen branch April 12, 2024 11:09
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.

3 participants