General/Modules

From HPC
Revision as of 09:48, 7 February 2017 by Chris.collins (talk | contribs) (Created page with "== Introduction == The SLURM (Simple Linux Utility for Resource Management workload manager is a free and open-source job scheduler for the Linux kernel. It is used by Viper a...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation , search

Introduction

The SLURM (Simple Linux Utility for Resource Management workload manager is a free and open-source job scheduler for the Linux kernel. It is used by Viper and many of the world's supercomputers (and clusters).

Module command

module avail

[username@login01 ~]$ module avail

------------------------------ /usr/share/Modules/modulefiles ------------------------------
dot         module-git  module-info modules     null        use.own

------------------------------ /trinity/clustervision/CentOS/7/modulefiles ------------------------------
abyss/1.5.2/gcc-4.9.3                   idl/8.4                                 openhu/3.1.0
anaconda/4.0                            insighttoolkit/4.4.2                    openmpi/1.10.5/gcc-5.2.0
ansys/v170                              intel/2016                              openmpi/1.10.5/gcc-6.3.0
ansys/v172                              intel/2017                              openmpi/1.10.5/intel-2017
[username@login01 ~]$ module avail gcc

------------------------------ /trinity/clustervision/CentOS/7/modulefiles ------------------------------
gcc/4.9.3(default) gcc/5.2.0          gcc/6.3.0          gcc/legacy


module show

[username@login01 ~]$ module show abyss/1.5.2/gcc-4.9.3
-------------------------------------------------------------------
/trinity/clustervision/CentOS/7/modulefiles/abyss/1.5.2/gcc-4.9.3:

module-whatis    ABySS is a de novo sequence assembler intended for short paired-end reads and large genomes
prepend-path     PATH /trinity/clustervision/CentOS/7/apps/abyss/1.5.2/gcc-4.9.3/bin
prepend-path     LD_LIBRARY_PATH /trinity/clustervision/CentOS/7/apps/abyss/1.5.2/gcc-4.9.3/lib
prepend-path     C_INCLUDE_PATH /trinity/clustervision/CentOS/7/apps/abyss/1.5.2/gcc-4.9.3/include
prepend-path     PKG_CONFIG_PATH /trinity/clustervision/CentOS/7/apps/abyss/1.5.2/gcc-4.9.3/lib/pkgconfig
-------------------------------------------------------------------

module load

Note: module load and module add are the same

module list

squeue shows information about jobs in the scheduling queue


module delete

Note: module delete, module del and module rm are the same

module purge

module whatis