In Vuori the program development environment is managed using the modules package. With the module environment management of different application versions is easy. It makes possible to switch easily between different compiler suites and versions.
Module environment will automatically set library and command search paths upon loading a particular module. Similarly the library and command paths are cleared from existing paths when unloading a module.
Currently loaded modules are listed with command
module list
For general module information one uses command
module help PrgEnv-pgi
The environment changes induced by a particular module are shown with command
module show PrgEnv-pgi
The example above shows the effects of the default version of PGI programming environment. All available modules are listed with command
module avail
Loading and unloading modules files is done with module commands load and unload.
module unload hdf
module load netcdf
Changing from the PGI programming environment to GNU programming environment, for example, is accomplished with the command
module swap PrgEnv-pgi PrgEnv-gnu
This, among other things, modifies user's command search path $PATH so that f90 compiler name points to GNU gfortran instead of pgf90. NB! When changing compiler suites one should change the environment module instead of simple compiler module.