Closed boegel closed 7 years ago
tested on test2802
, works like a charm and fixes the problem reported in https://github.com/TACC/Lmod/issues/156
[11:36:49] vsc40023@test2802:~/vsc-testing/module $ ./run_all_tests.sh
Lmod-6.5.3-1.ug.el6.noarch
vsc-cluster-modules-0.19-1.noarch
vsc-cluster-modules-tier2-0.19-1.noarch
> module --version
Modules based on Lua: Version 6.5.3 2016-08-29 12:57
$MODULEPATH: /apps/gent/SL6/westmere/modules/all:/etc/modulefiles/vsc
*** 001_list.sh ***
> module list
>>> 001_list.sh: PASS
*** 002_avail.sh ***
> module avail
> module avail GCC
> module avail GCC/4.9.3
>>> 002_avail.sh: PASS
*** 003_load.sh ***
> module load GCC
> module load GCC/4.9.3
> module load intel
> module load foss
> module load Python/2.7.11-intel-2016a
> module load GCC/4.9.3-2.25 OpenMPI/1.10.2-GCC-4.9.3-2.25 OpenBLAS/0.2.15-GCC-4.9.3-2.25-LAPACK-3.6.0 FFTW/3.3.4-gompi-2016a
>>> 003_load.sh: PASS
*** 004_purge.sh ***
> module load Python/2.7.11-intel-2016a
> module purge
> module load cluster
> module purge -force
> module load cluster
> module purge -force
> module load cluster/.banette
>>> 004_purge.sh: PASS
*** 005_swap.sh ***
> module load GCC/4.7.2
> module swap GCC/4.9.3
> module swap GCC GCC/4.7.2
> module swap GCC/4.7.2 GCC/4.9.3
>>> 005_swap.sh: PASS
*** 006_unload.sh ***
> module load GCC/4.9.3
> module unload GCC
> module load GCC/4.9.3
> module unload GCC/4.9.3
>>> 006_unload.sh: PASS
*** 010_stdout_stderr.sh ***
> module list
> module avail
>>> 010_stdout_stderr.sh: PASS
*** 050_ml.sh ***
> ml av GCC/4.9.3
> ml
> ml GCC/4.9.3
> ml
> ml -GCC/4.9.3
> ml
>>> 050_ml.sh: PASS
*** 051_collections.sh ***
> ml foss/2016a
> ml Python/2.7.11-intel-2016a
> ml save this_is_just_a_test_collection_for_module_integration_test_051
> ml describe this_is_just_a_test_collection_for_module_integration_test_051
> ml purge
> ml restore this_is_just_a_test_collection_for_module_integration_test_051
> ml purge
> module swap cluster/.banette cluster/delcatty
> ml purge
> ml restore this_is_just_a_test_collection_for_module_integration_test_051
> ml purge
>>> 051_collections.sh: PASS
*** 100_lmod_cache.sh ***
> module avail # 2s time limit
>>> 100_lmod_cache.sh: PASS
*** 101_LD_LIBRARY_PATH.sh ***
> module load GCC/4.9.3-2.25
> module load OpenMPI/1.10.2-GCC-4.9.3-2.25
> checking $LD_LIBRARY_PATH...
>>> 101_LD_LIBRARY_PATH.sh: PASS
*** 102_symlink_modulepath.sh ***
> module use /tmp/vsc40023/7K1OH2/symlinked_modules
> module avail test/1.2.3
>>> 102_symlink_modulepath.sh: PASS
*** 103_load-via-list.sh ***
>>> 103_load-via-list.sh: PASS
*** 103_tcl2lua_LD_PRELOAD.sh ***
> module load jemalloc
> module show jemalloc
>>> 103_tcl2lua_LD_PRELOAD.sh: PASS
TEST RESULT: all 14 passed!
@wpoely86 please merge & deploy?
bumped to 6.5.4 to include fix for ml spider
not suggested to load hidden modules (cfr. https://github.com/TACC/Lmod/commit/2271330ae6254d9ce0a594a5748929b5224d52f4)
All integration tests still pass:
[09:13:05] vsc40023@test2802:~/vsc-testing/module $ ./run_all_tests.sh
Lmod-6.5.4-1.ug.el6.noarch
vsc-cluster-modules-0.19-1.noarch
vsc-cluster-modules-tier2-0.19-1.noarch
> module --version
Modules based on Lua: Version 6.5.4 2016-08-30 13:00
$MODULEPATH: /apps/gent/SL6/westmere/modules/all:/etc/modulefiles/vsc
*** 001_list.sh ***
> module list
>>> 001_list.sh: PASS
*** 002_avail.sh ***
> module avail
> module avail GCC
> module avail GCC/4.9.3
>>> 002_avail.sh: PASS
*** 003_load.sh ***
> module load GCC
> module load GCC/4.9.3
> module load intel
> module load foss
> module load Python/2.7.11-intel-2016a
> module load GCC/4.9.3-2.25 OpenMPI/1.10.2-GCC-4.9.3-2.25 OpenBLAS/0.2.15-GCC-4.9.3-2.25-LAPACK-3.6.0 FFTW/3.3.4-gompi-2016a
>>> 003_load.sh: PASS
*** 004_purge.sh ***
> module load Python/2.7.11-intel-2016a
> module purge
> module load cluster
> module purge -force
> module load cluster
> module purge -force
> module load cluster/.banette
>>> 004_purge.sh: PASS
*** 005_swap.sh ***
> module load GCC/4.7.2
> module swap GCC/4.9.3
> module swap GCC GCC/4.7.2
> module swap GCC/4.7.2 GCC/4.9.3
>>> 005_swap.sh: PASS
*** 006_unload.sh ***
> module load GCC/4.9.3
> module unload GCC
> module load GCC/4.9.3
> module unload GCC/4.9.3
>>> 006_unload.sh: PASS
*** 010_stdout_stderr.sh ***
> module list
> module avail
>>> 010_stdout_stderr.sh: PASS
*** 050_ml.sh ***
> ml av GCC/4.9.3
> ml
> ml GCC/4.9.3
> ml
> ml -GCC/4.9.3
> ml
>>> 050_ml.sh: PASS
*** 051_collections.sh ***
> ml foss/2016a
> ml Python/2.7.11-intel-2016a
> ml save this_is_just_a_test_collection_for_module_integration_test_051
> ml describe this_is_just_a_test_collection_for_module_integration_test_051
> ml purge
> ml restore this_is_just_a_test_collection_for_module_integration_test_051
> ml purge
> module swap cluster/.banette cluster/delcatty
> ml purge
> ml restore this_is_just_a_test_collection_for_module_integration_test_051
> ml purge
>>> 051_collections.sh: PASS
*** 100_lmod_cache.sh ***
> module avail # 2s time limit
>>> 100_lmod_cache.sh: PASS
*** 101_LD_LIBRARY_PATH.sh ***
> module load GCC/4.9.3-2.25
> module load OpenMPI/1.10.2-GCC-4.9.3-2.25
> checking $LD_LIBRARY_PATH...
>>> 101_LD_LIBRARY_PATH.sh: PASS
*** 102_symlink_modulepath.sh ***
> module use /tmp/vsc40023/B30Rrr/symlinked_modules
> module avail test/1.2.3
>>> 102_symlink_modulepath.sh: PASS
*** 103_load-via-list.sh ***
>>> 103_load-via-list.sh: PASS
*** 103_tcl2lua_LD_PRELOAD.sh ***
> module load jemalloc
> module show jemalloc
>>> 103_tcl2lua_LD_PRELOAD.sh: PASS
TEST RESULT: all 14 passed!
see https://github.com/TACC/Lmod/issues/156