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

Add @develop to ufs-weather-model #217

Conversation

AlexanderRichert-NOAA
Copy link
Collaborator

This PR makes significant revisions to the ufs-weather-model package. Namely, it adds a version for the head of the develop branch and has updates to variants and dependencies, as well as one or two patches.

@AlexanderRichert-NOAA AlexanderRichert-NOAA marked this pull request as ready for review January 27, 2023 17:44
"simdmultiarch", default=False, description="Enable multi-target SIMD instruction sets"
)
variant("debug", default=False, description="Enable DEBUG mode", when="@develop")
variant(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Note that this horrible debug link mpi option needs to go away, it's not portable and not something we should be doing. @aerorahul @DusanJovic-NOAA and I have fought this bad practice for a while, but with moving to spack-stack we should really get rid of it.

variant("moving_nest", default=False, description="Enable moving nest code", when="@develop")
variant("openmp", default=True, description="Enable OpenMP")
variant("parallel_netcdf", default=True, description="Enable parallel NetCDF")
variant(
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't know if this option works at all, it's certainly not the way we integrate the UFS with JEDI here: JCSDA/ufs-bundle#9

@mark-a-potts @aerorahul Can you provide more information on this option?

description="Enable atmosphere-ocean flux calculation in mediator",
when="@develop",
)
variant(
Copy link
Collaborator

Choose a reason for hiding this comment

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

Why is this a variant? Is there a way to build the UFS without CCPP physics?

@AlexanderRichert-NOAA
Copy link
Collaborator Author

@climbfuji For what it's worth, my overall approach has been to try to make variants match as closely as possible with what's provided in cmake (though I have not implemented every available switch from the various submodules, only the one or two that I seemed to need for doing RTs), and leaving the rest up to the user. So nothing here is necessarily a guarantee of the underlying functionality in UFS WM.

Copy link
Collaborator

@climbfuji climbfuji left a comment

Choose a reason for hiding this comment

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

I assume you have tested those changes, I haven't. It looks ok to me, though I don't think the CCPP=false option will work.

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