[SAGA-RG] usage of SAGA_LOCATION

Mathijs den Burger mathijs at cs.vu.nl
Wed Oct 15 07:10:15 CDT 2008


Hi all,

Both the C++ implementation and the Java implementation of SAGA use the
environment variable SAGA_LOCATION to point to the location of the SAGA
installation. Right now, it is therefore impossible to use both the C++
and Java SAGA implementation simultaneously without changing
SAGA_LOCATION all the time. Even worse, future SAGA implementations may
also reuse SAGA_LOCATION.

It seems desirable to avoid such clashes between multiple SAGA
installations in general. What would be the best generic way to
accomplish that? Should the SAGA spec define a global environment
variable namespace (e.g. LSU_C++_SAGA_LOCATION, VU_JAVA_SAGA_LOCATION)?
And are such environment variables really needed in all implementations
in the first place?

regards,
Mathijs




More information about the saga-rg mailing list