===========================
step 1
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --version
===========================
Modules based on Lua: Version 8.7.53 2024-10-12 19:57 -05:00
    https://lmod.readthedocs.io
===========================
step 2
lua ProjectDIR/src/lmod.in.lua shell --regression_testing --config
===========================
Modules based on Lua: Version 8.7.53 2024-10-12 19:57 -05:00
    https://lmod.readthedocs.io
Description                                                   Value
Allow root to use Lmod (LMOD_ALLOW_ROOT_USE)                  yes
Allow TCL modulefiles (LMOD_ALLOW_TCL_FILES)                  yes
Auto swapping (LMOD_AUTO_SWAP)                                yes
Avail Style (LMOD_AVAIL_STYLE)                                <system>
Case Independent Sorting (LMOD_CASE_INDEPENDENT_SORTING)      no
Colorize Lmod (LMOD_COLORIZE)                                 yes
Configuration dir (LMOD_CONFIG_DIR)                           ProjectDIR/rt/configDir/lmod_cfg_dir
Disable Same Name AutoSwap (LMOD_DISABLE_SAME_NAME_AUTOSWAP)  no
Display Extension w/ avail (LMOD_AVAIL_EXTENSIONS)            yes
Use ~/.config dir only (LMOD_USE_DOT_CONFIG_ONLY)             no
Downstream Module Conflicts (LMOD_DOWNSTREAM_CONFLICTS)       no
Allow duplicate paths (LMOD_DUPLICATE_PATHS)                  no
Dynamic Spider Cache (LMOD_DYNAMIC_SPIDER_CACHE)              yes
Require Exact Match/no defaults (LMOD_EXACT_MATCH)            no
Export the module command (LMOD_EXPORT_MODULE)                yes
Allow extended default (LMOD_EXTENDED_DEFAULT)                yes
Use attached TCL over system call (LMOD_FAST_TCL_INTERP)      yes
Is fast TCL interp available (LMOD_USING_FAST_TCL_INTERP)     no
File ignore patterns (LMOD_FILE_IGNORE_PATTERNS)              {"%.version[-._].*", "%.modulerc[-._].*"}
Use italic instead of dim (LMOD_HIDDEN_ITALIC)                no
KSH Support (LMOD_KSH_SUPPORT)                                no
Language used for err/msg/warn (LMOD_LANG)                    en
Site message file (LMOD_SITE_MSG_FILE)                        ProjectDIR/rt/configDir/lmod_cfg_dir/lang.lua
lmod_config.lua location (LMOD_CONFIG_LOCATION)               ProjectDIR/rt/configDir/lmod_cfg_dir/lmod_config.lua
LUA_CPATH                                                     @sys_lua_cpath@
LUA_PATH                                                      @sys_lua_path@
System lua-term (LMOD_HAVE_LUA_TERM)                          no
Modules Auto Handling (MODULES_AUTO_HANDLING)                 no
avail: Include modulepath dir (LMOD_MPATH_AVAIL)              no
MODULEPATH_INIT (LMOD_MODULEPATH_INIT)                        @PKG@/init/.modulespath -> <empty>
MODULEPATH_ROOT (MODULEPATH_ROOT)
NAG File (LMOD_ADMIN_FILE)                                    ProjectDIR/src/../../etc/admin.list
number of cache dirs                                          0
Pager (LMOD_PAGER)                                            less
Pager Options (LMOD_PAGER_OPTS)                               -XqMREF
Path to HashSum (LMOD_HASHSUM_PATH)                           PATH_to_HASHSUM
Path to Lua                                                   lua
Pin Versions in restore (LMOD_PIN_VERSIONS)                   no
Pkg Class name                                                Pkg
Lmod prefix                                                   @PREFIX@
Site controlled prefix (SITE_CONTROLLED_PREFIX)               no
Prepend order (LMOD_PREPEND_BLOCK)                            normal
LMOD_RC (LMOD_RC)                                             <empty>
Redirect to stdout (LMOD_REDIRECT)                            no
Supporting Full Settarg Use (LMOD_SETTARG_FULL_SUPPORT)       no
Site Name (LMOD_SITE_NAME)                                    XYZZY
Site Pkg location                                             ProjectDIR/rt/configDir/lmod_cfg_dir/SitePackage.lua
Ignore Cache (LMOD_IGNORE_CACHE)                              no
Cached loads (LMOD_CACHED_LOADS)                              no
System Default Modules (LMOD_SYSTEM_DEFAULT_MODULES)          <empty>
System Name (LMOD_SYSTEM_NAME)                                <empty>
SYSHOST (cluster name) (LMOD_SYSHOST)                         <empty>
TCL Version                                                   <N/A>
Terse Decorations (LMOD_TERSE_DECORATIONS)                    yes
User cache valid time(sec) (LMOD_ANCIENT_TIME)                86400
Write cache after (sec) (LMOD_SHORT_TIME)                     2
Threshold (sec) (LMOD_THRESHOLD)                              1
Tmod find first rule (LMOD_TMOD_PATH_RULE)                    no
Tmod prepend PATH Rule (LMOD_TMOD_PATH_RULE)                  no
Tracing (LMOD_TRACING)                                        no
uname -a
User Cache Directory                                          OutputDIR/.cache/lmod
MODULEPATH:   ProjectDIR/rt/configDir/mf
LMOD_CONFIG_DIR              E          /etc/lmod    ProjectDIR/rt/configDir/lmod_cfg_dir
LMOD_CONFIG_LOCATION         StdPkg     no           ProjectDIR/rt/configDir/lmod_cfg_dir/lmod_config.lua
LMOD_PACKAGE_PATH            StdPkg     nil          ProjectDIR/rt/configDir/lmod_cfg_dir
LMOD_SITEPACKAGE_LOCATION    Other      <srctree>    ProjectDIR/rt/configDir/lmod_cfg_dir/SitePackage.lua
LMOD_SITE_MSG_FILE           StdPkg     false        ProjectDIR/rt/configDir/lmod_cfg_dir/lang.lua
LMOD_SITE_NAME               StdPkg     false        XYZZY
LMOD_SYSTEM_DEFAULT_MODULES  D          __unknown__  <empty>
LMOD_USING_FAST_TCL_INTERP   Other      yes          no
Active RC file(s):
ProjectDIR/init/lmodrc.lua
 Lmod Property Table (LMOD_RC):
propT = {
  arch = {
    displayT = {
      gpu = {
        color = "red",
        doc = "built for GPU",
        full_color = false,
        long = "(g)",
        short = "(g)",
      },
      ["gpu:mic"] = {
        color = "red",
        doc = "built natively for MIC and GPU",
        full_color = false,
        long = "(g,m)",
        short = "(gm)",
      },
      ["gpu:mic:offload"] = {
        color = "red",
        doc = "built natively for MIC and GPU and offload to the MIC",
        full_color = false,
        long = "(g,m,o)",
        short = "(@)",
      },
      mic = {
        color = "blue",
        doc = "built for host and native MIC",
        full_color = false,
        long = "(m)",
        short = "(m)",
      },
      ["mic:offload"] = {
        color = "blue",
        doc = "built for host, native MIC and offload to the MIC",
        full_color = false,
        long = "(m,o)",
        short = "(*)",
      },
      offload = {
        color = "blue",
        doc = "built for offload to the MIC only",
        full_color = false,
        long = "(o)",
        short = "(o)",
      },
    },
    validT = {
      gpu = 1,
      mic = 1,
      offload = 1,
    },
  },
  lmod = {
    displayT = {
      sticky = {
        color = "red",
        doc = "Module is Sticky, requires --force to unload or purge",
        long = "(S)",
        short = "(S)",
      },
    },
    validT = {
      sticky = 1,
    },
  },
  state = {
    displayT = {
      experimental = {
        color = "blue",
        doc = "Experimental",
        long = "(E)",
        short = "(E)",
      },
      obsolete = {
        color = "red",
        doc = "Obsolete",
        long = "(O)",
        short = "(O)",
      },
      testing = {
        color = "green",
        doc = "Testing",
        long = "(T)",
        short = "(T)",
      },
    },
    validT = {
      experimental = 1,
      obsolete = 1,
      testing = 1,
    },
  },
  status = {
    displayT = {
      active = {
        color = "yellow",
        doc = "Module is loaded",
        long = "(L)",
        short = "(L)",
      },
    },
    validT = {
      active = 1,
    },
  },
}
===========================
step 3
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load tryThis
===========================
This is kewl
===========================
step 4
lua ProjectDIR/src/lmod.in.lua shell --regression_testing load w
===========================
Lmod Warning: The module w/1.0 is outdated. Please use a version from 2019a or newer.
If there is no newer version, request one at hpc@vub.ac.be.
While processing the following module(s):
    Module fullname  Module Filename
    w/1.0            ProjectDIR/rt/configDir/mf/w/1.0.lua
