===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
===========================
step 2
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load TACC
===========================
APPS=/unknown/apps;
export APPS;
ICC_BIN=/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64;
export ICC_BIN;
ICC_LIB=/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64;
export ICC_LIB;
IFC_BIN=/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64;
export IFC_BIN;
IFC_LIB=/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64;
export IFC_LIB;
IIDB_BIN=/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64;
export IIDB_BIN;
__LMOD_REF_COUNT_INCLUDE=/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/include:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/include:1;
export __LMOD_REF_COUNT_INCLUDE;
INCLUDE=/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/include:/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/include;
export INCLUDE;
__LMOD_REF_COUNT_INFOPATH=/unknown/apps/intel13/mvapich2/1.9/doc:1;
export __LMOD_REF_COUNT_INFOPATH;
INFOPATH=/unknown/apps/intel13/mvapich2/1.9/doc;
export INFOPATH;
__LMOD_REF_COUNT_IPPROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/ipp:1;
export __LMOD_REF_COUNT_IPPROOT;
IPPROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/ipp;
export IPPROOT;
__LMOD_REF_COUNT_LD_LIBRARY_PATH=/unknown/apps/intel13/mvapich2/1.9/lib:1\;/unknown/apps/intel13/mvapich2/1.9/lib/shared:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/intel64:2\;/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64:2\;/opt/intel/mic/coi/host-linux-release/lib:1\;/opt/intel/mic/myo/lib:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/../compiler/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64:1;
export __LMOD_REF_COUNT_LD_LIBRARY_PATH;
LD_LIBRARY_PATH=/unknown/apps/intel13/mvapich2/1.9/lib:/unknown/apps/intel13/mvapich2/1.9/lib/shared:/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/../compiler/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64;
export LD_LIBRARY_PATH;
LMOD_FAMILY_COMPILER=intel;
export LMOD_FAMILY_COMPILER;
LMOD_FAMILY_COMPILER_VERSION=13.0.2.146;
export LMOD_FAMILY_COMPILER_VERSION;
LMOD_FAMILY_MPI=mvapich2;
export LMOD_FAMILY_MPI;
LMOD_FAMILY_MPI_VERSION=1.9a2;
export LMOD_FAMILY_MPI_VERSION;
LOADEDMODULES=TACC-paths:Linux:cluster-paths:intel/13.0.2.146:mvapich2/1.9a2:cluster:TACC;
export LOADEDMODULES;
__LMOD_REF_COUNT_MANPATH=/unknown/apps/intel13/mvapich2/1.9/man:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/man/en_US:2\;/unknown/apps/intel/13/vtune_amplifier_xe_2013/man:1\;/usr/local/man:2\;/usr/share/man:1\;/usr/X11R6/man:1\;/usr/kerberos/man:1\;/usr/man:1;
export __LMOD_REF_COUNT_MANPATH;
MANPATH=/unknown/apps/intel13/mvapich2/1.9/man:/unknown/apps/intel/13/composer_xe_2013.2.146/man/en_US:/unknown/apps/intel/13/vtune_amplifier_xe_2013/man:/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/kerberos/man:/usr/man;
export MANPATH;
MIC_ENV_PREFIX=MIC;
export MIC_ENV_PREFIX;
__LMOD_REF_COUNT_MIC_LD_LIBRARY_PATH=/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/mic:2\;/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/mic:1\;/opt/intel/mic/coi/device-linux-release/lib:1\;/opt/intel/mic/myo/lib:1;
export __LMOD_REF_COUNT_MIC_LD_LIBRARY_PATH;
MIC_LD_LIBRARY_PATH=/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/mic:/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/mic:/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib;
export MIC_LD_LIBRARY_PATH;
__LMOD_REF_COUNT_MKLROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl:1;
export __LMOD_REF_COUNT_MKLROOT;
MKLROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl;
export MKLROOT;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/mvapich2/1.9:1\;ProjectDIR/rt/lars/mf/Compiler/intel/13.0:1\;ProjectDIR/rt/lars/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/mvapich2/1.9:ProjectDIR/rt/lars/mf/Compiler/intel/13.0:ProjectDIR/rt/lars/mf/Core;
export MODULEPATH;
MPICH_HOME=/unknown/apps/intel13/mvapich2/1.9;
export MPICH_HOME;
OMP_NUM_THREADS=1;
export OMP_NUM_THREADS;
__LMOD_REF_COUNT_PATH=/unknown/apps/intel13/mvapich2/1.9/bin:1\;/unknown/apps/intel/13/vtune_amplifier_xe_2013/bin64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/bin/intel64:1\;/opt/intel/sep/bin:1\;ProjectDIR/proj_mgmt:1\;PATH_to_TM:1\;.:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64:2\;/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64_mic:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/debugger/gui/intel64:1;
export __LMOD_REF_COUNT_PATH;
PATH=/unknown/apps/intel13/mvapich2/1.9/bin:/unknown/apps/intel/13/vtune_amplifier_xe_2013/bin64:/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/bin/intel64:/opt/intel/sep/bin:ProjectDIR/proj_mgmt:PATH_to_TM:.:/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64_mic:/unknown/apps/intel/13/composer_xe_2013.2.146/debugger/gui/intel64;
export PATH;
__LMOD_REF_COUNT_PKG_CONFIG_PATH=/unknown/apps/intel13/mvapich2/1.9/lib/pkgconfig:1;
export __LMOD_REF_COUNT_PKG_CONFIG_PATH;
PKG_CONFIG_PATH=/unknown/apps/intel13/mvapich2/1.9/lib/pkgconfig;
export PKG_CONFIG_PATH;
__LMOD_REF_COUNT_SINK_LD_LIBRARY_PATH=/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/mic:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/mic:1;
export __LMOD_REF_COUNT_SINK_LD_LIBRARY_PATH;
SINK_LD_LIBRARY_PATH=/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/mic:/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/mic;
export SINK_LD_LIBRARY_PATH;
STTY_ARGS=sane;
export STTY_ARGS;
SYSTEM=linux;
export SYSTEM;
TACC_DOMAIN=stampede;
export TACC_DOMAIN;
TACC_MKL_DIR=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl;
export TACC_MKL_DIR;
TACC_MKL_INC=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/include;
export TACC_MKL_INC;
TACC_MKL_LIB=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64;
export TACC_MKL_LIB;
TACC_MPI_GETMODE=mvapich2_ssh;
export TACC_MPI_GETMODE;
TACC_SYSTEM=stampede;
export TACC_SYSTEM;
__LMOD_REF_COUNT_TBBROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/tbb:1;
export __LMOD_REF_COUNT_TBBROOT;
TBBROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/tbb;
export TBBROOT;
_LMFILES_=ProjectDIR/rt/lars/mf/Core/TACC-paths.lua:ProjectDIR/rt/lars/mf/Core/Linux.lua:ProjectDIR/rt/lars/mf/Core/cluster-paths.lua:ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua:ProjectDIR/rt/lars/mf/Compiler/intel/13.0/mvapich2/1.9a2.lua:ProjectDIR/rt/lars/mf/Core/cluster.lua:ProjectDIR/rt/lars/mf/Core/TACC.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="mvapich2",compiler="intel",},mT={Linux={fn="ProjectDIR/rt/lars/mf/Core/Linux.lua",fullName="Linux",loadOrder=2,propT={},stackDepth=1,status="active",userName="Linux",wV="M.*zfinal",},TACC={fn="ProjectDIR/rt/lars/mf/Core/TACC.lua",fullName="TACC",loadOrder=7,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},["TACC-paths"]={fn="ProjectDIR/rt/lars/mf/Core/TACC-paths.lua",fullName="TACC-paths",loadOrder=1,propT={},stackDepth=1,status="active",userName="TACC-paths",wV="M.*zfinal",},cluster={fn="ProjectDIR/rt/lars/mf/Core/cluster.lua",fullName="cluster",loadOrder=6,propT={},stackDepth=1,status="active",userName="cluster",wV="M.*zfinal",},["cluster-paths"]={fn="ProjectDIR/rt/lars/mf/Core/cluster-paths.lua",fullName="cluster-paths",loadOrder=3,propT={},stackDepth=2,status="active",userName="cluster-paths",wV="M.*zfinal",},intel={fn="ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua",fullName="intel/13.0.2.146",loadOrder=4,propT={},stackDepth=2,status="active",userName="intel",wV="000000013.000000000.000000002.000000146.*zfinal",},mvapich2={fn="ProjectDIR/rt/lars/mf/Compiler/intel/13.0/mvapich2/1.9a2.lua",fullName="mvapich2/1.9a2",loadOrder=5,propT={},stackDepth=2,status="active",userName="mvapich2",wV="000000001.000000009.*a.000000002.*zfinal",},},mpathA={"ProjectDIR/rt/lars/mf/MPI/intel/13.0/mvapich2/1.9","ProjectDIR/rt/lars/mf/Compiler/intel/13.0","ProjectDIR/rt/lars/mf/Core",},systemBaseMPATH="ProjectDIR/rt/lars/mf/Core",}';
export _ModuleTable_;
===========================
step 3
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/mvapich2/1.9:ProjectDIR/rt/lars/mf/Compiler/intel/13.0:ProjectDIR/rt/lars/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="mvapich2",compiler="intel",},mT={Linux={fn="ProjectDIR/rt/lars/mf/Core/Linux.lua",fullName="Linux",loadOrder=2,propT={},stackDepth=1,status="active",userName="Linux",wV="M.*zfinal",},TACC={fn="ProjectDIR/rt/lars/mf/Core/TACC.lua",fullName="TACC",loadOrder=7,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},["TACC-paths"]={fn="ProjectDIR/rt/lars/mf/Core/TACC-paths.lua",fullName="TACC-paths",loadOrder=1,propT={},stackDepth=1,status="active",userName="TACC-paths",wV="M.*zfinal",},cluster={fn="ProjectDIR/rt/lars/mf/Core/cluster.lua",fullName="cluster",loadOrder=6,propT={},stackDepth=1,status="active",userName="cluster",wV="M.*zfinal",},["cluster-paths"]={fn="ProjectDIR/rt/lars/mf/Core/cluster-paths.lua",fullName="cluster-paths",loadOrder=3,propT={},stackDepth=2,status="active",userName="cluster-paths",wV="M.*zfinal",},intel={fn="ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua",fullName="intel/13.0.2.146",loadOrder=4,propT={},stackDepth=2,status="active",userName="intel",wV="000000013.000000000.000000002.000000146.*zfinal",},mvapich2={fn="ProjectDIR/rt/lars/mf/Compiler/intel/13.0/mvapich2/1.9a2.lua",fullName="mvapich2/1.9a2",loadOrder=5,propT={},stackDepth=2,status="active",userName="mvapich2",wV="000000001.000000009.*a.000000002.*zfinal",},},mpathA={"ProjectDIR/rt/lars/mf/MPI/intel/13.0/mvapich2/1.9","ProjectDIR/rt/lars/mf/Compiler/intel/13.0","ProjectDIR/rt/lars/mf/Core",},systemBaseMPATH="ProjectDIR/rt/lars/mf/Core",}';
export _ModuleTable_;
===========================
step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing swap mvapich2 impi
===========================
__LMOD_REF_COUNT_INFOPATH=/unknown/apps/intel13/impi/4.1/doc:1;
export __LMOD_REF_COUNT_INFOPATH;
INFOPATH=/unknown/apps/intel13/impi/4.1/doc;
export INFOPATH;
__LMOD_REF_COUNT_LD_LIBRARY_PATH=/unknown/apps/intel13/impi/4.1/lib:1\;/unknown/apps/intel13/impi/4.1/lib/shared:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/intel64:2\;/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64:2\;/opt/intel/mic/coi/host-linux-release/lib:1\;/opt/intel/mic/myo/lib:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/../compiler/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64:1;
export __LMOD_REF_COUNT_LD_LIBRARY_PATH;
LD_LIBRARY_PATH=/unknown/apps/intel13/impi/4.1/lib:/unknown/apps/intel13/impi/4.1/lib/shared:/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/../compiler/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64;
export LD_LIBRARY_PATH;
LMOD_FAMILY_MPI=impi;
export LMOD_FAMILY_MPI;
LMOD_FAMILY_MPI_VERSION=4.1;
export LMOD_FAMILY_MPI_VERSION;
LOADEDMODULES=TACC-paths:Linux:cluster-paths:intel/13.0.2.146:cluster:TACC:impi/4.1;
export LOADEDMODULES;
__LMOD_REF_COUNT_MANPATH=/unknown/apps/intel13/impi/4.1/man:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/man/en_US:2\;/unknown/apps/intel/13/vtune_amplifier_xe_2013/man:1\;/usr/local/man:2\;/usr/share/man:1\;/usr/X11R6/man:1\;/usr/kerberos/man:1\;/usr/man:1;
export __LMOD_REF_COUNT_MANPATH;
MANPATH=/unknown/apps/intel13/impi/4.1/man:/unknown/apps/intel/13/composer_xe_2013.2.146/man/en_US:/unknown/apps/intel/13/vtune_amplifier_xe_2013/man:/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/kerberos/man:/usr/man;
export MANPATH;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1:1\;ProjectDIR/rt/lars/mf/Compiler/intel/13.0:1\;ProjectDIR/rt/lars/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1:ProjectDIR/rt/lars/mf/Compiler/intel/13.0:ProjectDIR/rt/lars/mf/Core;
export MODULEPATH;
MPICH_HOME=/unknown/apps/intel13/impi/4.1;
export MPICH_HOME;
__LMOD_REF_COUNT_PATH=/unknown/apps/intel13/impi/4.1/bin:1\;/unknown/apps/intel/13/vtune_amplifier_xe_2013/bin64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/bin/intel64:1\;/opt/intel/sep/bin:1\;ProjectDIR/proj_mgmt:1\;PATH_to_TM:1\;.:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64:2\;/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64_mic:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/debugger/gui/intel64:1;
export __LMOD_REF_COUNT_PATH;
PATH=/unknown/apps/intel13/impi/4.1/bin:/unknown/apps/intel/13/vtune_amplifier_xe_2013/bin64:/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/bin/intel64:/opt/intel/sep/bin:ProjectDIR/proj_mgmt:PATH_to_TM:.:/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64_mic:/unknown/apps/intel/13/composer_xe_2013.2.146/debugger/gui/intel64;
export PATH;
__LMOD_REF_COUNT_PKG_CONFIG_PATH=/unknown/apps/intel13/impi/4.1/lib/pkgconfig:1;
export __LMOD_REF_COUNT_PKG_CONFIG_PATH;
PKG_CONFIG_PATH=/unknown/apps/intel13/impi/4.1/lib/pkgconfig;
export PKG_CONFIG_PATH;
TACC_MPI_GETMODE=impi_ssh;
export TACC_MPI_GETMODE;
_LMFILES_=ProjectDIR/rt/lars/mf/Core/TACC-paths.lua:ProjectDIR/rt/lars/mf/Core/Linux.lua:ProjectDIR/rt/lars/mf/Core/cluster-paths.lua:ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua:ProjectDIR/rt/lars/mf/Core/cluster.lua:ProjectDIR/rt/lars/mf/Core/TACC.lua:ProjectDIR/rt/lars/mf/Compiler/intel/13.0/impi/4.1.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="impi",compiler="intel",},mT={Linux={fn="ProjectDIR/rt/lars/mf/Core/Linux.lua",fullName="Linux",loadOrder=2,propT={},stackDepth=1,status="active",userName="Linux",wV="M.*zfinal",},TACC={fn="ProjectDIR/rt/lars/mf/Core/TACC.lua",fullName="TACC",loadOrder=6,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},["TACC-paths"]={fn="ProjectDIR/rt/lars/mf/Core/TACC-paths.lua",fullName="TACC-paths",loadOrder=1,propT={},stackDepth=1,status="active",userName="TACC-paths",wV="M.*zfinal",},cluster={fn="ProjectDIR/rt/lars/mf/Core/cluster.lua",fullName="cluster",loadOrder=5,propT={},stackDepth=1,status="active",userName="cluster",wV="M.*zfinal",},["cluster-paths"]={fn="ProjectDIR/rt/lars/mf/Core/cluster-paths.lua",fullName="cluster-paths",loadOrder=3,propT={},stackDepth=2,status="active",userName="cluster-paths",wV="M.*zfinal",},impi={fn="ProjectDIR/rt/lars/mf/Compiler/intel/13.0/impi/4.1.lua",fullName="impi/4.1",loadOrder=7,propT={},stackDepth=0,status="active",userName="impi",wV="000000004.000000001.*zfinal",},intel={fn="ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua",fullName="intel/13.0.2.146",loadOrder=4,propT={},stackDepth=2,status="active",userName="intel",wV="000000013.000000000.000000002.000000146.*zfinal",},},mpathA={"ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1","ProjectDIR/rt/lars/mf/Compiler/intel/13.0","ProjectDIR/rt/lars/mf/Core",},systemBaseMPATH="ProjectDIR/rt/lars/mf/Core",}';
export _ModuleTable_;
===========================
step 5
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1:ProjectDIR/rt/lars/mf/Compiler/intel/13.0:ProjectDIR/rt/lars/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="impi",compiler="intel",},mT={Linux={fn="ProjectDIR/rt/lars/mf/Core/Linux.lua",fullName="Linux",loadOrder=2,propT={},stackDepth=1,status="active",userName="Linux",wV="M.*zfinal",},TACC={fn="ProjectDIR/rt/lars/mf/Core/TACC.lua",fullName="TACC",loadOrder=6,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},["TACC-paths"]={fn="ProjectDIR/rt/lars/mf/Core/TACC-paths.lua",fullName="TACC-paths",loadOrder=1,propT={},stackDepth=1,status="active",userName="TACC-paths",wV="M.*zfinal",},cluster={fn="ProjectDIR/rt/lars/mf/Core/cluster.lua",fullName="cluster",loadOrder=5,propT={},stackDepth=1,status="active",userName="cluster",wV="M.*zfinal",},["cluster-paths"]={fn="ProjectDIR/rt/lars/mf/Core/cluster-paths.lua",fullName="cluster-paths",loadOrder=3,propT={},stackDepth=2,status="active",userName="cluster-paths",wV="M.*zfinal",},impi={fn="ProjectDIR/rt/lars/mf/Compiler/intel/13.0/impi/4.1.lua",fullName="impi/4.1",loadOrder=7,propT={},stackDepth=0,status="active",userName="impi",wV="000000004.000000001.*zfinal",},intel={fn="ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua",fullName="intel/13.0.2.146",loadOrder=4,propT={},stackDepth=2,status="active",userName="intel",wV="000000013.000000000.000000002.000000146.*zfinal",},},mpathA={"ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1","ProjectDIR/rt/lars/mf/Compiler/intel/13.0","ProjectDIR/rt/lars/mf/Core",},systemBaseMPATH="ProjectDIR/rt/lars/mf/Core",}';
export _ModuleTable_;
===========================
step 6
lua ProjectDIR/src/lmod.in.lua bash --regression_testing save
===========================
MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1:ProjectDIR/rt/lars/mf/Compiler/intel/13.0:ProjectDIR/rt/lars/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="impi",compiler="intel",},mT={Linux={fn="ProjectDIR/rt/lars/mf/Core/Linux.lua",fullName="Linux",loadOrder=2,propT={},stackDepth=1,status="active",userName="Linux",wV="M.*zfinal",},TACC={fn="ProjectDIR/rt/lars/mf/Core/TACC.lua",fullName="TACC",loadOrder=6,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},["TACC-paths"]={fn="ProjectDIR/rt/lars/mf/Core/TACC-paths.lua",fullName="TACC-paths",loadOrder=1,propT={},stackDepth=1,status="active",userName="TACC-paths",wV="M.*zfinal",},cluster={fn="ProjectDIR/rt/lars/mf/Core/cluster.lua",fullName="cluster",loadOrder=5,propT={},stackDepth=1,status="active",userName="cluster",wV="M.*zfinal",},["cluster-paths"]={fn="ProjectDIR/rt/lars/mf/Core/cluster-paths.lua",fullName="cluster-paths",loadOrder=3,propT={},stackDepth=2,status="active",userName="cluster-paths",wV="M.*zfinal",},impi={fn="ProjectDIR/rt/lars/mf/Compiler/intel/13.0/impi/4.1.lua",fullName="impi/4.1",loadOrder=7,propT={},stackDepth=0,status="active",userName="impi",wV="000000004.000000001.*zfinal",},intel={fn="ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua",fullName="intel/13.0.2.146",loadOrder=4,propT={},stackDepth=2,status="active",userName="intel",wV="000000013.000000000.000000002.000000146.*zfinal",},},mpathA={"ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1","ProjectDIR/rt/lars/mf/Compiler/intel/13.0","ProjectDIR/rt/lars/mf/Core",},systemBaseMPATH="ProjectDIR/rt/lars/mf/Core",}';
export _ModuleTable_;
===========================
step 7
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge
===========================
unset APPS;
unset ICC_BIN;
unset ICC_LIB;
unset IFC_BIN;
unset IFC_LIB;
unset IIDB_BIN;
unset __LMOD_REF_COUNT_INCLUDE;
unset INCLUDE;
unset __LMOD_REF_COUNT_INFOPATH;
unset INFOPATH;
unset __LMOD_REF_COUNT_IPPROOT;
unset IPPROOT;
unset __LMOD_REF_COUNT_LD_LIBRARY_PATH;
unset LD_LIBRARY_PATH;
unset LMOD_FAMILY_COMPILER;
unset LMOD_FAMILY_COMPILER_VERSION;
unset LMOD_FAMILY_MPI;
unset LMOD_FAMILY_MPI_VERSION;
unset LOADEDMODULES;
unset __LMOD_REF_COUNT_MANPATH;
unset MANPATH;
unset MIC_ENV_PREFIX;
unset __LMOD_REF_COUNT_MIC_LD_LIBRARY_PATH;
unset MIC_LD_LIBRARY_PATH;
unset __LMOD_REF_COUNT_MKLROOT;
unset MKLROOT;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/lars/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/lars/mf/Core;
export MODULEPATH;
unset MPICH_HOME;
unset OMP_NUM_THREADS;
__LMOD_REF_COUNT_PATH=ProjectDIR/proj_mgmt:1\;PATH_to_TM:1;
export __LMOD_REF_COUNT_PATH;
PATH=ProjectDIR/proj_mgmt:PATH_to_TM;
export PATH;
unset __LMOD_REF_COUNT_PKG_CONFIG_PATH;
unset PKG_CONFIG_PATH;
unset __LMOD_REF_COUNT_SINK_LD_LIBRARY_PATH;
unset SINK_LD_LIBRARY_PATH;
unset STTY_ARGS;
unset SYSTEM;
unset TACC_DOMAIN;
unset TACC_MKL_DIR;
unset TACC_MKL_INC;
unset TACC_MKL_LIB;
unset TACC_MPI_GETMODE;
unset TACC_SYSTEM;
unset __LMOD_REF_COUNT_TBBROOT;
unset TBBROOT;
unset _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={},mpathA={"ProjectDIR/rt/lars/mf/Core",},systemBaseMPATH="ProjectDIR/rt/lars/mf/Core",}';
export _ModuleTable_;
===========================
step 8
lua ProjectDIR/src/lmod.in.lua bash --regression_testing restore
===========================
APPS=/unknown/apps;
export APPS;
ICC_BIN=/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64;
export ICC_BIN;
ICC_LIB=/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64;
export ICC_LIB;
IFC_BIN=/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64;
export IFC_BIN;
IFC_LIB=/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64;
export IFC_LIB;
IIDB_BIN=/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64;
export IIDB_BIN;
__LMOD_REF_COUNT_INCLUDE=/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/include:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/include:1;
export __LMOD_REF_COUNT_INCLUDE;
INCLUDE=/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/include:/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/include;
export INCLUDE;
__LMOD_REF_COUNT_INFOPATH=/unknown/apps/intel13/impi/4.1/doc:1;
export __LMOD_REF_COUNT_INFOPATH;
INFOPATH=/unknown/apps/intel13/impi/4.1/doc;
export INFOPATH;
__LMOD_REF_COUNT_IPPROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/ipp:1;
export __LMOD_REF_COUNT_IPPROOT;
IPPROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/ipp;
export IPPROOT;
__LMOD_REF_COUNT_LD_LIBRARY_PATH=/unknown/apps/intel13/impi/4.1/lib:1\;/unknown/apps/intel13/impi/4.1/lib/shared:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/intel64:2\;/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64:2\;/opt/intel/mic/coi/host-linux-release/lib:1\;/opt/intel/mic/myo/lib:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/../compiler/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/lib/intel64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64:1;
export __LMOD_REF_COUNT_LD_LIBRARY_PATH;
LD_LIBRARY_PATH=/unknown/apps/intel13/impi/4.1/lib:/unknown/apps/intel13/impi/4.1/lib/shared:/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/intel64:/opt/intel/mic/coi/host-linux-release/lib:/opt/intel/mic/myo/lib:/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/../compiler/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/ipp/lib/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64;
export LD_LIBRARY_PATH;
LMOD_FAMILY_COMPILER=intel;
export LMOD_FAMILY_COMPILER;
LMOD_FAMILY_COMPILER_VERSION=13.0.2.146;
export LMOD_FAMILY_COMPILER_VERSION;
LMOD_FAMILY_MPI=impi;
export LMOD_FAMILY_MPI;
LMOD_FAMILY_MPI_VERSION=4.1;
export LMOD_FAMILY_MPI_VERSION;
LOADEDMODULES=TACC-paths:Linux:cluster-paths:intel/13.0.2.146:cluster:TACC:impi/4.1;
export LOADEDMODULES;
__LMOD_REF_COUNT_MANPATH=/unknown/apps/intel13/impi/4.1/man:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/man/en_US:2\;/unknown/apps/intel/13/vtune_amplifier_xe_2013/man:1\;/usr/local/man:2\;/usr/share/man:1\;/usr/X11R6/man:1\;/usr/kerberos/man:1\;/usr/man:1;
export __LMOD_REF_COUNT_MANPATH;
MANPATH=/unknown/apps/intel13/impi/4.1/man:/unknown/apps/intel/13/composer_xe_2013.2.146/man/en_US:/unknown/apps/intel/13/vtune_amplifier_xe_2013/man:/usr/local/man:/usr/share/man:/usr/X11R6/man:/usr/kerberos/man:/usr/man;
export MANPATH;
MIC_ENV_PREFIX=MIC;
export MIC_ENV_PREFIX;
__LMOD_REF_COUNT_MIC_LD_LIBRARY_PATH=/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/mic:2\;/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/mic:1\;/opt/intel/mic/coi/device-linux-release/lib:1\;/opt/intel/mic/myo/lib:1;
export __LMOD_REF_COUNT_MIC_LD_LIBRARY_PATH;
MIC_LD_LIBRARY_PATH=/unknown/apps/intel/13/composer_xe_2013.2.146/tbb/lib/mic:/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/mic:/opt/intel/mic/coi/device-linux-release/lib:/opt/intel/mic/myo/lib;
export MIC_LD_LIBRARY_PATH;
__LMOD_REF_COUNT_MKLROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl:1;
export __LMOD_REF_COUNT_MKLROOT;
MKLROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl;
export MKLROOT;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1:1\;ProjectDIR/rt/lars/mf/Compiler/intel/13.0:1\;ProjectDIR/rt/lars/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1:ProjectDIR/rt/lars/mf/Compiler/intel/13.0:ProjectDIR/rt/lars/mf/Core;
export MODULEPATH;
MPICH_HOME=/unknown/apps/intel13/impi/4.1;
export MPICH_HOME;
OMP_NUM_THREADS=1;
export OMP_NUM_THREADS;
__LMOD_REF_COUNT_PATH=/unknown/apps/intel13/impi/4.1/bin:1\;/unknown/apps/intel/13/vtune_amplifier_xe_2013/bin64:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/bin/intel64:1\;/opt/intel/sep/bin:1\;ProjectDIR/proj_mgmt:1\;PATH_to_TM:1\;.:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64:2\;/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64_mic:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/debugger/gui/intel64:1;
export __LMOD_REF_COUNT_PATH;
PATH=/unknown/apps/intel13/impi/4.1/bin:/unknown/apps/intel/13/vtune_amplifier_xe_2013/bin64:/unknown/apps/intel/13/composer_xe_2013.2.146/mpirt/bin/intel64:/opt/intel/sep/bin:ProjectDIR/proj_mgmt:PATH_to_TM:.:/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64:/unknown/apps/intel/13/composer_xe_2013.2.146/bin/intel64_mic:/unknown/apps/intel/13/composer_xe_2013.2.146/debugger/gui/intel64;
export PATH;
__LMOD_REF_COUNT_PKG_CONFIG_PATH=/unknown/apps/intel13/impi/4.1/lib/pkgconfig:1;
export __LMOD_REF_COUNT_PKG_CONFIG_PATH;
PKG_CONFIG_PATH=/unknown/apps/intel13/impi/4.1/lib/pkgconfig;
export PKG_CONFIG_PATH;
__LMOD_REF_COUNT_SINK_LD_LIBRARY_PATH=/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/mic:1\;/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/mic:1;
export __LMOD_REF_COUNT_SINK_LD_LIBRARY_PATH;
SINK_LD_LIBRARY_PATH=/unknown/apps/intel/13/composer_xe_2013.2.146/compiler/lib/mic:/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/mic;
export SINK_LD_LIBRARY_PATH;
STTY_ARGS=sane;
export STTY_ARGS;
SYSTEM=linux;
export SYSTEM;
TACC_DOMAIN=stampede;
export TACC_DOMAIN;
TACC_MKL_DIR=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl;
export TACC_MKL_DIR;
TACC_MKL_INC=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/include;
export TACC_MKL_INC;
TACC_MKL_LIB=/unknown/apps/intel/13/composer_xe_2013.2.146/mkl/lib/intel64;
export TACC_MKL_LIB;
TACC_MPI_GETMODE=impi_ssh;
export TACC_MPI_GETMODE;
TACC_SYSTEM=stampede;
export TACC_SYSTEM;
__LMOD_REF_COUNT_TBBROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/tbb:1;
export __LMOD_REF_COUNT_TBBROOT;
TBBROOT=/unknown/apps/intel/13/composer_xe_2013.2.146/tbb;
export TBBROOT;
_LMFILES_=ProjectDIR/rt/lars/mf/Core/TACC-paths.lua:ProjectDIR/rt/lars/mf/Core/Linux.lua:ProjectDIR/rt/lars/mf/Core/cluster-paths.lua:ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua:ProjectDIR/rt/lars/mf/Core/cluster.lua:ProjectDIR/rt/lars/mf/Core/TACC.lua:ProjectDIR/rt/lars/mf/Compiler/intel/13.0/impi/4.1.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="impi",compiler="intel",},mT={Linux={fn="ProjectDIR/rt/lars/mf/Core/Linux.lua",fullName="Linux",loadOrder=2,propT={},stackDepth=1,status="active",userName="Linux",wV="M.*zfinal",},TACC={fn="ProjectDIR/rt/lars/mf/Core/TACC.lua",fullName="TACC",loadOrder=6,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},["TACC-paths"]={fn="ProjectDIR/rt/lars/mf/Core/TACC-paths.lua",fullName="TACC-paths",loadOrder=1,propT={},stackDepth=1,status="active",userName="TACC-paths",wV="M.*zfinal",},cluster={fn="ProjectDIR/rt/lars/mf/Core/cluster.lua",fullName="cluster",loadOrder=5,propT={},stackDepth=1,status="active",userName="cluster",wV="M.*zfinal",},["cluster-paths"]={fn="ProjectDIR/rt/lars/mf/Core/cluster-paths.lua",fullName="cluster-paths",loadOrder=3,propT={},stackDepth=2,status="active",userName="cluster-paths",wV="M.*zfinal",},impi={fn="ProjectDIR/rt/lars/mf/Compiler/intel/13.0/impi/4.1.lua",fullName="impi/4.1",loadOrder=7,propT={},stackDepth=0,status="active",userName="impi",wV="000000004.000000001.*zfinal",},intel={fn="ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua",fullName="intel/13.0.2.146",loadOrder=4,propT={},stackDepth=2,status="active",userName="intel",wV="000000013.000000000.000000002.000000146.*zfinal",},},mpathA={"ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1","ProjectDIR/rt/lars/mf/Compiler/intel/13.0","ProjectDIR/rt/lars/mf/Core",},systemBaseMPATH="ProjectDIR/rt/lars/mf/Core",}';
export _ModuleTable_;
__LMOD_DEFAULT_MODULES_LOADED__=1;
export __LMOD_DEFAULT_MODULES_LOADED__;
===========================
step 9
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1:ProjectDIR/rt/lars/mf/Compiler/intel/13.0:ProjectDIR/rt/lars/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="impi",compiler="intel",},mT={Linux={fn="ProjectDIR/rt/lars/mf/Core/Linux.lua",fullName="Linux",loadOrder=2,propT={},stackDepth=1,status="active",userName="Linux",wV="M.*zfinal",},TACC={fn="ProjectDIR/rt/lars/mf/Core/TACC.lua",fullName="TACC",loadOrder=6,propT={},stackDepth=0,status="active",userName="TACC",wV="M.*zfinal",},["TACC-paths"]={fn="ProjectDIR/rt/lars/mf/Core/TACC-paths.lua",fullName="TACC-paths",loadOrder=1,propT={},stackDepth=1,status="active",userName="TACC-paths",wV="M.*zfinal",},cluster={fn="ProjectDIR/rt/lars/mf/Core/cluster.lua",fullName="cluster",loadOrder=5,propT={},stackDepth=1,status="active",userName="cluster",wV="M.*zfinal",},["cluster-paths"]={fn="ProjectDIR/rt/lars/mf/Core/cluster-paths.lua",fullName="cluster-paths",loadOrder=3,propT={},stackDepth=2,status="active",userName="cluster-paths",wV="M.*zfinal",},impi={fn="ProjectDIR/rt/lars/mf/Compiler/intel/13.0/impi/4.1.lua",fullName="impi/4.1",loadOrder=7,propT={},stackDepth=0,status="active",userName="impi",wV="000000004.000000001.*zfinal",},intel={fn="ProjectDIR/rt/lars/mf/Core/intel/13.0.2.146.lua",fullName="intel/13.0.2.146",loadOrder=4,propT={},stackDepth=2,status="active",userName="intel",wV="000000013.000000000.000000002.000000146.*zfinal",},},mpathA={"ProjectDIR/rt/lars/mf/MPI/intel/13.0/impi/4.1","ProjectDIR/rt/lars/mf/Compiler/intel/13.0","ProjectDIR/rt/lars/mf/Core",},systemBaseMPATH="ProjectDIR/rt/lars/mf/Core",}';
export _ModuleTable_;
