In SQUID, the environment variable settings of the compiler, library, and application environment are managed by Environment modules. By using the module command, it is possible to set the environment variables required for using the application in a unified manner.
The main usage is shown below.
|module avail||List of available development environments / apps|
|module list||List of loaded modules|
|module switch [file1] [file2]||Module replacement (file1 → file2)|
|module load [file]||load a module|
|module unload [file]||unload a module|
|module purge||Unload all loaded modules|
|module show [file]||Detailed display of modules|
*Note: If you want to use the module command in a csh shell script, you need to execute "source /etc/profile.d/modules.sh" in advance.
SQUID provides a base environment that summarizes the environment variable settings required for each calculation environment. By loading the base environment first, you can easily arrange the environment variable settings.
The base environment prepared by this system is as follows.
|Compiler + MPI + Library||BaseCPU/2021||Recommended environment for program development for general-purpose CPU nodes|
|BaseVEC/2021||Recommended environment for program development for Vector nodes|
|BaseGPU/2021||Recommended environment for program development for GPU nodes|
|BaseGCC/2021||Development environment when using GCC|
|Language environment + module||BasePy/2021||Program development environment for Python|
|BaseR/2021||Program development environment for R|
|BaseJulia/2021||Program development environment for Julia|
|Application||BaseApp/2021||Base environment for ISV and OSS application users|