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

make build of mct, gptl, pio optional #3050

Open
jedwards4b opened this issue Mar 21, 2019 · 6 comments
Open

make build of mct, gptl, pio optional #3050

jedwards4b opened this issue Mar 21, 2019 · 6 comments

Comments

@jedwards4b
Copy link
Contributor

I am planning to introduce an enhancement such that if a valid library version of these libraries is available on a system then it will be used and the cesm provided source would not be built.

@ekluzek
Copy link
Contributor

ekluzek commented Mar 21, 2019

@jedwards4b just some questions. Is it going to check what version of each of these is installed? And if not could there be version incompatibility issues where you couldn't use the installed version? That could be either because a feature isn't available in one version, or because of a difference in answers. Also sometimes small differences in the build can be problematic, so it'll need to select a version compatible with the CESM build. I wonder if this should be an optional thing like how the ESMF build is used in CESM? Just throwing those things out there...

@jedwards4b
Copy link
Contributor Author

The idea is to define this in config_machines.xml by, for example, loading a module so that we
would control which library versions are available to a given cesm version.

@jedwards4b
Copy link
Contributor Author

PIO is done: if a module exists which defines the following environment variables then the pio build will be skipped and the installed module will be used:

PIO_LIBDIR
PIO_VERSION_MAJOR
PIO_TYPENAME_VALID_VALUES
PIO_INCDIR

PIO_VERSION_MAJOR should be 1 or 2, the installed library will only be used if this number matches PIO_VERSION in the case.
PIO_TYPENAME_VALID_VALUES is a list of the backend libraries supported by this build - allowed values are netcdf,pnetcdf,netcdf4p,netcdf4c

@github-actions
Copy link
Contributor

This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days.

@github-actions github-actions bot added the Stale label Jul 19, 2023
@rljacob
Copy link
Member

rljacob commented Jul 19, 2023

Would still like this for MCT and gptl

@rljacob rljacob assigned jasonb5 and unassigned jedwards4b Jul 19, 2023
@jedwards4b
Copy link
Contributor Author

PIO build is already optional.

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

No branches or pull requests

4 participants