ESCOMP / CTSM

Community Terrestrial Systems Model (includes the Community Land Model of CESM)
http://www.cesm.ucar.edu/models/cesm2.0/land/
Other
301 stars 306 forks source link

Remove the NCAR specific paths that don't allow things to work outside of Derecho #2133

Open ekluzek opened 1 year ago

ekluzek commented 1 year ago

Doing a "git grep glade" I see a lot of glade specific paths in our code. Some of this is acceptable, as these are contrib support codes only expected to work on NCAR machines. Some of it is also just setting up tools to work on specific machines (although some of those should be updated to use cime configure). Some of it's just documentation, so that's OK.

I see several testmod directories that have a dependence on absolute paths under /glade. The data here should be entered into inputdata, so these tests can be run elsewhere.

We should also add some error reporting so that a sensible error message is given about the problem when it's encountered.

Definition of done:

ekluzek commented 1 year ago

Here's the Forum question about this:

https://bb.cgd.ucar.edu/cesm/threads/running-prealpha-tests-in-sms_d-f09_g16-i1850clm50bgcspinup-the-datm-input_data_list-references-glade.5339/

And the cime discussion that brought this up:

https://github.com/ESMCI/cime/discussions/4482#discussioncomment-6889432