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

Introduce CMake build for init_atmosphere and atmosphere cores #1139

Closed
wants to merge 1 commit into from

Conversation

mgduda
Copy link
Contributor

@mgduda mgduda commented Jan 31, 2024

This PR introduces a CMake build capability for the MPAS init_atmosphere and atmosphere cores, with support for the GNU, Intel, and NVHPC compilers.

When invoking cmake, the following must be defined:

  • MPAS_CORE : Either 'init_atmosphere' or 'atmophere'
  • MPAS_COMPILER : One of 'gnu', 'intel', or 'nvhpc'

Optionally, MPAS_PRECISION can be specified as 'single' or 'double', with builds defaulting to double-precision reals.

If the PIO library is found, MPAS will use PIO; otherwise, SMIOL will be used.

Acknowledgements: Miles Curry (@MiCurry) and Maryam Abdi-Oskouei (@mer-a-o) both contributed to the development of this capability.

This commit introduces a CMake build capability for the MPAS init_atmosphere and
atmosphere cores, with support for the GNU, Intel, and NVHPC compilers.

When invoking cmake, the following must be defined:
 * MPAS_CORE : Either 'init_atmosphere' or 'atmophere'
 * MPAS_COMPILER : One of 'gnu', 'intel', or 'nvhpc'

If the PIO library is found, MPAS will use PIO; otherwise, SMIOL will be used.

Optionally, MPAS_PRECISION can be specified as 'single' or 'double', with builds
defaulting to double-precision reals.

Acknowledgements: Miles Curry and Maryam Abdi-Oskouei both contributed to the
development of this capability.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant