hpcugent / Lmod-UGent

spec files of Lmod for UGent-HPC
8 stars 7 forks source link

update to Lmod 7.8.19 (includes fix for 'ml purge') #33

Closed boegel closed 5 years ago

boegel commented 5 years ago

cfr. https://github.com/TACC/Lmod/issues/397

Still passes module tests (see below) after fixing incorrect module --force purge test, see https://github.ugent.be/hpcugent/vsc-testing/pull/42

cc @hajgato


$ date
Tue Feb 12 11:00:49 CET 2019

$ hostname
node2459.golett.os

$ cd vsc-testing/module/
$ ./run_all_tests.sh
Lmod-7.8.19-1.ug.el7.noarch
vsc-cluster-modules-0.30-3.noarch
vsc-cluster-modules-tier2-0.30-3.noarch

> module --version

Modules based on Lua: Version 7.8.19  2019-02-11 12:34 -06:00
$MODULEPATH: /apps/gent/CO7/haswell-ib/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/6.4.0

>>> 002_avail.sh: PASS

*** 003_load.sh ***

> module load GCC
> module load GCC/6.4.0-2.28
> module load intel
> module load foss
> module load Python/2.7.14-intel-2018a
> module load GCC/6.4.0-2.28 OpenMPI/2.1.2-GCC-6.4.0-2.28 OpenBLAS/0.2.20-GCC-6.4.0-2.28 FFTW/3.3.7-gompi-2018a
> module --force purge; module load cluster  # with 1 seconds time limit

>>> 003_load.sh: PASS

*** 004_purge.sh ***

> module load Python/2.7.14-intel-2018a
> module purge
> module load cluster
> module --force purge
> module load cluster
> module --force purge
> module load cluster/golett

>>> 004_purge.sh: PASS

*** 005_swap.sh ***

> module load GCCcore/6.4.0
> module swap GCCcore/7.3.0
> module swap GCCcore GCCcore/6.4.0
> module swap GCCcore/6.4.0 GCCcore/7.3.0

>>> 005_swap.sh: PASS

*** 006_unload.sh ***

> module load GCCcore/6.4.0
> module unload GCCcore
> module load GCCcore/6.4.0
> module unload GCCcore/6.4.0

>>> 006_unload.sh: PASS

*** 007_spider.sh ***

> module spider intel
> module spider intel/2016a
> module --show-hidden spider intel/2016a

>>> 007_spider.sh: PASS

*** 010_stdout_stderr.sh ***

> module list
> module avail

>>> 010_stdout_stderr.sh: PASS

*** 050_ml.sh ***

> ml av GCCcore/6.4.0
> ml
> ml GCCcore/6.4.0
> ml
> ml -GCCcore/6.4.0
> ml

>>> 050_ml.sh: PASS

*** 051_collections.sh ***

> ml foss/2018a
> ml Python/2.7.14-intel-2018a
> module swap cluster/delcatty
> 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
> module swap cluster/golett
> 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/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/6.4.0-2.28
> module load OpenMPI/2.1.2-GCC-6.4.0-2.28
> checking $LD_LIBRARY_PATH...

>>> 101_LD_LIBRARY_PATH.sh: PASS

*** 102_symlink_modulepath.sh ***

> module use /tmp/vsc40023/5onN4i/symlinked_modules
> module avail test/1.2.3

>>> 102_symlink_modulepath.sh: PASS

*** 103_tcl2lua_LD_PRELOAD.sh ***

> module load jemalloc
> module show jemalloc
> ml intel/2018a && LD_LIBRARY_PATH='' LD_PRELOAD='' ml MariaDB/10.3.7-intel-2018a

>>> 103_tcl2lua_LD_PRELOAD.sh: PASS

TEST RESULT: all 14 passed!