Closed drsteve closed 3 years ago
Calling @Pheosics for review please!
@drsteve Looks good, this probably should have been included awhile ago
Thanks @Pheosics - I'll go ahead and merge. I will note that we'll want to update the scheme options soon, as the settings are no longer good. We should also be able to use the auto settings for institutional users as long as all the selected modules are compatible (and built properly).
The current
Config.pl
allows for specification of the locations of both NetCDF4 and GSL, but assumes a directory structure that isn't necessarily respected on system installs. It also requires the user to explicitly know where these libraries are located and appropriate flags are hard-coded.This PR updates this by adding the option to use
nf-config
andgsl-config
to look up the install locations and flags. The installation instructions in the README are also expanded.Old behaviour is preserved. New behaviour is that supplying
-ncdf
and-gsl
flags without a corresponding value will then attempt to use the config utilities to look up the location and flags for each dependent library.(Edit to note that the force-push was after rebasing against master to ensure that the PR can be rebase-merged)