hpcc mid-morning break module system. what are modules? “the environment modules package provides...

10
HPCC Mid-Morning Break Module System

Upload: roxanne-white

Post on 27-Dec-2015

213 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

HPCC Mid-Morning Break

Module System

Page 2: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

What are Modules?

• “The Environment Modules package provides for the dynamic modification of a user's environment via modulefiles. “

• The main use at the HPCC is for loading different application environments.

Page 3: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

HPCC Supported Modules

• Default supported modules are presented.

• “module avail”----------------------------------------------------- /opt/hpc/Modules/versions -----------------------------------------------------3.2.0rc4 3.2.6

------------------------------------------------ /opt/hpc/Modules/3.2.6/modulefiles -------------------------------------------------dot module-cvs module-info modules null use.cus use.old use.own

--------------------------------------------------- /opt/hpc/Modules/modulefiles ----------------------------------------------------HEEDS/5.3 fluent/6.3.26 ls-dyna/971 mono pgi/6.2 totalview/8.7.0R/2.7.0 gnu matlab/2006b mvapich/intel/1.1.0 pgi/7.0 totalview_old/8.0.2R/Rmpi hp-mpi matlab/2009a openmpi/intel/1.2.8 ps/2.2.1 totalview_old/8.7.0abaqus hpcc-common mcc-runtime openmpi/intel/1.3.3 ps/2.3 uniclusterabaqus_parallel hpccgateway mkl/09.1.021 pathscale/2.2.1 ps/2.4 valgrind/3.4.1amber/10.0 i386/intelcc/09.0 mkl/10.0.3.020 pathscale/2.3 ps/2.5 valkyrie/1.4.0blast intelcc/09.0 mkl/10.1.1.019 pathscale/2.4 ps/3.1 vtune/9.1check-dev intelcc/10.0.025 mkl/10.1.2.024 pathscale/2.5 starp/2.8.0 vtune/rdc/9.1cvs intelcc/11.0.083 moab/5.2.4 pathscale/3.1 subversionemboss ls-dyna/970 moab/5.3.4 pdsh totalview/8.0.2

Page 4: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

CUS - Center Un-supported Software• To use unsupported software:

“module load use.cus”

• “module avail”------------------------------------------------------- /opt/cus/modulefiles --------------------------------------------------------R/gcc/2.9.2 cuda/2.2 g95/g95-0.92 imagemagick nvidia/cuda-2.0 siesta/02.00.01R/intel/2.9.2 cuda/testing/2.3 gdal impi/3.1 openmm/Preview3 valgrind/3.2.0R/pathscale/2.3.1 dock/6.2 git/1.6.4.4 java/jre-1.6.0_13 pascal/fpc-2.2.4boost/01.39 dock/6.2-mpi gromacs/cuda/3.0.5 java/jre-1.6.0_14 powertoolscmake fftw32 gromacs/std/3.0.5 ncarg python

Page 5: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

Private Modules

• Create ~/privatemodules

• “module load use.own”

• “module avail”

Page 6: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

Module Manipulation

• For example: “module list” “module unload intelcc mkl” “module load gnu”

• Alternatively module switch intelcc gnu

• Specific versions module load intelcc/10.0.025

Page 7: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

More Module Manipulation

• Module Commands module avail intelcc module show intelcc/10.0.025

• Automatic Module loading module commands in .bashrc ${HOME}/.modulerc

Page 8: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

Module Example#%Module########################################################################## R modulefile##proc ModulesHelp { } { puts stderr "Use R."}

set r_path /opt/hpc/Rset ver 2.7.0module load check-dev

if { [uname machine] == "x86_64" } {prepend-path PATH /opt/hpc/R/2.7.0/binprepend-path LD_LIBRARY_PATH $r_path/$ver/lib64/R/lib

prepend-path LIBRARY_PATH $r_path/$ver/lib64/R/lib

set-alias R "R"}

Page 9: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

Resources

• GNU Modules website: http://modules.sourceforge.net/

• HPCC Documentation: https://wiki.hpcc.msu.edu/display/hpccdocs/module

• “man module” and “man modulefile”

Page 10: HPCC Mid-Morning Break Module System. What are Modules? “The Environment Modules package provides for the dynamic modification of a user's environment

Questions?