===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
Modules based on Lua: Version 8.6.9  2022-02-02 11:25 -04:00
    by Robert McLay mclay@tacc.utexas.edu
===========================
step 2
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load intel mvapich2
===========================
===========================
step 3
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail
===========================
ProjectDIR/rt/petsc/mf/MPI/intel/13.1/mvapich2/1.9
   petsc/petsc/3.3-complex            petsc/petsc/3.3-uni
   petsc/petsc/3.3-complexdebug       petsc/petsc/3.3-unidebug
   petsc/petsc/3.3-cxx                petsc/petsc/3.3
   petsc/petsc/3.3-cxxcomplex         petsc/petsc/petsc/3.3
   petsc/petsc/3.3-cxxcomplexdebug    petsc/petsc/petsc/petsc/3.3
   petsc/petsc/3.3-cxxdebug           petsc/petsc/petsc/petsc/petsc/3.3
   petsc/petsc/3.3-debug
ProjectDIR/rt/petsc/mf/Compiler/intel/13.1
   mvapich2/1.9 (L)
ProjectDIR/rt/petsc/mf/Core
   intel/13.1 (L)
  Where:
   L:  Module is loaded
If the avail list is too long consider trying:
"module --default avail" or "ml -d av" to just list the default modules.
"module overview" or "ml ov" to display the number of modules for each name.
Use "module spider" to find all possible modules and extensions.
Use "module keyword key1 key2 ..." to search for all possible modules matching any of the "keys".
===========================
step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing spider
===========================
The following is a list of the modules and extensions currently available:
  intel: intel/13.1
    Intel Compiler Collection
  mvapich2: mvapich2/1.9
    Mpich 2: Message Passing Interface Library version 2
  petsc/petsc/3.3: petsc/petsc/3.3
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-complex: petsc/petsc/3.3-complex
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-complexdebug: petsc/petsc/3.3-complexdebug
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-cxx: petsc/petsc/3.3-cxx
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-cxxcomplex: petsc/petsc/3.3-cxxcomplex
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-cxxcomplexdebug: petsc/petsc/3.3-cxxcomplexdebug
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-cxxdebug: petsc/petsc/3.3-cxxdebug
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-debug: petsc/petsc/3.3-debug
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-uni: petsc/petsc/3.3-uni
    Numerical library for sparse linear algebra
  petsc/petsc/3.3-unidebug: petsc/petsc/3.3-unidebug
    Numerical library for sparse linear algebra
  petsc/petsc/petsc/3.3: petsc/petsc/petsc/3.3
    Numerical library for sparse linear algebra
  petsc/petsc/petsc/petsc/3.3: petsc/petsc/petsc/petsc/3.3
    Numerical library for sparse linear algebra
  petsc/petsc/petsc/petsc/petsc: petsc/petsc/petsc/petsc/petsc/3.3
    Numerical library for sparse linear algebra
To learn more about a package execute:
   $ module spider Foo
where "Foo" is the name of a module.
To find detailed information about a particular package you
must specify the version if there is more than one version:
   $ module spider Foo/11.1
===========================
step 5
lua ProjectDIR/src/lmod.in.lua bash --regression_testing spider pet
===========================
  petsc/petsc/3.3: petsc/petsc/3.3
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-complex: petsc/petsc/3.3-complex
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-complex" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-complexdebug: petsc/petsc/3.3-complexdebug
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-complexdebug" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-cxx: petsc/petsc/3.3-cxx
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-cxx" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support; C++ support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-cxxcomplex: petsc/petsc/3.3-cxxcomplex
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-cxxcomplex" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support; C++ support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-cxxcomplexdebug: petsc/petsc/3.3-cxxcomplexdebug
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-cxxcomplexdebug" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support; C++ support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-cxxdebug: petsc/petsc/3.3-cxxdebug
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-cxxdebug" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support; C++ support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-debug: petsc/petsc/3.3-debug
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-debug" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-uni: petsc/petsc/3.3-uni
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-uni" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/3.3-unidebug: petsc/petsc/3.3-unidebug
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/3.3-unidebug" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/petsc/3.3: petsc/petsc/petsc/3.3
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/petsc/3.3" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/petsc/petsc/3.3: petsc/petsc/petsc/petsc/3.3
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/petsc/petsc/3.3" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre   hdf5 mumps scalapack spooles superlu (sequential/distributed)
  petsc/petsc/petsc/petsc/petsc: petsc/petsc/petsc/petsc/petsc/3.3
    Description:
      Numerical library for sparse linear algebra
    You will need to load all module(s) on any one of the lines below before the "petsc/petsc/petsc/petsc/petsc/3.3" module is available to load.
      intel/13.1  mvapich2/1.9
    Help:
      The petsc module defines the following environment variables:
      TACC_PETSC_DIR, TACC_PETSC_BIN, and
      TACC_PETSC_LIB for the location
      of the Petsc distribution, documentation, binaries,
      and libraries.
      Version 3.3; shared library support; hdf5 support
      external packages installed:  parmetis spai hypre    mumps scalapack spooles superlu (sequential/distributed)
