... | @@ -66,11 +66,18 @@ The specification of `root_dir` is mandatory. |
... | @@ -66,11 +66,18 @@ The specification of `root_dir` is mandatory. |
|
|
|
|
|
It is possible to use/load multiple overlays at the same time. Multiple used/loaded overlays are organised as stack. Using/loading an overlay pushes it on top of the stack. It is only possible to unuse/unload the overlay on top of the stack.
|
|
It is possible to use/load multiple overlays at the same time. Multiple used/loaded overlays are organised as stack. Using/loading an overlay pushes it on top of the stack. It is only possible to unuse/unload the overlay on top of the stack.
|
|
|
|
|
|
|
|
The 'overlay' at the bottom of the stack is called the base overlay and cannot be unloaded.
|
|
|
|
|
|
==== Overlay types
|
|
==== Overlay types
|
|
|
|
|
|
`normal`:: In an overlay of this types the modules in the overlay are added to the already available modules provided by the overlays on the stack. If modules with identical name/version exist in multiple overlays, the module from the overlay which is higher on the stack is used. In other words modules with identical name/version are replaced by overlays loaded later.
|
|
`normal`:: In an overlay of this types the modules in the overlay are added to the already available modules provided by the overlays on the stack. If modules with identical name/version exist in multiple overlays, the module from the overlay which is higher on the stack is used. In other words modules with identical name/version are replaced by overlays loaded later.
|
|
+
|
|
+
|
|
Example:
|
|
Example: Assume we have the overlays `base` and `private`. In the base overlay the modules `gnuplot/5.4.0` and `gnuplot/5.4.2` are available. In private overlay we have `gnuplot/5.4.2` and `gnuplot/5.4.3` (maybe compiled with a different configuration).
|
|
|
|
+
|
|
|
|
After loading the private overlay the following Gnuplot modules are available:
|
|
|
|
* `gnuplot/5.4.0` from the base overlay
|
|
|
|
* `gnuplot/5.4.2` and `gnuplot/5.4.3`from the private overlay
|
|
|
|
|
|
|
|
|
|
`hiding`:: An overlay of this types hides all modules with the same name in previous loaded overlays.
|
|
`hiding`:: An overlay of this types hides all modules with the same name in previous loaded overlays.
|
|
|
|
|
... | | ... | |