-
Notifications
You must be signed in to change notification settings - Fork 129
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug where mixing NV and NVV in the same module sn caused ml spide…
…r to miss the NVV modules
- Loading branch information
Robert McLay
committed
Jan 31, 2019
1 parent
0925066
commit f78f32e
Showing
14 changed files
with
198 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
step 1 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version | ||
=========================== | ||
Modules based on Lua: Version 7.8.14 2019-01-14 13:30 -06:00 | ||
Modules based on Lua: Version 7.8.15 2019-01-16 12:46 -06:00 | ||
by Robert McLay [email protected] | ||
=========================== | ||
step 2 | ||
|
@@ -13,24 +13,24 @@ step 3 | |
lua ProjectDIR/src/lmod.in.lua bash --regression_testing -T load gcc fenics | ||
=========================== | ||
running: module --regression_testing -T load gcc fenics | ||
(1)Loading: gcc (fn: ProjectDIR/rt/dyn/mf/Core/gcc/7.1.lua, using Find-Best) | ||
(1)(0)Loading: gcc (fn: ProjectDIR/rt/dyn/mf/Core/gcc/7.1.lua, using Find-Best) | ||
Prepending: ProjectDIR/rt/dyn/mf/Compiler/gcc/7.1 to MODULEPATH | ||
Lmod is automatically replacing "intel/18.0.1" with "gcc/7.1". | ||
(2)Unloading: intel (status: active) (fn: ProjectDIR/rt/dyn/mf/Core/intel/18.0.1.lua) | ||
(2)(0)Unloading: intel (status: active) (fn: ProjectDIR/rt/dyn/mf/Core/intel/18.0.1.lua) | ||
Removing: ProjectDIR/rt/dyn/mf/Compiler/intel/18.0 from MODULEPATH | ||
(3)Unloading: gcc (status: active) (fn: ProjectDIR/rt/dyn/mf/Core/gcc/7.1.lua) | ||
(3)(0)Unloading: gcc (status: active) (fn: ProjectDIR/rt/dyn/mf/Core/gcc/7.1.lua) | ||
Removing: ProjectDIR/rt/dyn/mf/Compiler/gcc/7.1 from MODULEPATH | ||
(4)Loading: gcc (fn: ProjectDIR/rt/dyn/mf/Core/gcc/7.1.lua, using Find-Best) | ||
(4)(0)Loading: gcc (fn: ProjectDIR/rt/dyn/mf/Core/gcc/7.1.lua, using Find-Best) | ||
Prepending: ProjectDIR/rt/dyn/mf/Compiler/gcc/7.1 to MODULEPATH | ||
Pushing fenics on moduleQ | ||
reloadAll(1)(impi, gcc) | ||
(5)Unloading: impi (status: active) (fn: ProjectDIR/rt/dyn/mf/Compiler/intel/18.0/impi/18.0.1.lua) | ||
(5)(1)Unloading: impi (status: active) (fn: ProjectDIR/rt/dyn/mf/Compiler/intel/18.0/impi/18.0.1.lua) | ||
Removing: ProjectDIR/rt/dyn/mf/MPI/intel/18.0/impi/18.0 from MODULEPATH | ||
reloadAll(2)(gcc) | ||
(6)Loading: impi (fn: ProjectDIR/rt/dyn/mf/Compiler/gcc/7.1/impi/18.0.1.lua, using Find-Best) | ||
(6)(1)Loading: impi (fn: ProjectDIR/rt/dyn/mf/Compiler/gcc/7.1/impi/18.0.1.lua, using Find-Best) | ||
Prepending: ProjectDIR/rt/dyn/mf/MPI/gcc/7.1/impi/18.0 to MODULEPATH | ||
reloadAll(2)(gcc, impi) | ||
(7)Loading: fenics (fn: ProjectDIR/rt/dyn/mf/MPI/gcc/7.1/impi/18.0/fenics/1.0.lua, using Find-Best) | ||
(7)(0)Loading: fenics (fn: ProjectDIR/rt/dyn/mf/MPI/gcc/7.1/impi/18.0/fenics/1.0.lua, using Find-Best) | ||
Due to MODULEPATH changes, the following have been reloaded: | ||
1) impi/18.0.1 | ||
=========================== | ||
|
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,15 +2,15 @@ | |
step 1 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version | ||
=========================== | ||
Modules based on Lua: Version 7.8.12 2019-01-08 16:15 -06:00 | ||
Modules based on Lua: Version 7.8.15 2019-01-16 12:46 -06:00 | ||
by Robert McLay [email protected] | ||
=========================== | ||
step 2 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing -T load Rpkgs | ||
=========================== | ||
running: module --regression_testing -T load Rpkgs | ||
(1)Loading: Rpkgs (fn: ProjectDIR/rt/rstats/mf/Core/Rpkgs/3.4.0.lua, using Find-Best) | ||
(2)Loading: Rstats/3.4.0 (fn: ProjectDIR/rt/rstats/mf/Core/Rstats/3.4.0.lua, using Find-Best) | ||
(1)(0)Loading: Rpkgs (fn: ProjectDIR/rt/rstats/mf/Core/Rpkgs/3.4.0.lua, using Find-Best) | ||
(2)(0)Loading: Rstats/3.4.0 (fn: ProjectDIR/rt/rstats/mf/Core/Rstats/3.4.0.lua, using Find-Best) | ||
=========================== | ||
step 3 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing list | ||
|
@@ -22,4 +22,4 @@ step 4 | |
lua ProjectDIR/src/lmod.in.lua bash --regression_testing -T unload Rpkgs | ||
=========================== | ||
running: module --regression_testing -T unload Rpkgs | ||
(1)Unloading: Rpkgs (status: active) (fn: ProjectDIR/rt/rstats/mf/Core/Rpkgs/3.4.0.lua) | ||
(1)(0)Unloading: Rpkgs (status: active) (fn: ProjectDIR/rt/rstats/mf/Core/Rpkgs/3.4.0.lua) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
=========================== | ||
step 1 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version | ||
=========================== | ||
Modules based on Lua: Version 7.8.15 2019-01-16 12:46 -06:00 | ||
by Robert McLay [email protected] | ||
=========================== | ||
step 2 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing avail | ||
=========================== | ||
ProjectDIR/rt/spades/mf | ||
spades/py27/3.13 spades/py36/3.13 spades/3.12 (D) | ||
Where: | ||
D: Default Module | ||
Module defaults are chosen based on Find First Rules due to Name/Version/Version modules found in the module tree. | ||
See https://lmod.readthedocs.io/en/latest/060_locating.html for details. | ||
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 3 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing spider spades | ||
=========================== | ||
spades: | ||
Versions: | ||
spades/py27/3.13 | ||
spades/py36/3.13 | ||
spades/3.12 | ||
For detailed information about a specific "spades" module (including how to load the modules) use the module's full name. | ||
For example: | ||
$ module spider spades/py36/3.13 |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pushenv("CONDA_DEFAULT_ENV","spades-3.12.0") | ||
prepend_path{"PATH","/util/opt/anaconda/deployed-conda-envs/packages/spades/envs/spades-3.12.0/bin",priority=100} | ||
append_path("CONDA_ENVS_PATH", "/util/opt/anaconda/deployed-conda-envs/packages/spades/envs") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pushenv("CONDA_DEFAULT_ENV","spades-3.13.0-py27") | ||
prepend_path{"PATH","/util/opt/anaconda/deployed-conda-envs/packages/spades/envs/spades-3.13.0-py27/bin",priority=100} | ||
append_path("CONDA_ENVS_PATH", "/util/opt/anaconda/deployed-conda-envs/packages/spades/envs") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
pushenv("CONDA_DEFAULT_ENV","spades-3.13.0-py36") | ||
prepend_path{"PATH","/util/opt/anaconda/deployed-conda-envs/packages/spades/envs/spades-3.13.0-py36/bin",priority=100} | ||
append_path("CONDA_ENVS_PATH", "/util/opt/anaconda/deployed-conda-envs/packages/spades/envs") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
=========================== | ||
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/spades/mf:1; | ||
export __LMOD_REF_COUNT_MODULEPATH; | ||
MODULEPATH=ProjectDIR/rt/spades/mf; | ||
export MODULEPATH; | ||
_ModuleTable_='_ModuleTable_={["MTversion"]=3,depthT={},family={},mT={},mpathA={"ProjectDIR/rt/spades/mf",},["systemBaseMPATH"]="ProjectDIR/rt/spades/mf",}'; | ||
export _ModuleTable_; | ||
=========================== | ||
step 3 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing spider spades | ||
=========================== | ||
MODULEPATH=ProjectDIR/rt/spades/mf; | ||
export MODULEPATH; | ||
_ModuleTable_='_ModuleTable_={["MTversion"]=3,depthT={},family={},mT={},mpathA={"ProjectDIR/rt/spades/mf",},["systemBaseMPATH"]="ProjectDIR/rt/spades/mf",}'; | ||
export _ModuleTable_; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
-- -*- lua -*- | ||
local testName = "spades" | ||
|
||
testdescript = { | ||
owner = "rtm", | ||
product = "modules", | ||
description = [[ | ||
nvv_prereq | ||
]], | ||
keywords = {testName }, | ||
|
||
active = true, | ||
testName = testName, | ||
job_submit_method = "INTERACTIVE", | ||
|
||
runScript = [[ | ||
. $(projectDir)/rt/common_funcs.sh | ||
unsetMT | ||
initStdEnvVars | ||
export MODULEPATH=$(testDir)/mf | ||
rm -fr _stderr.* _stdout.* err.* out.* .lmod.d | ||
runLmod --version # 1 | ||
mkdir -p $HOME/.lmod.d/cache | ||
buildSpiderT $MODULEPATH > $HOME/.lmod.d/cache/spiderT.lua | ||
buildDbT $MODULEPATH > $HOME/.lmod.d/cache/dbT.lua | ||
runLmod avail # 2 | ||
runLmod spider spades # 3 | ||
HOME=$ORIG_HOME | ||
cat _stdout.[0-9][0-9][0-9] > _stdout.orig | ||
joinBase64Results -bash _stdout.orig _stdout.new | ||
cleanUp _stdout.new out.txt | ||
cat _stderr.[0-9][0-9][0-9] > _stderr.orig | ||
cleanUp _stderr.orig err.txt | ||
rm -f results.csv | ||
wrapperDiff --csv results.csv $(testDir)/out.txt out.txt | ||
wrapperDiff --csv results.csv $(testDir)/err.txt err.txt | ||
testFinish -r $(resultFn) -t $(runtimeFn) results.csv | ||
]], | ||
|
||
|
||
blessScript = [[ | ||
# perform what is needed | ||
]], | ||
|
||
tests = { | ||
{ id='t1'}, | ||
}, | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,7 +2,7 @@ | |
step 1 | ||
lua ProjectDIR/src/lmod.in.lua bash --regression_testing --version | ||
=========================== | ||
Modules based on Lua: Version 7.8.14 2019-01-14 13:30 -06:00 | ||
Modules based on Lua: Version 7.8.15 2019-01-16 12:46 -06:00 | ||
by Robert McLay [email protected] | ||
=========================== | ||
step 2 | ||
|
@@ -31,7 +31,7 @@ running: module --regression_testing -T use ProjectDIR/rt/use_w_sticky/mf/Other | |
Prepending: ProjectDIR/rt/use_w_sticky/mf/Other to MODULEPATH | ||
Prepending: ProjectDIR/rt/use_w_sticky/mf/A to MODULEPATH | ||
reloadAll(1)(HPCBIOS) | ||
(1)Unloading: HPCBIOS (status: active) (fn: ProjectDIR/rt/use_w_sticky/mf/Core/HPCBIOS/2016q2.lua) | ||
(1)(1)Unloading: HPCBIOS (status: active) (fn: ProjectDIR/rt/use_w_sticky/mf/Core/HPCBIOS/2016q2.lua) | ||
Removing: ProjectDIR/rt/use_w_sticky/mf/Other from MODULEPATH | ||
reloadAll(2)() | ||
Inactive Modules: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters