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

Updated Field API variants of the clouds dwarf (CPU and GPU) #96

Open
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

wertysas
Copy link

@wertysas wertysas commented Oct 1, 2024

This is an update of the Field API variants of cloudsc that aims to resemble the use of Field API in the IFS more closely than before. This includes the addition of a new global state type for the Field API variants: CLOUDSC_FIELD_STATE_TYPE and three types for aux vars, fluxes and tendencies that resemble similar types in the IFS:

  • CLOUDSC_AUX_TYPE
  • CLOUDSC_FLUX_TYPE
  • CLOUDSC_STATE_TYPE

There has also been updates to the build structure, that makes it possible to build the CPU Field API version without OpenACC or CUDA and to build the GPU Field API version without CUDA support. The following ecbuild_options have been added to support this:

  • with-field-api enables field-api variants to be built
  • with-mapped-fields builds field-api variants with field pointers automatically by OpenACC to device (requires OpenACC and CUDA)
  • with-pinned-fields builds field-api variants with fields allocated in pinned memory (requires OpenACC and CUDA)

@FussyDuck
Copy link

FussyDuck commented Oct 1, 2024

CLA assistant check
All committers have signed the CLA.

@wertysas wertysas requested a review from awnawab October 1, 2024 13:03
@wertysas wertysas marked this pull request as draft October 2, 2024 08:01
@wertysas wertysas marked this pull request as ready for review October 4, 2024 16:14
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