hpcugent / Lmod-UGent

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

update to Lmod 8.7.4 #50

Closed boegel closed 2 years ago

boegel commented 2 years ago

Integration tests still pass:

$ ./run_all_tests.sh
Lmod-8.7.4-1.ug.el8.x86_64
Lmod-core-8.7.4-1.ug.el8.x86_64
vsc-cluster-modules-1.0-1.noarch
vsc-cluster-modules-tier2-1.0-1.noarch

> module --version

Modules based on Lua: Version 8.7.4  2022-06-07 18:23 -05:00
$MODULEPATH: /apps/gent/RHEL8/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/10.3.0

>>> 002_avail.sh: PASS

*** 003_load.sh ***

> module load GCC
> module load GCC/10.3.0
> module load intel
> module load foss
> module load Python/3.9.5-GCCcore-10.3.0
> module load GCC/10.3.0 OpenMPI/4.1.1-GCC-10.3.0 FlexiBLAS/3.0.4-GCC-10.3.0 FFTW/3.3.9-gompi-2021a
> module --force purge; module load cluster  # with 1 seconds time limit

>>> 003_load.sh: PASS

*** 004_purge.sh ***

> module load Python/3.9.5-GCCcore-10.3.0
> module purge
> module load cluster
> module --force purge
> module load cluster
> module --force purge
> module load cluster/swalot

>>> 004_purge.sh: PASS

*** 005_swap.sh ***

> module load GCCcore/10.3.0
> module swap GCCcore/11.2.0
> module swap GCCcore GCCcore/10.3.0
> module swap GCCcore/10.3.0 GCCcore/11.2.0

>>> 005_swap.sh: PASS

*** 006_unload.sh ***

> module load GCCcore/10.3.0
> module unload GCCcore
> module load GCCcore/10.3.0
> module unload GCCcore/10.3.0

>>> 006_unload.sh: PASS

*** 007_spider.sh ***

> module spider intel
> module spider intel/2020b
> module --show-hidden spider intel/2020b

>>> 007_spider.sh: PASS

*** 010_stdout_stderr.sh ***

> module list
> module avail

>>> 010_stdout_stderr.sh: PASS

*** 050_ml.sh ***

> ml av GCCcore/10.3.0
> ml
> ml GCCcore/10.3.0
> ml
> ml -GCCcore/10.3.0
> ml

>>> 050_ml.sh: PASS

*** 051_collections.sh ***

> ml foss/2020b
> ml Python/2.7.18-GCCcore-10.2.0
> module swap cluster/accelgor
> 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/swalot
> 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/accelgor
> 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/10.3.0
> module load OpenMPI/4.1.1-GCC-10.3.0
> checking $LD_LIBRARY_PATH...

>>> 101_LD_LIBRARY_PATH.sh: PASS

*** 102_symlink_modulepath.sh ***

> module use /tmp/vsc40023/Cevivj/symlinked_modules
> module avail test/1.2.3

>>> 102_symlink_modulepath.sh: PASS

TEST RESULT: all 13 passed!