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

How to handle multiple variants of FMS? #1139

Open
mathomp4 opened this issue Jun 12, 2024 · 1 comment
Open

How to handle multiple variants of FMS? #1139

mathomp4 opened this issue Jun 12, 2024 · 1 comment
Assignees
Labels
INFRA JEDI Infrastructure NAVY United States Naval Research Lab NOAA-EMC

Comments

@mathomp4
Copy link
Collaborator

mathomp4 commented Jun 12, 2024

Something I just thought about. Currently in spack-stack in configs/common/packages.yaml there is:

    fms:
      version: ['2023.04']
      variants: precision=32,64 +quad_precision +gfs_phys +openmp +pic constants=GFS build_type=Release +deprecated_io

But eventually if GEOS moves in here and we use FMS from spack, it would most likely be built as:

variants: precision=32,64 +quad_precision ~gfs_phys +openmp +pic constants=GEOS build_type=Release +deprecated_io

aka we don't use GFS Physics and we have a different set of constants.

Would it be perhaps a new entry in modules.yaml based off of...the constants: a la:

      fms:
        suffixes:
          constants=GEOS: 'geos'
          constants=GFS: 'gfs'

🤷🏼 Not too sure, just thinking ahead.

(I suppose something similar for if yaml support is built in as well?)

@climbfuji
Copy link
Collaborator

Yes, exactly - we can encode the flavor of fms in the module name. Thanks for thinking about this ahead of time!

@climbfuji climbfuji added INFRA JEDI Infrastructure NOAA-EMC NAVY United States Naval Research Lab labels Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
INFRA JEDI Infrastructure NAVY United States Naval Research Lab NOAA-EMC
Projects
Development

No branches or pull requests

2 participants