src issueshttps://gitlab.psi.ch/Pmodules/src/-/issues2020-04-14T17:49:54+02:00https://gitlab.psi.ch/Pmodules/src/-/issues/52Ignore multiple load commands2020-04-14T17:49:54+02:00bliven_sIgnore multiple load commandsAttempting to load a module twice currently prints an error:
```
$ module load tmux/2.8
module load: module conflicts with already loaded module -- tmux/2.8
```
This should be silently ignored. For instance, this can be annoying if user...Attempting to load a module twice currently prints an error:
```
$ module load tmux/2.8
module load: module conflicts with already loaded module -- tmux/2.8
```
This should be silently ignored. For instance, this can be annoying if users have `module load` commands in bashrc that can get executed several times.https://gitlab.psi.ch/Pmodules/src/-/issues/242modbuild: cleanup source and build directory before and after building2024-03-22T15:35:02+01:00gsellmodbuild: cleanup source and build directory before and after buildingTill now files in `$PMODULES_TMPDIR/<module` are removed after a successful build if not explicit disabled. In some cases it has some advantages to remove these files before starting to build.Till now files in `$PMODULES_TMPDIR/<module` are removed after a successful build if not explicit disabled. In some cases it has some advantages to remove these files before starting to build.gsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/241module load hints are broken2024-03-22T15:49:58+01:00gsellmodule load hints are brokenThe command `module load` shows hints if the module is an hierarchical group but the required group deps are not loaded. The output includes the overlay name:
```
pmod7:~$ module load lapack
module load: not available in the current MODU...The command `module load` shows hints if the module is an hierarchical group but the required group deps are not loaded. The output includes the overlay name:
```
pmod7:~$ module load lapack
module load: not available in the current MODULEPATH -- lapack
Try with one of the following command(s):
module load base lapack/3.9.0
module load base lapack/3.9.0
module load base lapack/3.9.0
module load base lapack/3.9.0
module load base lapack/3.9.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module load base lapack/3.10.0
module use unstable; module load gcc/13.1.0 lapack/3.10.0
```
The output the overlay name must be removedgsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/240Can't load scalapack module2024-03-22T14:10:58+01:00germann_eCan't load scalapack module```
germann_e@merlin-l-001:~/.../MPI/qe$ module load scalapack
module load: not available in the current MODULEPATH -- scalapack
Try with one of the following command(s):
module use unstable; module load base scalapack/2.2.1-1
module us...```
germann_e@merlin-l-001:~/.../MPI/qe$ module load scalapack
module load: not available in the current MODULEPATH -- scalapack
Try with one of the following command(s):
module use unstable; module load base scalapack/2.2.1-1
module use unstable; module load base scalapack/2.2.1-1
module use unstable; module load base scalapack/2.2.1-2
germann_e@merlin-l-001:~/.../MPI/qe$ module use unstable; module load base scalapack/2.2.1-2
module load: module does not exist -- base
germann_e@merlin-l-001:~/.../MPI/qe$ module use unstable
germann_e@merlin-l-001:~/.../MPI/qe$ module load scalapack/2.2.1-2
/opt/psi/Tools/Pmodules/1.1.17/lib/libstd.bash: line 76: cd: scalapack: No such file or directory
module load: not available in the current MODULEPATH -- scalapack/2.2.1-2
Try with one of the following command(s):
module load base scalapack/2.2.1-2
germann_e@merlin-l-001:~/.../MPI/qe$ module show scalapack
ModuleCmd_Display.c(151):ERROR:105: Unable to locate a modulefile for 'scalapack'
germann_e@merlin-l-001:~/.../MPI/qe$ module list
Currently Loaded Modules:
1) Pmodules/1.1.17
germann_e@merlin-l-001:~/.../MPI/qe$ module load base
module load: module does not exist -- base
germann_e@merlin-l-001:~/.../MPI/qe$ module list
Currently Loaded Modules:
1) Pmodules/1.1.17
```https://gitlab.psi.ch/Pmodules/src/-/issues/239Use Tcl 8.6.142024-03-20T21:14:32+01:00gsellUse Tcl 8.6.14gsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/238Fix parsing of arguments2024-03-21T10:26:38+01:00gsellFix parsing of argumentsThe following calls of `modbuild` are failing
```
modbuild # without any argument
modbuild --help
```
The problem is that `modbuild` expect the build-script as first argument.The following calls of `modbuild` are failing
```
modbuild # without any argument
modbuild --help
```
The problem is that `modbuild` expect the build-script as first argument.gsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/237Add link to Pmodules documentation to usage text2024-03-21T10:36:39+01:00gsellAdd link to Pmodules documentation to usage textgsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/236config.yaml doesn't take into account --with nvhpc/24.32024-03-21T16:55:39+01:00germann_econfig.yaml doesn't take into account --with nvhpc/24.3With the following config.yaml
# config.yaml
```
4.1.5:
variants:
- systems: [merlin-*, ra-*]
suffix: _slurm
group_deps:
compiler: {gcc: [9.5.0, 10.4.0, 11.4.0, 12.3.0, 13.1.0]}
...With the following config.yaml
# config.yaml
```
4.1.5:
variants:
- systems: [merlin-*, ra-*]
suffix: _slurm
group_deps:
compiler: {gcc: [9.5.0, 10.4.0, 11.4.0, 12.3.0, 13.1.0]}
build_requires: [pmix/4.2.4, ucx/1.14.1_slurm, libfabric/1.18.0, hwloc/2.9.1, patchelf/0.14.5]
runtime_deps: [cuda/12.1.1]
- systems: [merlin-*, ra-*]
suffix: _slurm
relstage: unstable
group_deps:
compiler: {intelcc: [22.2]}
build_requires: [pmix/4.2.4, ucx/1.14.1_slurm, libfabric/1.18.0, hwloc/2.9.1, patchelf/0.14.5]
runtime_deps: [cuda/12.1.1]
- systems: [merlin-*, ra-*]
suffix: _slurm
relstage: unstable
group_deps:
compiler: {nvhpc: [24.3]}
build_requires: [pmix/4.2.4, ucx/1.14.1_slurm, libfabric/1.18.0, hwloc/2.9.1, patchelf/0.14.5]
```
& the command
```
germann_e@merlin-l-001:~/.../Compiler/openmpi$ ./build 4.1.5 --with nvhpc/24.3 --update-modulefiles
/opt/psi/Tools/Pmodules/1.1.17/bin/modbuild ./build 4.1.5 --with nvhpc/24.3 --update-modulefiles
Using YAML configuration file - /psi/home/germann_e/buildblocks/Compiler/openmpi/files/config.yaml
openmpi/4.1.5_slurm: with gcc/9.5.0 cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5 building ...
Loading module: gcc/9.5.0
Loading module: cuda/12.1.1
Loading module: pmix/4.2.4
Loading module: ucx/1.14.1_slurm
Loading module: libfabric/1.18.0
Loading module: hwloc/2.9.1
Loading module: patchelf/0.14.5
Using pbuild::set_download_url is deprecated with YAML module configuration files.
Using pbuild::set_sha256sum is deprecated with YAML module configuration files.
Using pbuild::add_to_group is deprecated with YAML module configuration files.
Using pbuild::install_docfiles is deprecated with YAML module configuration files.
openmpi/4.1.5_slurm: build with gcc/9.5.0 cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5
openmpi/4.1.5_slurm: already exists, not rebuilding ...
openmpi/4.1.5_slurm: adding modulefile to overlay 'base' ...
* * * * *
openmpi/4.1.5_slurm: with gcc/10.4.0 cuda/12.1.1 b:pmix/4.2.4 b:ucx/1.14.1_slurm b:libfabric/1.18.0 b:hwloc/2.9.1 b:patchelf/0.14.5 building ...
Loading module: gcc/10.4.0
Loading module: cuda/12.1.1
Loading module: pmix/4.2.4
```
The build binary is still trying to compile with all the compilers (gcc, intelcc) though --with nvhpc is given.https://gitlab.psi.ch/Pmodules/src/-/issues/235.config-$V_PKG gets wrong Systems output2024-03-22T08:33:12+01:00germann_e.config-$V_PKG gets wrong Systems outputGot
```
cat /opt/psi/Programming/modulefiles/nvhpc/.config-24.3
relstage: unstable
Systems: [merlin-*
ra-]
```
as output, which got me the error:
```
germann_e@merlin-l-001:~/.../Programming/nvhpc$ ./build 24.3 --update-modulefiles...Got
```
cat /opt/psi/Programming/modulefiles/nvhpc/.config-24.3
relstage: unstable
Systems: [merlin-*
ra-]
```
as output, which got me the error:
```
germann_e@merlin-l-001:~/.../Programming/nvhpc$ ./build 24.3 --update-modulefiles
/opt/psi/Tools/Pmodules/1.1.17/bin/modbuild ./build 24.3 --update-modulefiles
Using YAML configuration file - /psi/home/germann_e/buildblocks/Programming/nvhpc/files/config.yaml
nvhpc/24.3: building ...
nvhpc/24.3:
nvhpc/24.3: already exists, not rebuilding ...
nvhpc/24.3: adding modulefile to overlay 'base' ...
/afs/psi.ch/sys/psi.merlin/Tools/Pmodules/1.1.17/bin/../lib/libpbuild.bash: line 1520: local: `ra-': invalid variable name for name reference
* * * * *
```https://gitlab.psi.ch/Pmodules/src/-/issues/234version 1.1.172023-12-13T15:16:11+01:00gsellversion 1.1.17- set version to 1.1.17
- updates
- bash -> 5.2.21- set version to 1.1.17
- updates
- bash -> 5.2.21gsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/233release version 1.1.162023-12-13T14:41:52+01:00gsellrelease version 1.1.161.1.16gsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/232YAML configuration files2023-12-12T16:04:33+01:00gsellYAML configuration files- add SHA256 checks
- add document files
- build-script must be passed as first argument
- bug-fixes
- cleanup
- use `--debug` to enable debug output not for `set -x`
- use `--verbose` to enable debug output and `set -x`
- version can be...- add SHA256 checks
- add document files
- build-script must be passed as first argument
- bug-fixes
- cleanup
- use `--debug` to enable debug output not for `set -x`
- use `--verbose` to enable debug output and `set -x`
- version can be either `<name>/<version>` or `<version>`gsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/231bugfix in version_lt2023-08-15T10:03:43+02:00gsellbugfix in version_ltgsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/230update CHANGELOG and cleanup2023-08-04T14:51:12+02:00gsellupdate CHANGELOG and cleanupgsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/229block loading of a module on blocklisted systems2023-08-04T14:33:54+02:00gsellblock loading of a module on blocklisted systemsgsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/228modbuild: better version compare functions2023-08-04T14:17:17+02:00gsellmodbuild: better version compare functionsCompare with $V_PKG if only argument has been passedCompare with $V_PKG if only argument has been passedgsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/227modbuild runs each build twice2023-08-04T14:11:13+02:00gsellmodbuild runs each build twicegsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/226lookup of default legacy config files doesn't work2023-07-26T16:38:38+02:00gselllookup of default legacy config files doesn't workgsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/225update CHANGELOG.md2023-07-14T17:54:13+02:00gsellupdate CHANGELOG.mdgsellgsellhttps://gitlab.psi.ch/Pmodules/src/-/issues/224don't test a bash array with -n2023-07-14T17:41:15+02:00gselldon't test a bash array with -ngsellgsell