===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
===========================
step 2
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load admin PrgEnv openmpi parmetis
===========================
ADMIN_MODULE_LOADED=1;
export ADMIN_MODULE_LOADED;
__LMOD_REF_COUNT_INFOPATH=/local/info:1\;/usr/share/info:1;
export __LMOD_REF_COUNT_INFOPATH;
INFOPATH=/local/info:/usr/share/info;
export INFOPATH;
__LMOD_REF_COUNT_LD_LIBRARY_PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/lib:1\;/vol/local/intel/mkl/mkl/lib/lib:1\;/vol/local/intel/idb/idb/lib:1\;/vol/local/intel/fc/fc/lib:1\;/vol/local/intel/cc/cc/lib:1;
export __LMOD_REF_COUNT_LD_LIBRARY_PATH;
LD_LIBRARY_PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/lib:/vol/local/intel/mkl/mkl/lib/lib:/vol/local/intel/idb/idb/lib:/vol/local/intel/fc/fc/lib:/vol/local/intel/cc/cc/lib;
export LD_LIBRARY_PATH;
LMOD_FAMILY_COMPILER=intel;
export LMOD_FAMILY_COMPILER;
LMOD_FAMILY_COMPILER_VERSION=intel;
export LMOD_FAMILY_COMPILER_VERSION;
LMOD_FAMILY_MPI=openmpi;
export LMOD_FAMILY_MPI;
LMOD_FAMILY_MPI_VERSION=1.2.6;
export LMOD_FAMILY_MPI_VERSION;
LOADEDMODULES=admin/admin-1.0:unix/unix:local/local:intel/intel:noweb/2.10c:PrgEnv:openmpi/1.2.6:parmetis/3.1;
export LOADEDMODULES;
__LMOD_REF_COUNT_MANPATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/man:1\;/vol/local/noweb/noweb/man:1\;/vol/local/intel/mkl/mkl/man:1\;/vol/local/intel/idb/idb/man:1\;/vol/local/intel/fc/fc/man:1\;/vol/local/intel/cc/cc/man:1\;/usr/share/man:1;
export __LMOD_REF_COUNT_MANPATH;
MANPATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/man:/vol/local/noweb/noweb/man:/vol/local/intel/mkl/mkl/man:/vol/local/intel/idb/idb/man:/vol/local/intel/fc/fc/man:/vol/local/intel/cc/cc/man:/usr/share/man;
export MANPATH;
MKL_DIR=/vol/local/intel/mkl/mkl/lib/lib;
export MKL_DIR;
MKL_INCLUDE=/vol/local/intel/mkl/mkl/include;
export MKL_INCLUDE;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:1\;ProjectDIR/rt/reset/mf/Compiler/intel/10.1:1\;ProjectDIR/rt/reset/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
MPIHOME=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt;
export MPIHOME;
__LMOD_REF_COUNT_PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/bin:1\;/vol/local/noweb/icon/bin:1\;/vol/local/noweb/2.10c/bin:1\;/vol/local/intel/idb/idb/bin:1\;/vol/local/intel/fc/fc/bin:1\;/vol/local/intel/cc/cc/bin:1\;/usr/local/share/bin:1\;/usr/sbin:1\;/sbin:1\;ProjectDIR/proj_mgmt:1\;PATH_to_TM:1;
export __LMOD_REF_COUNT_PATH;
PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/bin:/vol/local/noweb/icon/bin:/vol/local/noweb/2.10c/bin:/vol/local/intel/idb/idb/bin:/vol/local/intel/fc/fc/bin:/vol/local/intel/cc/cc/bin:/usr/local/share/bin:/usr/sbin:/sbin:ProjectDIR/proj_mgmt:PATH_to_TM;
export PATH;
TACC_PMETIS_BIN=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_BIN;
TACC_PMETIS_DIR=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_DIR;
TACC_PMETIS_DOC=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1/Manual;
export TACC_PMETIS_DOC;
TACC_PMETIS_INC=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_INC;
TACC_PMETIS_LIB=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_LIB;
_LMFILES_=ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua:ProjectDIR/rt/reset/mf/Core/unix/unix.lua:ProjectDIR/rt/reset/mf/Core/local/local.lua:ProjectDIR/rt/reset/mf/Core/intel/intel.lua:ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua:ProjectDIR/rt/reset/mf/Core/PrgEnv.lua:ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua:ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={PrgEnv={fn="ProjectDIR/rt/reset/mf/Core/PrgEnv.lua",fullName="PrgEnv",loadOrder=6,propT={},stackDepth=0,status="active",userName="PrgEnv",wV="M.*zfinal",},admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=4,propT={},stackDepth=1,status="active",userName="intel",wV="*intel.*zfinal",},["local"]={fn="ProjectDIR/rt/reset/mf/Core/local/local.lua",fullName="local/local",loadOrder=3,propT={},stackDepth=1,status="active",userName="local",wV="*local.*zfinal",},noweb={fn="ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua",fullName="noweb/2.10c",loadOrder=5,propT={},stackDepth=1,status="active",userName="noweb",wV="000000002.000000010.*c.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=7,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=8,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},unix={fn="ProjectDIR/rt/reset/mf/Core/unix/unix.lua",fullName="unix/unix",loadOrder=2,propT={},stackDepth=1,status="active",userName="unix",wV="*unix.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 3
lua ProjectDIR/src/lmod.in.lua bash --regression_testing purge
===========================
unset ADMIN_MODULE_LOADED;
unset __LMOD_REF_COUNT_INFOPATH;
unset INFOPATH;
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 MKL_DIR;
unset MKL_INCLUDE;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/reset/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
unset MPIHOME;
__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 TACC_PMETIS_BIN;
unset TACC_PMETIS_DIR;
unset TACC_PMETIS_DOC;
unset TACC_PMETIS_INC;
unset TACC_PMETIS_LIB;
unset _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={},mpathA={"ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={},mpathA={"ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 5
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load admin PrgEnv openmpi parmetis
===========================
ADMIN_MODULE_LOADED=1;
export ADMIN_MODULE_LOADED;
__LMOD_REF_COUNT_INFOPATH=/local/info:1\;/usr/share/info:1;
export __LMOD_REF_COUNT_INFOPATH;
INFOPATH=/local/info:/usr/share/info;
export INFOPATH;
__LMOD_REF_COUNT_LD_LIBRARY_PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/lib:1\;/vol/local/intel/mkl/mkl/lib/lib:1\;/vol/local/intel/idb/idb/lib:1\;/vol/local/intel/fc/fc/lib:1\;/vol/local/intel/cc/cc/lib:1;
export __LMOD_REF_COUNT_LD_LIBRARY_PATH;
LD_LIBRARY_PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/lib:/vol/local/intel/mkl/mkl/lib/lib:/vol/local/intel/idb/idb/lib:/vol/local/intel/fc/fc/lib:/vol/local/intel/cc/cc/lib;
export LD_LIBRARY_PATH;
LMOD_FAMILY_COMPILER=intel;
export LMOD_FAMILY_COMPILER;
LMOD_FAMILY_COMPILER_VERSION=intel;
export LMOD_FAMILY_COMPILER_VERSION;
LMOD_FAMILY_MPI=openmpi;
export LMOD_FAMILY_MPI;
LMOD_FAMILY_MPI_VERSION=1.2.6;
export LMOD_FAMILY_MPI_VERSION;
LOADEDMODULES=admin/admin-1.0:unix/unix:local/local:intel/intel:noweb/2.10c:PrgEnv:openmpi/1.2.6:parmetis/3.1;
export LOADEDMODULES;
__LMOD_REF_COUNT_MANPATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/man:1\;/vol/local/noweb/noweb/man:1\;/vol/local/intel/mkl/mkl/man:1\;/vol/local/intel/idb/idb/man:1\;/vol/local/intel/fc/fc/man:1\;/vol/local/intel/cc/cc/man:1\;/usr/share/man:1;
export __LMOD_REF_COUNT_MANPATH;
MANPATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/man:/vol/local/noweb/noweb/man:/vol/local/intel/mkl/mkl/man:/vol/local/intel/idb/idb/man:/vol/local/intel/fc/fc/man:/vol/local/intel/cc/cc/man:/usr/share/man;
export MANPATH;
MKL_DIR=/vol/local/intel/mkl/mkl/lib/lib;
export MKL_DIR;
MKL_INCLUDE=/vol/local/intel/mkl/mkl/include;
export MKL_INCLUDE;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:1\;ProjectDIR/rt/reset/mf/Compiler/intel/10.1:1\;ProjectDIR/rt/reset/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
MPIHOME=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt;
export MPIHOME;
__LMOD_REF_COUNT_PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/bin:1\;/vol/local/noweb/icon/bin:1\;/vol/local/noweb/2.10c/bin:1\;/vol/local/intel/idb/idb/bin:1\;/vol/local/intel/fc/fc/bin:1\;/vol/local/intel/cc/cc/bin:1\;/usr/local/share/bin:1\;/usr/sbin:1\;/sbin:1\;ProjectDIR/proj_mgmt:1\;PATH_to_TM:1;
export __LMOD_REF_COUNT_PATH;
PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/bin:/vol/local/noweb/icon/bin:/vol/local/noweb/2.10c/bin:/vol/local/intel/idb/idb/bin:/vol/local/intel/fc/fc/bin:/vol/local/intel/cc/cc/bin:/usr/local/share/bin:/usr/sbin:/sbin:ProjectDIR/proj_mgmt:PATH_to_TM;
export PATH;
TACC_PMETIS_BIN=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_BIN;
TACC_PMETIS_DIR=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_DIR;
TACC_PMETIS_DOC=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1/Manual;
export TACC_PMETIS_DOC;
TACC_PMETIS_INC=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_INC;
TACC_PMETIS_LIB=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_LIB;
_LMFILES_=ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua:ProjectDIR/rt/reset/mf/Core/unix/unix.lua:ProjectDIR/rt/reset/mf/Core/local/local.lua:ProjectDIR/rt/reset/mf/Core/intel/intel.lua:ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua:ProjectDIR/rt/reset/mf/Core/PrgEnv.lua:ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua:ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={PrgEnv={fn="ProjectDIR/rt/reset/mf/Core/PrgEnv.lua",fullName="PrgEnv",loadOrder=6,propT={},stackDepth=0,status="active",userName="PrgEnv",wV="M.*zfinal",},admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=4,propT={},stackDepth=1,status="active",userName="intel",wV="*intel.*zfinal",},["local"]={fn="ProjectDIR/rt/reset/mf/Core/local/local.lua",fullName="local/local",loadOrder=3,propT={},stackDepth=1,status="active",userName="local",wV="*local.*zfinal",},noweb={fn="ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua",fullName="noweb/2.10c",loadOrder=5,propT={},stackDepth=1,status="active",userName="noweb",wV="000000002.000000010.*c.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=7,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=8,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},unix={fn="ProjectDIR/rt/reset/mf/Core/unix/unix.lua",fullName="unix/unix",loadOrder=2,propT={},stackDepth=1,status="active",userName="unix",wV="*unix.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 6
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={PrgEnv={fn="ProjectDIR/rt/reset/mf/Core/PrgEnv.lua",fullName="PrgEnv",loadOrder=6,propT={},stackDepth=0,status="active",userName="PrgEnv",wV="M.*zfinal",},admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=4,propT={},stackDepth=1,status="active",userName="intel",wV="*intel.*zfinal",},["local"]={fn="ProjectDIR/rt/reset/mf/Core/local/local.lua",fullName="local/local",loadOrder=3,propT={},stackDepth=1,status="active",userName="local",wV="*local.*zfinal",},noweb={fn="ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua",fullName="noweb/2.10c",loadOrder=5,propT={},stackDepth=1,status="active",userName="noweb",wV="000000002.000000010.*c.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=7,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=8,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},unix={fn="ProjectDIR/rt/reset/mf/Core/unix/unix.lua",fullName="unix/unix",loadOrder=2,propT={},stackDepth=1,status="active",userName="unix",wV="*unix.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 7
lua ProjectDIR/src/lmod.in.lua bash --regression_testing use ProjectDIR/rt/reset/mf/User
===========================
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/reset/mf/User:1\;ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:1\;ProjectDIR/rt/reset/mf/Compiler/intel/10.1:1\;ProjectDIR/rt/reset/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/reset/mf/User:ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={PrgEnv={fn="ProjectDIR/rt/reset/mf/Core/PrgEnv.lua",fullName="PrgEnv",loadOrder=6,propT={},stackDepth=0,status="active",userName="PrgEnv",wV="M.*zfinal",},admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=4,propT={},stackDepth=1,status="active",userName="intel",wV="*intel.*zfinal",},["local"]={fn="ProjectDIR/rt/reset/mf/Core/local/local.lua",fullName="local/local",loadOrder=3,propT={},stackDepth=1,status="active",userName="local",wV="*local.*zfinal",},noweb={fn="ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua",fullName="noweb/2.10c",loadOrder=5,propT={},stackDepth=1,status="active",userName="noweb",wV="000000002.000000010.*c.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=7,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=8,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},unix={fn="ProjectDIR/rt/reset/mf/Core/unix/unix.lua",fullName="unix/unix",loadOrder=2,propT={},stackDepth=1,status="active",userName="unix",wV="*unix.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/User","ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 8
lua ProjectDIR/src/lmod.in.lua bash --regression_testing use ProjectDIR/rt/reset/mf/User2
===========================
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/reset/mf/User2:1\;ProjectDIR/rt/reset/mf/User:1\;ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:1\;ProjectDIR/rt/reset/mf/Compiler/intel/10.1:1\;ProjectDIR/rt/reset/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/reset/mf/User2:ProjectDIR/rt/reset/mf/User:ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={PrgEnv={fn="ProjectDIR/rt/reset/mf/Core/PrgEnv.lua",fullName="PrgEnv",loadOrder=6,propT={},stackDepth=0,status="active",userName="PrgEnv",wV="M.*zfinal",},admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=4,propT={},stackDepth=1,status="active",userName="intel",wV="*intel.*zfinal",},["local"]={fn="ProjectDIR/rt/reset/mf/Core/local/local.lua",fullName="local/local",loadOrder=3,propT={},stackDepth=1,status="active",userName="local",wV="*local.*zfinal",},noweb={fn="ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua",fullName="noweb/2.10c",loadOrder=5,propT={},stackDepth=1,status="active",userName="noweb",wV="000000002.000000010.*c.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=7,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=8,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},unix={fn="ProjectDIR/rt/reset/mf/Core/unix/unix.lua",fullName="unix/unix",loadOrder=2,propT={},stackDepth=1,status="active",userName="unix",wV="*unix.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/User2","ProjectDIR/rt/reset/mf/User","ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 9
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load foo
===========================
LOADEDMODULES=admin/admin-1.0:unix/unix:local/local:intel/intel:noweb/2.10c:PrgEnv:openmpi/1.2.6:parmetis/3.1:foo/1.0;
export LOADEDMODULES;
MODULEPATH=ProjectDIR/rt/reset/mf/User2:ProjectDIR/rt/reset/mf/User:ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
MY_VERSION=1.0;
export MY_VERSION;
_LMFILES_=ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua:ProjectDIR/rt/reset/mf/Core/unix/unix.lua:ProjectDIR/rt/reset/mf/Core/local/local.lua:ProjectDIR/rt/reset/mf/Core/intel/intel.lua:ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua:ProjectDIR/rt/reset/mf/Core/PrgEnv.lua:ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua:ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua:ProjectDIR/rt/reset/mf/User/foo/1.0.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={PrgEnv={fn="ProjectDIR/rt/reset/mf/Core/PrgEnv.lua",fullName="PrgEnv",loadOrder=6,propT={},stackDepth=0,status="active",userName="PrgEnv",wV="M.*zfinal",},admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},foo={fn="ProjectDIR/rt/reset/mf/User/foo/1.0.lua",fullName="foo/1.0",loadOrder=9,propT={},stackDepth=0,status="active",userName="foo",wV="000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=4,propT={},stackDepth=1,status="active",userName="intel",wV="*intel.*zfinal",},["local"]={fn="ProjectDIR/rt/reset/mf/Core/local/local.lua",fullName="local/local",loadOrder=3,propT={},stackDepth=1,status="active",userName="local",wV="*local.*zfinal",},noweb={fn="ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua",fullName="noweb/2.10c",loadOrder=5,propT={},stackDepth=1,status="active",userName="noweb",wV="000000002.000000010.*c.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=7,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=8,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},unix={fn="ProjectDIR/rt/reset/mf/Core/unix/unix.lua",fullName="unix/unix",loadOrder=2,propT={},stackDepth=1,status="active",userName="unix",wV="*unix.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/User2","ProjectDIR/rt/reset/mf/User","ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 10
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/reset/mf/User2:ProjectDIR/rt/reset/mf/User:ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={PrgEnv={fn="ProjectDIR/rt/reset/mf/Core/PrgEnv.lua",fullName="PrgEnv",loadOrder=6,propT={},stackDepth=0,status="active",userName="PrgEnv",wV="M.*zfinal",},admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},foo={fn="ProjectDIR/rt/reset/mf/User/foo/1.0.lua",fullName="foo/1.0",loadOrder=9,propT={},stackDepth=0,status="active",userName="foo",wV="000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=4,propT={},stackDepth=1,status="active",userName="intel",wV="*intel.*zfinal",},["local"]={fn="ProjectDIR/rt/reset/mf/Core/local/local.lua",fullName="local/local",loadOrder=3,propT={},stackDepth=1,status="active",userName="local",wV="*local.*zfinal",},noweb={fn="ProjectDIR/rt/reset/mf/Core/noweb/2.10c.lua",fullName="noweb/2.10c",loadOrder=5,propT={},stackDepth=1,status="active",userName="noweb",wV="000000002.000000010.*c.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=7,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=8,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},unix={fn="ProjectDIR/rt/reset/mf/Core/unix/unix.lua",fullName="unix/unix",loadOrder=2,propT={},stackDepth=1,status="active",userName="unix",wV="*unix.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/User2","ProjectDIR/rt/reset/mf/User","ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 11
lua ProjectDIR/src/lmod.in.lua bash --regression_testing reset
===========================
ADMIN_MODULE_LOADED=1;
export ADMIN_MODULE_LOADED;
unset __LMOD_REF_COUNT_INFOPATH;
unset INFOPATH;
LD_LIBRARY_PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/lib:/vol/local/intel/mkl/mkl/lib/lib:/vol/local/intel/idb/idb/lib:/vol/local/intel/fc/fc/lib:/vol/local/intel/cc/cc/lib;
export LD_LIBRARY_PATH;
LMOD_FAMILY_COMPILER=intel;
export LMOD_FAMILY_COMPILER;
LMOD_FAMILY_COMPILER_VERSION=intel;
export LMOD_FAMILY_COMPILER_VERSION;
LMOD_FAMILY_MPI=openmpi;
export LMOD_FAMILY_MPI;
LMOD_FAMILY_MPI_VERSION=1.2.6;
export LMOD_FAMILY_MPI_VERSION;
LOADEDMODULES=admin/admin-1.0:intel/intel:openmpi/1.2.6:parmetis/3.1;
export LOADEDMODULES;
__LMOD_REF_COUNT_MANPATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/man:1\;/vol/local/intel/mkl/mkl/man:1\;/vol/local/intel/idb/idb/man:1\;/vol/local/intel/fc/fc/man:1\;/vol/local/intel/cc/cc/man:1;
export __LMOD_REF_COUNT_MANPATH;
MANPATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/man:/vol/local/intel/mkl/mkl/man:/vol/local/intel/idb/idb/man:/vol/local/intel/fc/fc/man:/vol/local/intel/cc/cc/man;
export MANPATH;
MKL_DIR=/vol/local/intel/mkl/mkl/lib/lib;
export MKL_DIR;
MKL_INCLUDE=/vol/local/intel/mkl/mkl/include;
export MKL_INCLUDE;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:1\;ProjectDIR/rt/reset/mf/Compiler/intel/10.1:1\;ProjectDIR/rt/reset/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
MPIHOME=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt;
export MPIHOME;
unset MY_VERSION;
__LMOD_REF_COUNT_PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/bin:1\;/vol/local/intel/idb/idb/bin:1\;/vol/local/intel/fc/fc/bin:1\;/vol/local/intel/cc/cc/bin:1\;/usr/sbin:1\;/sbin:1\;ProjectDIR/proj_mgmt:1\;PATH_to_TM:1;
export __LMOD_REF_COUNT_PATH;
PATH=/vol/local/mpi/intel/10.1/openmpi/1.2.6.opt/bin:/vol/local/intel/idb/idb/bin:/vol/local/intel/fc/fc/bin:/vol/local/intel/cc/cc/bin:/usr/sbin:/sbin:ProjectDIR/proj_mgmt:PATH_to_TM;
export PATH;
TACC_PMETIS_BIN=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_BIN;
TACC_PMETIS_DIR=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_DIR;
TACC_PMETIS_DOC=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1/Manual;
export TACC_PMETIS_DOC;
TACC_PMETIS_INC=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_INC;
TACC_PMETIS_LIB=/vol/pkg/Parmetis/intel/10.1/parmetis/3.1;
export TACC_PMETIS_LIB;
_LMFILES_=ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua:ProjectDIR/rt/reset/mf/Core/intel/intel.lua:ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua:ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=2,propT={},stackDepth=0,status="active",userName="intel",wV="*intel.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=3,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=4,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
===========================
step 12
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list
===========================
MODULEPATH=ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6:ProjectDIR/rt/reset/mf/Compiler/intel/10.1:ProjectDIR/rt/reset/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={MPI="openmpi",compiler="intel",},mT={admin={fn="ProjectDIR/rt/reset/mf/Core/admin/admin-1.0.lua",fullName="admin/admin-1.0",loadOrder=1,propT={},stackDepth=0,status="active",userName="admin",wV="^admin.*zfinal-.000000001.*zfinal",},intel={fn="ProjectDIR/rt/reset/mf/Core/intel/intel.lua",fullName="intel/intel",loadOrder=2,propT={},stackDepth=0,status="active",userName="intel",wV="*intel.*zfinal",},openmpi={fn="ProjectDIR/rt/reset/mf/Compiler/intel/10.1/openmpi/1.2.6.lua",fullName="openmpi/1.2.6",loadOrder=3,propT={},stackDepth=0,status="active",userName="openmpi",wV="000000001.000000002.000000006.*zfinal",},parmetis={fn="ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6/parmetis/3.1.lua",fullName="parmetis/3.1",loadOrder=4,propT={arch={mic=1,},},stackDepth=0,status="active",userName="parmetis",wV="000000003.000000001.*zfinal",},},mpathA={"ProjectDIR/rt/reset/mf/MPI/intel/10.1/openmpi/1.2.6","ProjectDIR/rt/reset/mf/Compiler/intel/10.1","ProjectDIR/rt/reset/mf/Core",},systemBaseMPATH="ProjectDIR/rt/reset/mf/Core",}';
export _ModuleTable_;
