|
|
<!-- START doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
<!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE -->
|
|
|
# Content
|
|
|
|
|
|
- [Environment modules](#environment-modules)
|
|
|
- [Usage](#usage)
|
|
|
|
|
|
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
|
|
|
|
|
|
# Environment modules
|
|
|
|
|
|
|
|
|
The `module` command is installed on the cluster. It allows you to use specific versions of libraries, that are not present in the packaging system. This is done by modifying your environment variables, like `LD_LIBRARY_PATH` or `PATH`.
|
|
|
|
|
|
|
|
|
#### Usage
|
|
|
|
|
|
* List the available modules with:
|
|
|
|
|
|
```
|
|
|
module avail
|
|
|
```
|
|
|
|
|
|
* List the currently load modules with:
|
|
|
|
|
|
```
|
|
|
module list
|
|
|
```
|
|
|
|
|
|
* Load a new module:
|
|
|
|
|
|
```
|
|
|
module load <modulename>
|
|
|
```
|
|
|
|
|
|
* Unload a module:
|
|
|
|
|
|
```
|
|
|
module unload <modulename>
|
|
|
```
|
|
|
|
|
|
When using module, there are two kinds of modules available:
|
|
|
|
|
|
* Single modules: Modules that load environment for a specific library
|
|
|
* Profile modules: Meta-modules that load other modules
|
|
|
|
|
|
When using the modules, you really need to pay attention to the modules you load, specifically due to the dependencies that exist between modules (e.g. petsc is compiled for a specific version of OpenMPI, thus will not work with other MPI versions). For this reason, we will only provide support for Profile modules.
|
|
|
In case you encounter problems, please ask the persons in charge, indicated when you log on atlas. |
|
|
\ No newline at end of file |