Simplify compilation of t-route on WSL #707
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
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.
If that is not desired, follow present instructions, there are no changes.
Screenshots
Notes
Todos
Checklist
Testing checklist
Target Environment support
Accessibility
Other