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

any way to build ESMF for UFS_UTILS with less options? #740

Closed
edwardhartnett opened this issue Dec 13, 2022 · 2 comments · Fixed by #742
Closed

any way to build ESMF for UFS_UTILS with less options? #740

edwardhartnett opened this issue Dec 13, 2022 · 2 comments · Fixed by #742
Assignees
Labels

Comments

@edwardhartnett
Copy link
Collaborator

NetCDF gives us options like --disable-utilities, which allow for a faster compile of the lbrary in CI.

Does ESMF have anything similar? Anything we can turn off in the build to save time, but still provide everything UFS_UTILS needs?

@GeorgeGayno-NOAA do you know?

@edwardhartnett edwardhartnett self-assigned this Dec 13, 2022
@GeorgeGayno-NOAA
Copy link
Collaborator

@edwardhartnett I do not know. Perhaps @theurich can advise.

@theurich
Copy link

You can set ESMF_MOAB=OFF to turn off building MOAB. This portion of the code is not yet used internally by default, and I doubt that UFS_UTILS is making the required run-time call to use it.
The only other part that might have some significant savings is to set ESMF_ARRAY_LITE=TRUE. This reduces the the overloading of Array and Field classes to only up to 4D, which might be sufficient for UFS_UTILS, also.
Obviously, using an external PIO via ESMF_PIO=external will safe you the time of internally building it, but I assume you are already doing that.
Those are the lowest hanging fruit I can think at the moment.

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

Successfully merging a pull request may close this issue.

3 participants