Skip to content

Commit

Permalink
Issue #560: When doing "ml avail" only show extensions for the module…
Browse files Browse the repository at this point in the history
…s that are shown in avail
  • Loading branch information
Robert McLay committed Feb 9, 2022
1 parent 4926715 commit e08f210
Show file tree
Hide file tree
Showing 8 changed files with 188 additions and 3 deletions.
66 changes: 66 additions & 0 deletions rt/extensions/err.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
Modules based on Lua: Version 8.6.11 2022-02-03 16:59 -04:00
by Robert McLay [email protected]
===========================
step 2
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail
===========================
ProjectDIR/rt/extensions/mf/Core
TACC gcc/9.4 intel/19.1
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 3
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load gcc python
===========================
===========================
step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail
===========================
ProjectDIR/rt/extensions/mf/Compiler/gcc/9
python/3.7 (L)
ProjectDIR/rt/extensions/mf/Core
TACC gcc/9.4 (L) intel/19.1
This is a list of module extensions "module --nx avail ..." to not show.
CC (E) a (E) b (E)
These extensions cannot be loaded directly, use "module spider extension_name" for more information.
Where:
E: Extension that is provided by another module
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 5
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load intel python
===========================
Lmod is automatically replacing "gcc/9.4" with "intel/19.1".
Due to MODULEPATH changes, the following have been reloaded:
1) python/3.7
===========================
step 6
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail
===========================
ProjectDIR/rt/extensions/mf/Compiler/intel/19
python/3.7 (L)
ProjectDIR/rt/extensions/mf/Core
TACC gcc/9.4 intel/19.1 (L)
This is a list of module extensions "module --nx avail ..." to not show.
CC (E) DDD (E)
These extensions cannot be loaded directly, use "module spider extension_name" for more information.
Where:
E: Extension that is provided by another module
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".
74 changes: 74 additions & 0 deletions rt/extensions/out.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
===========================
step 1
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version
===========================
===========================
step 2
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail
===========================
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/extensions/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/extensions/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={},mT={},mpathA={"ProjectDIR/rt/extensions/mf/Core",},systemBaseMPATH="ProjectDIR/rt/extensions/mf/Core",}';
export _ModuleTable_;
===========================
step 3
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load gcc python
===========================
LMOD_FAMILY_COMPILER=gcc;
export LMOD_FAMILY_COMPILER;
LMOD_FAMILY_COMPILER_VERSION=9.4;
export LMOD_FAMILY_COMPILER_VERSION;
__LMOD_REF_COUNT_LOADEDMODULES=gcc/9.4:1\;python/3.7:1;
export __LMOD_REF_COUNT_LOADEDMODULES;
LOADEDMODULES=gcc/9.4:python/3.7;
export LOADEDMODULES;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/extensions/mf/Compiler/gcc/9:1\;ProjectDIR/rt/extensions/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/extensions/mf/Compiler/gcc/9:ProjectDIR/rt/extensions/mf/Core;
export MODULEPATH;
__LMOD_REF_COUNT__LMFILES_=ProjectDIR/rt/extensions/mf/Core/gcc/9.4.lua:1\;ProjectDIR/rt/extensions/mf/Compiler/gcc/9/python/3.7.lua:1;
export __LMOD_REF_COUNT__LMFILES_;
_LMFILES_=ProjectDIR/rt/extensions/mf/Core/gcc/9.4.lua:ProjectDIR/rt/extensions/mf/Compiler/gcc/9/python/3.7.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="gcc",},mT={gcc={fn="ProjectDIR/rt/extensions/mf/Core/gcc/9.4.lua",fullName="gcc/9.4",loadOrder=1,propT={},stackDepth=0,status="active",userName="gcc",wV="000000009.000000004.*zfinal",},python={fn="ProjectDIR/rt/extensions/mf/Compiler/gcc/9/python/3.7.lua",fullName="python/3.7",loadOrder=2,propT={},stackDepth=0,status="active",userName="python",wV="000000003.000000007.*zfinal",},},mpathA={"ProjectDIR/rt/extensions/mf/Compiler/gcc/9","ProjectDIR/rt/extensions/mf/Core",},systemBaseMPATH="ProjectDIR/rt/extensions/mf/Core",}';
export _ModuleTable_;
===========================
step 4
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail
===========================
MODULEPATH=ProjectDIR/rt/extensions/mf/Compiler/gcc/9:ProjectDIR/rt/extensions/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="gcc",},mT={gcc={fn="ProjectDIR/rt/extensions/mf/Core/gcc/9.4.lua",fullName="gcc/9.4",loadOrder=1,propT={},stackDepth=0,status="active",userName="gcc",wV="000000009.000000004.*zfinal",},python={fn="ProjectDIR/rt/extensions/mf/Compiler/gcc/9/python/3.7.lua",fullName="python/3.7",loadOrder=2,propT={},stackDepth=0,status="active",userName="python",wV="000000003.000000007.*zfinal",},},mpathA={"ProjectDIR/rt/extensions/mf/Compiler/gcc/9","ProjectDIR/rt/extensions/mf/Core",},systemBaseMPATH="ProjectDIR/rt/extensions/mf/Core",}';
export _ModuleTable_;
===========================
step 5
lua ProjectDIR/src/lmod.in.lua bash --regression_testing load intel python
===========================
LMOD_FAMILY_COMPILER=intel;
export LMOD_FAMILY_COMPILER;
LMOD_FAMILY_COMPILER_VERSION=19.1;
export LMOD_FAMILY_COMPILER_VERSION;
__LMOD_REF_COUNT_LOADEDMODULES=intel/19.1:1\;python/3.7:1;
export __LMOD_REF_COUNT_LOADEDMODULES;
LOADEDMODULES=intel/19.1:python/3.7;
export LOADEDMODULES;
__LMOD_REF_COUNT_MODULEPATH=ProjectDIR/rt/extensions/mf/Compiler/intel/19:1\;ProjectDIR/rt/extensions/mf/Core:1;
export __LMOD_REF_COUNT_MODULEPATH;
MODULEPATH=ProjectDIR/rt/extensions/mf/Compiler/intel/19:ProjectDIR/rt/extensions/mf/Core;
export MODULEPATH;
__LMOD_REF_COUNT__LMFILES_=ProjectDIR/rt/extensions/mf/Core/intel/19.1.lua:1\;ProjectDIR/rt/extensions/mf/Compiler/intel/19/python/3.7.lua:1;
export __LMOD_REF_COUNT__LMFILES_;
_LMFILES_=ProjectDIR/rt/extensions/mf/Core/intel/19.1.lua:ProjectDIR/rt/extensions/mf/Compiler/intel/19/python/3.7.lua;
export _LMFILES_;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="intel",},mT={intel={fn="ProjectDIR/rt/extensions/mf/Core/intel/19.1.lua",fullName="intel/19.1",loadOrder=1,propT={},stackDepth=0,status="active",userName="intel",wV="000000019.000000001.*zfinal",},python={fn="ProjectDIR/rt/extensions/mf/Compiler/intel/19/python/3.7.lua",fullName="python/3.7",loadOrder=2,propT={},stackDepth=0,status="active",userName="python",wV="000000003.000000007.*zfinal",},},mpathA={"ProjectDIR/rt/extensions/mf/Compiler/intel/19","ProjectDIR/rt/extensions/mf/Core",},systemBaseMPATH="ProjectDIR/rt/extensions/mf/Core",}';
export _ModuleTable_;
===========================
step 6
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail
===========================
MODULEPATH=ProjectDIR/rt/extensions/mf/Compiler/intel/19:ProjectDIR/rt/extensions/mf/Core;
export MODULEPATH;
_ModuleTable_='_ModuleTable_={MTversion=3,depthT={},family={compiler="intel",},mT={intel={fn="ProjectDIR/rt/extensions/mf/Core/intel/19.1.lua",fullName="intel/19.1",loadOrder=1,propT={},stackDepth=0,status="active",userName="intel",wV="000000019.000000001.*zfinal",},python={fn="ProjectDIR/rt/extensions/mf/Compiler/intel/19/python/3.7.lua",fullName="python/3.7",loadOrder=2,propT={},stackDepth=0,status="active",userName="python",wV="000000003.000000007.*zfinal",},},mpathA={"ProjectDIR/rt/extensions/mf/Compiler/intel/19","ProjectDIR/rt/extensions/mf/Core",},systemBaseMPATH="ProjectDIR/rt/extensions/mf/Core",}';
export _ModuleTable_;
2 changes: 1 addition & 1 deletion rt/rmap/err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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
Modules based on Lua: Version 8.6.11 2022-02-03 16:59 -04:00
by Robert McLay [email protected]
===========================
step 2
Expand Down
11 changes: 11 additions & 0 deletions rt/rmap/out.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@ dbT = {
lpathA = {
["ProjectDIR/rt/rmap/apps/intel-13_1/impi/4.1/lib"] = 1,
},
mpath = "ProjectDIR/rt/rmap/mf/Compiler/intel/13.1",
pV = "000000004.000000001.*zfinal",
parentAA = {
{
Expand All @@ -178,6 +179,7 @@ dbT = {
lpathA = {
["ProjectDIR/rt/rmap/apps/intel-14_0/impi/4.1/lib"] = 1,
},
mpath = "ProjectDIR/rt/rmap/mf/Compiler/intel/14.0",
pV = "000000004.000000001.*zfinal",
parentAA = {
{
Expand All @@ -199,6 +201,7 @@ dbT = {
lpathA = {
["ProjectDIR/rt/rmap/apps/intel/13.1/lib"] = 1,
},
mpath = "ProjectDIR/rt/rmap/mf/Core",
pV = "000000013.000000001.*zfinal",
pathA = {
["ProjectDIR/rt/rmap/apps/intel/13.1/bin"] = 1,
Expand All @@ -213,6 +216,7 @@ dbT = {
lpathA = {
["ProjectDIR/rt/rmap/apps/intel/14.0.1/lib"] = 1,
},
mpath = "ProjectDIR/rt/rmap/mf/Core",
pV = "000000014.000000000.000000001.*zfinal",
pathA = {
["ProjectDIR/rt/rmap/apps/intel/14.0.1/bin"] = 1,
Expand All @@ -225,6 +229,7 @@ dbT = {
Version = "1.0",
fullName = "symlink/1.0",
hidden = false,
mpath = "ProjectDIR/rt/rmap/mf/Core",
pV = "000000001.*zfinal",
pathA = {
["OutputDIR/my_bin"] = 1,
Expand Down Expand Up @@ -427,6 +432,7 @@ dbT = {
lpathA = {
["ProjectDIR/rt/rmap/apps/intel-14_0/impi/4.1/lib"] = 1,
},
mpath = "ProjectDIR/rt/rmap/mf/2Compiler/intel/14.0",
pV = "000000004.000000001.*zfinal",
parentAA = {
{
Expand All @@ -448,6 +454,7 @@ dbT = {
lpathA = {
["ProjectDIR/rt/rmap/apps/intel/14.0.1/lib"] = 1,
},
mpath = "ProjectDIR/rt/rmap/mf/2Core",
pV = "000000014.000000000.000000001.*zfinal",
pathA = {
["ProjectDIR/rt/rmap/apps/intel/14.0.1/bin"] = 1,
Expand All @@ -460,6 +467,7 @@ dbT = {
Version = "5.6",
fullName = "paraview/5.6",
hidden = false,
mpath = "ProjectDIR/rt/rmap/mf/2MPI/intel/14.0/impi/4.1",
pV = "000000005.000000006.*zfinal",
parentAA = {
{
Expand Down Expand Up @@ -583,6 +591,7 @@ dbT = {
lpathA = {
["ProjectDIR/rt/rmap/apps/intel-14_0/impi/4.1/lib"] = 1,
},
mpath = "ProjectDIR/rt/rmap/mf/2Compiler/intel/14.0",
pV = "000000004.000000001.*zfinal",
parentAA = {},
pathA = {
Expand All @@ -600,6 +609,7 @@ dbT = {
lpathA = {
["ProjectDIR/rt/rmap/apps/intel/14.0.1/lib"] = 1,
},
mpath = "ProjectDIR/rt/rmap/mf/2Core",
pV = "000000014.000000000.000000001.*zfinal",
parentAA = {},
pathA = {
Expand All @@ -613,6 +623,7 @@ dbT = {
Version = "5.6",
fullName = "paraview/5.6",
hidden = false,
mpath = "ProjectDIR/rt/rmap/mf/2MPI/intel/14.0/impi/4.1",
pV = "000000005.000000006.*zfinal",
parentAA = {},
wV = "000000005.000000006.*zfinal",
Expand Down
2 changes: 1 addition & 1 deletion rt/softwarePage/err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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
Modules based on Lua: Version 8.6.11 2022-02-03 16:59 -04:00
by Robert McLay [email protected]
===========================
step 2
Expand Down
5 changes: 5 additions & 0 deletions rt/softwarePage/out.txt
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ dbT = {
fullName = "foo/.2.0",
help = "foo v.2.0",
hidden = true,
mpath = "ProjectDIR/rt/softwarePage/mf",
pV = "000000000.000000002.*zfinal",
wV = "000000000.000000002.*zfinal",
whatis = {
Expand All @@ -192,6 +193,7 @@ dbT = {
Version = ".pkginfo",
fullName = "foo/.pkginfo",
hidden = true,
mpath = "ProjectDIR/rt/softwarePage/mf",
pV = "*pkginfo.*zfinal",
wV = "*pkginfo.*zfinal",
},
Expand All @@ -203,6 +205,7 @@ dbT = {
fullName = "foo/1.0",
help = "foo v1.0",
hidden = false,
mpath = "ProjectDIR/rt/softwarePage/mf",
pV = "000000001.*zfinal",
propT = {
arch = {
Expand All @@ -222,6 +225,7 @@ dbT = {
fullName = "foo/1.1",
help = "foo v1.1",
hidden = false,
mpath = "ProjectDIR/rt/softwarePage/mf",
pV = "000000001.000000001.*zfinal",
propT = {
arch = {
Expand All @@ -243,6 +247,7 @@ dbT = {
And even more help
]],
hidden = false,
mpath = "ProjectDIR/rt/softwarePage/mf",
pV = "000000001.000000003.*zfinal",
propT = {
state = {
Expand Down
2 changes: 1 addition & 1 deletion rt/spider/err.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
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
Modules based on Lua: Version 8.6.11 2022-02-03 16:59 -04:00
by Robert McLay [email protected]
===========================
step 2
Expand Down
Loading

0 comments on commit e08f210

Please sign in to comment.