===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
Modules based on Lua: Version 6.5.16  2016-10-04 17:13 -05: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                    petsc/petsc/3.3-debug
   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/petsc/3.3
   petsc/petsc/3.3-cxxcomplex         petsc/petsc/petsc/petsc/3.3
   petsc/petsc/3.3-cxxcomplexdebug    petsc/petsc/petsc/petsc/petsc/3.3
   petsc/petsc/3.3-cxxdebug
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
Use "module spider" to find all possible modules.
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 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 enter:
   $ module spider Foo
where "Foo" is the name of a module
To find detailed information about a particular package you
must enter 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)
