Environment modules transcript

The following transcript shows that we are starting off with no modules loaded. Obtaining a listing of available modules. Then loading the Intel compiler, followed by the Intel MPI implementation, Jasper, NetCDF and Parallel NetCDF.

We list the modules currently loaded and see that the dependecies for MPI, namely slurm and the dependecies for NetCDF, namely HDF5 and szip were automatically loaded.

All these loaded modules are then saved as a collection called wrf, since these are the modules needed to build WRF.

We then purge all the loaded modules, show that nothing is loaded and then restore this collection of modules.

$ ml
No modules loaded

$ ml av

---------------------------------- Compilers -----------------------------------
   gcc/5.1.0    intel/15.0.2 (m)    pgi/15.3

--------------------------- Independent Applications ---------------------------
   allinea/forge/5.0.1 (m)      loadbalance/0.1    slurm/blanca      (S)
   allinea/forge/5.1   (m,D)    matlab/2015a       slurm/slurm       (S,D)
   autotools/2.69               ncl/6.3.0          stdenv
   cmake/3.2.2                  papi/5.4.1         subversion/1.8.13
   cuda/7.0.28         (g)      paraview/4.3.1     tcltk/8.6.4
   curc-bench/master            pdtoolkit/3.20     totalview/8.15.4
   expat/2.1.0                  perl/5.22.0        udunits/2.2.19
   git/2.4.2                    qt/5.5.0           valgrind/3.10.1
   itac/9.0.3.051      (m)      rocoto/1.2
   jdk/1.8.0                    ruby/2.2.3

---------------------------- Lmod Internal Modules -----------------------------
   lmod/6.0.8    settarg/6.0.8

  Where:
   S:  Module is Sticky, requires --force to unload or purge
   g:  built for GPU
   m:  built for host and native MIC
   D:  Default Module

Use "module spider" to find all possible modules.
Use "module keyword key1 key2 ..." to search for all possible modules matching
any of the "keys".

$ ml intel
$ ml impi
$ ml jasper netcdf pnetcdf
$ ml

Currently Loaded Modules:
  1) intel/15.0.2 (m)   3) impi/5.0.3.048   5) szip/2.1      7) netcdf/4.3.3.1
  2) slurm/slurm  (S)   4) jasper/1.900.1   6) hdf5/1.8.15   8) pnetcdf/1.6.1

  Where:
   S:  Module is Sticky, requires --force to unload or purge
   m:  built for host and native MIC

$ ml save wrf
$ ml --force purge
$ ml
No modules loaded

$ ml restore wrf
Restoring modules to user's wrf
$ ml

Currently Loaded Modules:
  1) intel/15.0.2 (m)   3) impi/5.0.3.048   5) szip/2.1      7) netcdf/4.3.3.1
  2) slurm/slurm  (S)   4) jasper/1.900.1   6) hdf5/1.8.15   8) pnetcdf/1.6.1

  Where:
   S:  Module is Sticky, requires --force to unload or purge
   m:  built for host and native MIC