CRC Customizing Your Environment with the Module Command with lmod
CRC Customizing Your Environment with the Module Command with lmod
Each user can customize their environment using the module command. This command lets you select software and will source the appropriate paths and libraries. All the requested user applications are located under the /opt/apps directory.
To list what applications are available, use the spider sub command:
To see a description of a specific package, use the spider sub command again:
To load the module for OpenMPI built with the GCC compilers, for example, use the load sub command:
To see a list of modules that you have loaded, use this command:
To change to the Intel compiler build of OpenMPI use the swap sub command:
To unload all of your modules, use this command:
To make sure a set of modules are loaded automatically at login, use the module save sub command:
Sometimes a module will not load without explicit dependencies. The following outlines this "error" and what to do.