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

From spack/develop: crtm: add v3.1.1-build1 (spack #48451) #501

Open
wants to merge 2 commits into
base: spack-stack-dev
Choose a base branch
from

Conversation

climbfuji
Copy link
Collaborator

@climbfuji climbfuji commented Jan 15, 2025

Note

Do not merge yet - resolve question #501 (comment) first

Description

Add [email protected] (from spack develop)

Testing

See CI below and JCSDA/spack-stack#1454

* add [email protected]
* fix url_for_version's version check

Co-authored-by: Tamara Dahlgren <[email protected]>

---------

Co-authored-by: Tamara Dahlgren <[email protected]>
@climbfuji climbfuji marked this pull request as ready for review January 15, 2025 20:50
@climbfuji climbfuji self-assigned this Jan 15, 2025
@@ -51,6 +51,9 @@ class Crtm(CMakePackage):

license("CC0-1.0")

version(
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@BenjaminTJohnson For previous versions of CRTM (the _emc flavor, we had the following dependencies:

    depends_on("[email protected]_emc", when="@2.3.0 +fix")
    depends_on("[email protected]_emc", when="@=2.4.0 +fix")
    depends_on("[email protected]_emc", when="@2.4.0.1 +fix")

The variant fix is still defined for [email protected], but no fix files are associated with this version. Is this variant no longer needed (i.e. no fix files needed), or do we also need to add a new version of crtm-fix and the dependency here?

Thanks.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Copy link

@chengdang chengdang Jan 16, 2025

Choose a reason for hiding this comment

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

@BenjaminTJohnson would be the right person to answer this question.
If I understood correctly, we are aiming to avoid agency specific releases. All users are expected to use the same fix folder with crtm model releases. I could be wrong for this specific case, so let's wait for Ben (currently at AMS).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Ok, thanks. If that new fixed-file tarball is available from somewhere, then I can configure the variant correctly here (we need to also fix the crtm package in spack develop in this case).

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

@BenjaminTJohnson Is that tarball with the new fixed files available from somewhere for 3.1.1-build1 (to pull down separately, aka EMC method), or does that get pulled down automatically during the build (aka JCSDA method)? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress
Development

Successfully merging this pull request may close these issues.

3 participants