-[Interactive access to the nodes](#interactive-access-to-the-nodes)
-[Basic slurm script with an MPI application](#basic-slurm-script-with-an-mpi-application)
-[Other use-cases for slurm:](#other-use-cases-for-slurm)
-[Run a program in the background](#run-a-program-in-the-background)
-[Nohup](#nohup)
-[Screen (recommended)](#screen-recommended)
-[Troobleshooting](#troobleshooting)
-[My code runs slower on a computing server than on my laptop. Whay is the problem ?](#my-code-runs-slower-on-a-computing-server-than-on-my-laptop-whay-is-the-problem)
-[CMake](#cmake)
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
# Irma atlas cluster
## Description
...
...
@@ -39,47 +65,9 @@ On the frontal node irma-atlas, you have access to several storage:
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`.
The directory for custom installation is `/data/software`.
To be able to use module, you first have to source the base config file:
```
source /etc/profile.d/modules.sh
```
This can be done for example in the config file of your shell (e.g. `~/.bashrc` for bash or `~/.zshrc`for zsh).
Here is a sample code that you can put in your `.bashrc` or `.zshrc` to get the module command and all the available modules on atlas:
<!--
export HOSTNAME=`hostname`
if [[ $HOSTNAME =~ "irma-atlas*" ]]; then
-->
```
# source module configuration
FILE_TO_SOURCE=/etc/profile.d/modules.sh
if [[ -f "${FILE_TO_SOURCE}" ]]; then
source ${FILE_TO_SOURCE}
else
echo "File to source (${FILE_TO_SOURCE}) does not exist"
fi
# source atlas configuration for modules
PREVPATH=`pwd`
cd /data/software/config/etc
FILE_TO_SOURCE=feelpprc.sh
if [[ -f "${FILE_TO_SOURCE}" ]]; then
source ${FILE_TO_SOURCE}
else
echo "File to source (${FILE_TO_SOURCE}) does not exist"