NOAA-OWP / t-route

Tree based hydrologic and hydraulic routing
Other
40 stars 45 forks source link

Simplify compilation of t-route on WSL #707

Open JurgenZach-NOAA opened 7 months ago

JurgenZach-NOAA commented 7 months ago

To simplify compilation of t-route on non-traditional compute environments such as WSL, added the option to set a new alternative NETCDF environment variable, without interfering with the existing compile procedures (if said NETCDFALTERNATIVE is not defined). The value-add here is that no custom conda environment is needed any longer to set the pesky NETCDF include path on WSL.

Additions

Removals

-

Changes

-

Testing

  1. On environments such as WSL, set your own alternative NETCDF include directory, e.g.: export NETCDFALTERNATIVE=$HOME/.conda/envs/py39/include/, Then run ./compiler.sh as before.

  2. If that is not desired, follow present instructions, there are no changes.

Screenshots

Notes

-

Todos

-

Checklist

Testing checklist

Target Environment support

Accessibility

Other