Modules Setup - LCAS/Cluster_wiki GitHub Wiki

modules is a tool for changing environment variables in order to load different libraries and tools if you need cuda 9.5 for example, you can just do module load cuda9.5 and you're done

modules doesn't actually install any libraries, just activates those that are already installed somewhere

modules is also used at the lichtenberg cluster at TU Darmstadt and we basically cloned their setup for easier installation

installation

git clone https://github.com/cea-hpc/modules.git
cd modules/
apt install autoconf automake autopoint gcc tcl-dev python3-sphinx dejagn
./configure

make -C doc all
make install

Modulefiles can be examined with

module display cuda/9.0

etc New "modulefiles" for cuda versions can be created by copying and editing existing files in /shared/modulefiles/cuda/

⚠️ **GitHub.com Fallback** ⚠️