Commit Graph
906 Commits
Author SHA1 Message Date
gsell cc257bbe41 libpmodules (#385): accept keys for newer versions in overlay config 2025-02-03 14:31:22 +01:00
gsell ca4df4d43e libstd (#384): bugfix in function std::remove_path()
(cherry picked from commit 8354e703c5)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2025-02-03 12:29:23 +01:00
gsell 103e6f5cbf modulecmd (#383): required keys added to dict OverlayConfigKeys
(cherry picked from commit d0125da316)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2025-02-03 12:19:59 +01:00
gsell 07b95b39d9 build-system (#382): bugfix in yml::get_group_deps()
(cherry picked from commit ae00d9f865)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2025-02-03 10:53:11 +01:00
gsell 1bd326a55b build-system: YAM anchors are now supported
(cherry picked from commit ac33def277)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:46:59 +01:00
gsell 4adcde41ed build-system: set Pmodules system config file with env. variable
(cherry picked from commit 9b996bb1bc)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:46:04 +01:00
gsell cc16faa62c build-system: always update module config files if requested
(cherry picked from commit d00b776e68)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:45:18 +01:00
gsell 42b67e740d build-system: select modulefile from config
(cherry picked from commit b647a11a4f)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:44:40 +01:00
gsell c013c072a6 build-system: bugfixes if build_functions are specified in config file
(cherry picked from commit a38d855df9)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:43:34 +01:00
gsell cb2cb53a68 build-system: bugfix in initialisation of the variables Systems and UsedOverlays
(cherry picked from commit b06a81e155)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:40:42 +01:00
gsell b45998633a buid-system: add prefix to sub-functions in _build_module()
(cherry picked from commit 0427c0077f)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:39:17 +01:00
gsell ee9cf7a0e9 build-system, modulecmd: code cleanup
(cherry picked from commit 53e7dbfa1c)

Co-authored-by: Achim Gsell <achim.gsell@psi.ch>
2024-11-28 14:37:59 +01:00
gsell db848594ff build-system: yq.aarch64_Linux added 2024-09-24 18:09:31 +02:00
gsell 3168fb5104 Merge branch '364-modbuild-if-no-variant-is-specified-an-uset-variable-is-used' into 'master'
Resolve "modbuild: if no variant is specified, an uset variable is used"

Closes #364

See merge request Pmodules/src!375

(cherry picked from commit 6603d91503)

8ceec1a8 build-system: using unset variables fixed if no variants specified

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-20 14:23:53 +02:00
gsell 1d061d018d Merge branch '363-modulecmd-load-hints-are-not-shown' into 'master'
Resolve "modulecmd: load hints are not shown"

Closes #363

See merge request Pmodules/src!373

(cherry picked from commit f36c0f6689)

2c25825a modulecmd: show load hints again

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-20 09:52:48 +02:00
gsell 6efe99da6e Merge branch '362-build-system-review-info-messages-and-other-minor-changes' into 'master'
Resolve "build-system: review info messages and other minor changes"

Closes #362

See merge request Pmodules/src!371

(cherry picked from commit a6a1c759cc)

65d2acac build-system: info messages reviewed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-20 09:46:03 +02:00
gsell 662c1dd824 Merge branch '361-build-system-bug-in-loading-used-overlays' into 'master'
Resolve "build-system: bug in loading used overlays"

Closes #361

See merge request Pmodules/src!369

(cherry picked from commit afdaa632a0)

e8f38df1 build-system: bugfix if 'use_overlays' is empty

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-20 09:38:17 +02:00
gsell f247577818 Merge branch '360-modulecmd-overlayexcludes-matches-everything-if-empty' into 'master'
Resolve "modulecmd: OverlayExcludes matches everything if empty"

Closes #360

See merge request Pmodules/src!367

(cherry picked from commit 99a168996f)

a86a0a7c modulecmd: bugfix in handling overlay excludes

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-11 17:02:27 +02:00
gsell bfc83c02d0 Merge branch '359-build-system-default-build-function-are-not-defined' into 'master'
Resolve "build-system: default build function are not defined"

Closes #359

See merge request Pmodules/src!365

(cherry picked from commit 877906a73a)

d370780e build-system: define build functions in default config

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-11 10:37:14 +02:00
gsell a3230eafd0 Merge branch '358-build-system-add-use_flags-to-yaml-config-file' into 'master'
Resolve "build-system: add use_flags to YAML config file"

Closes #358

See merge request Pmodules/src!363

(cherry picked from commit 91dbcefd7f)

5e1c3feb build-system: use_flags in YAML config file

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-11 10:32:28 +02:00
gsell 7056ea8365 Merge branch '357-modulecmd-hostname-can-be-the-short-name' into 'master'
Resolve "modulecmd: $HOSTNAME can be the short name"

Closes #357

See merge request Pmodules/src!361

(cherry picked from commit ed30c4a73d)

ea7fe278 modulecmd: use 'hostname -f' to get the fqdn not $HOSTNAME

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-10 10:30:22 +02:00
gsell 5b54a5f1f8 Merge branch '356-build-system-add-key-in-yaml-config-in-which-the-functions-required-to-build-a-module-variant' into 'master'
Resolve "build-system: add key in YAML config in which the functions required to build a module/variant can be set"

Closes #356

See merge request Pmodules/src!359

(cherry picked from commit b74839e1ef)

70252320 build-system: configurable build functions to use per module/variant

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-09 12:09:52 +02:00
gsell 347ca7bc06 Merge branch '355-build-system-cleanup-legacy-build-functions' into 'master'
Resolve "build-system: cleanup legacy build functions"

Closes #355

See merge request Pmodules/src!357

(cherry picked from commit b0bdb83cdc)

a88f76f5 build-system: cleanup legacy build functions

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-09 11:37:40 +02:00
gsell 6c13b4eaa2 Merge branch '354-build-system-cleanup-refactor-check-whether-a-variant-has-to-be-built' into 'master'
Resolve "build-system: cleanup, refactor check whether a variant has to be built"

Closes #354

See merge request Pmodules/src!355

(cherry picked from commit 9bdfc49a8c)

b2ec1e46 build-system: cleanup and refactor which variants to build

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-09 11:32:18 +02:00
gsell 76112ae2c3 Merge branch '353-modulecmd-regex-for-overlay-excludes' into 'master'
Resolve "modulecmd: regex for overlay excludes"

Closes #353

See merge request Pmodules/src!353

(cherry picked from commit 9f6945d300)

94661065 modulecmd: regex can now be used in overlay excludes

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-09 10:34:10 +02:00
gsell 84642e7584 Merge branch '352-psi-openmpi-modules-not-loading-correctly' into 'master'
Resolve "PSI OpenMPI modules not loading correctly"

Closes #352

See merge request Pmodules/src!351

(cherry picked from commit 340ddd0699)

33f58472 modulecmd: bugfix in loading multiple modules in same call of module

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-05 17:27:11 +02:00
gsell 595fb6b56e Merge branch '351-build-system-loading-overlays-fails-if-more-than-one-overlay-has-to-be-loaded' into 'master'
Resolve "build-system: loading overlays fails if more than one overlay has to be loaded"

Closes #351

See merge request Pmodules/src!349

(cherry picked from commit fdc09cdbbc)

3237a5b1 build-system: bugfix in loading required overlays

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-05 17:03:06 +02:00
gsell e30338240a Merge branch '350-build-system-handle-empty-variants-blocks' into 'master'
Resolve "build-system: handle empty variants blocks"

Closes #350

See merge request Pmodules/src!347

(cherry picked from commit ffbc6292eb)

047d55d8 build-system: bugfix: handle empty variants

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-09-02 18:25:20 +02:00
gsell fee6b2e33b Merge branch '349-build-system-error-in-reading-variants-in-yaml-config-file' into 'master'
Resolve "build-system: error in reading variants in YAML config file"

Closes #349

See merge request Pmodules/src!345

(cherry picked from commit afe5d0034c)

e6bae349 build-system: bugfix in reading YAML version config

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-30 14:24:22 +02:00
gsell 2aa0ae3808 Merge branch '348-build-system-use-reference-variable-to-process-yaml-input' into 'master'
Resolve "build-system: use reference variable to process YAML input"

Closes #348

See merge request Pmodules/src!343

(cherry picked from commit 2420f16655)

b046a0c0 build-system: use ref variable to pass YAML input

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-30 11:15:33 +02:00
gsell 378d7e8ac8 modulecmd: cleanup in 1.1.22 after cherry-picking 2024-08-29 15:35:34 +02:00
gsell a9fccf7aef Merge branch '346-modulecmd-make-sure-loadedmodules-_lmfiles_-and-pmodules_home-are-defined' into 'master'
Resolve "modulecmd: make sure LOADEDMODULES, _LMFILES_ and PMODULES_HOME are defined"

Closes #346

See merge request Pmodules/src!334

(cherry picked from commit 98f7d6b06e)

4b676a5b modulecmd: redefine LOADEDMODULES, _LMFILE_, PMODULES_HOME if undef

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:17:15 +02:00
gsell e6771cf1ec Merge branch '345-build-system-review-and-refactor-installation-of-module-and-config-files' into 'master'
Resolve "build-system: review and refactor installation of module- and config-files"

Closes #345

See merge request Pmodules/src!333

(cherry picked from commit 18eb56ab1a)

73ccb05a build-system: installation of modulefile and config files reviewed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:16:09 +02:00
gsell 15d6aceaa4 Merge branch '343-build-system-use-regex-for-the-system-check' into 'master'
Resolve "build-system: use regex for the system  check"

Closes #343

See merge request Pmodules/src!331

(cherry picked from commit 5ccf61065e)

4dcaded2 build-system: change from glob to regex matching for system list

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:15:00 +02:00
gsell 659f79854f Merge branch '342-build-system-check-type-of-variants-block' into 'master'
Resolve "build-system: check type of variants block"

Closes #342

See merge request Pmodules/src!330

(cherry picked from commit b19c038f47)

8b80ec9c build-system: check type of variants added

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:13:36 +02:00
gsell 9892818188 Merge branch '341-build-system-load-required-overlays-to-build-a-module' into 'master'
Resolve "build-system: load required overlays to build a module"

Closes #341

See merge request Pmodules/src!332

(cherry picked from commit 09b4ec55e9)

936bb4e4 build-system: really load the configured overlays

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:12:35 +02:00
gsell f4633ecb63 Merge branch '341-build-system-load-required-overlays-to-build-a-module' into 'master'
Resolve "build-system: load required overlays to build a module"

Closes #341

See merge request Pmodules/src!329

(cherry picked from commit 7ea8fa11ce)

c2f7733c build-system: load required overlays for building a module

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-29 15:10:31 +02:00
gsell 8ba670e7a4 modulecmd: define LOADEDMODULES and PMODULES_HOME if undef 2024-08-28 15:23:44 +02:00
gsell f6ea0bd3a6 Merge branch '339-modulecmd-loading-lmod-files-as-dependencies-of-a-tcl-modulefile' into 'master'
Resolve "modulecmd: loading Lmod files as dependencies of a Tcl modulefile"

Closes #339

See merge request Pmodules/src!318

(cherry picked from commit af82391ef0)

dd14f9d3 modulecmd: loading Lmod modulefiles as deps of Tcl modulefile fixed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:39:36 +02:00
gsell 069b67d0fa Merge branch '338-modulecmd-read-dependencies-file-from-same-directory-as-modulefile' into 'master'
Resolve "modulecmd: read dependencies file from same directory as modulefile"

Closes #338

See merge request Pmodules/src!317

(cherry picked from commit 25c9525f3f)

cfc844bc modulecmd: read dependencies from file in same directory as modulefile

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:38:46 +02:00
gsell bb4b93e16c Merge branch '337-modulecmd-use-of-wrong-shell-in-sub-cmd-unload' into 'master'
Resolve "modulecmd: use of wrong shell in sub-cmd unload"

Closes #337

See merge request Pmodules/src!316

(cherry picked from commit c99e10d180)

35081f59 modulecmd: bugfix: use of wrong shell in sub-cmd unload

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:36:31 +02:00
gsell 504d2b7ad8 Merge branch '336-build-system-don-t-cleanup-modulefiles-in-the-base-overlay' into 'master'
Resolve "build-system: don't cleanup modulefiles in the base overlay"

Closes #336

See merge request Pmodules/src!315

(cherry picked from commit 48d5ded1f6)

9b720ba9 build-system: don't cleanup modulefiles in base overlay

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:35:42 +02:00
gsell 20bb3e120f Merge branch '335-build-system-pbuild-module_is_avail-doesn-t-work-for-lmod' into 'master'
Resolve "build-system: pbuild::module_is_avail() doesn't work for Lmod"

Closes #335

See merge request Pmodules/src!314

(cherry picked from commit 7e61caaa29)

5b817601 build-system: support for Lmod in pbuild::module_is_avail()

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:34:45 +02:00
gsell 1f82ab9deb Merge branch '334-modulecmd-un-using-a-group-is-broken' into 'master'
Resolve "modulecmd: un-using a group is broken"

Closes #334

See merge request Pmodules/src!313

(cherry picked from commit 8500068473)

d639c08b modulecmd: bugfix in un-using a group

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:33:36 +02:00
gsell da3d5ecd98 Merge branch '333-modulecmd-module-use-group-adds-directories-of-overlays-in-wrong-order' into 'master'
Resolve "modulecmd: 'module use GROUP' adds directories of overlays in wrong order"

Closes #333

See merge request Pmodules/src!312

(cherry picked from commit ea28d5c0fd)

84f3ab67 modulecmd: fix order of dirs in MODULEPATH

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:32:14 +02:00
gsell 9f9042440d Merge branch '332-modulecmd-use-of-unset-variable-in-sub-cmd-unuse' into 'master'
Resolve "modulecmd: use of unset variable in sub-cmd unuse"

Closes #332

See merge request Pmodules/src!311

(cherry picked from commit 59c116b70b)

fefe313d modulecmd: use of unset variable fixed

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:31:14 +02:00
gsell b3cfe9c4ea Merge branch '331-modulecmd-lmod-removes-directories-from-modulepath' into 'master'
Resolve "modulecmd: Lmod removes directories from MODULEPATH"

Closes #331

See merge request Pmodules/src!310

(cherry picked from commit 10c6922f8a)

889aafd2 modulecmd: re-add directory to MODULEPATH removed by Lmod

Co-authored-by: gsell <achim.gsell@psi.ch>
2024-08-23 13:29:03 +02:00
gsell c977703d26 modulecmd: ignore release stage if full module name specified 2024-08-16 13:34:20 +02:00
gsell 367337b559 modulecmd: set _LMFILES_ and LOADEDMODULES if removed by Lmod 2024-08-16 13:29:34 +02:00
gsell f828c728ad modulecmd: create missing directories for overlays
Print error message if the directory cannot be created.
2024-08-16 13:02:00 +02:00