Commit Graph
428 Commits
Author SHA1 Message Date
gsell 25d923e988 modulecmd: get_available_modules() and find_modulefile() reviewed 2025-03-21 14:08:11 +01:00
gsell 78a9005d15 modulecmd: type in call to find_modulefile() fixed 2025-03-21 14:06:55 +01:00
gsell c022e146de modulecmd: cleanup some code 2025-03-21 14:06:14 +01:00
gsell 26a129fe62 modulecmd: caption text in 'module avail' fixed 2025-03-21 13:57:31 +01:00
gsell 91df1635bf modulecmd: comments added/reviewed; break some long lines 2025-03-21 13:46:58 +01:00
gsell ea471fb57a modulecmd: caption in output of 'module avail' fixed 2025-03-21 13:44:26 +01:00
gsell 996667e4d6 modulecmd: review/rewrite code to get available modules 2025-03-20 17:36:06 +01:00
gsell f9aa82ca0a modulecmd: bugfixes in use_group() and unuse_group() 2025-03-14 17:30:12 +01:00
gsell ef0dfb0662 modulecmd: re-init Pmodules env with sub-cmd purge 2025-03-14 17:17:47 +01:00
gsell 40411f2d92 modulecmd: don't export SystemCPU and OSrelease in PMODULES_ENV 2025-03-14 17:08:28 +01:00
gsell d2fd5f3cb1 modulecmd: error in defining doc-sring in pmodules_setup() fixed 2025-03-14 17:03:43 +01:00
gsell 10ffe41db1 modulecmd: use/unuse group while loading an overlay 2025-03-14 16:57:40 +01:00
gsell 05525fd25b modulecmd: main reviewed plus some minor changes 2025-03-06 14:49:29 +01:00
gsell 4280bd2b84 modulecmd: print correct release stage for Spack modules 2025-03-06 14:45:17 +01:00
gsell 9f5313e457 modulecmd: review code to handle extended module names in sub-cmd load 2025-03-06 14:35:06 +01:00
gsell 8e3a4c11d3 modulecmd: fatal error messages reviewed 2025-03-06 14:27:54 +01:00
gsell 33f09074cb modulecmd: use local __doc__ for function documentation 2025-03-06 14:07:20 +01:00
gsell 3c1a4b2287 modulecmd: some fixes for the Spack module integration
- get_module_config() reviewed
- bugix in header of module avail output
- module search:
  - remove .lua extension in module search output
  - don't loop over Pmodules groups if an overlay with layout 'Spack'
    with type 'replacing' is in use.
2025-02-19 15:55:24 +01:00
gsell 0486faec1c modulecmd: search in Spack modules 2025-02-19 11:08:32 +01:00
gsell 56ab7553c9 support for overlays without groups (e.g. for Spack modules) 2025-02-06 09:13:42 +01:00
gsell b878d6b7dd modulecmd: switching Pmodules versions fixed 2025-01-09 11:20:57 +01:00
gsell 8291cc27a6 modulecmd: variable PMODULES_MODULEFILES_DIR renamed to __MODULEFILES_DIR__ 2025-01-09 10:50:14 +01:00
gsell 68b411894c modulecmd: derive prefix from location of script 2025-01-09 10:34:05 +01:00
gsell 53e7dbfa1c build-system, modulecmd: code cleanup 2024-11-27 18:14:44 +01:00
gsell 2c25825a87 modulecmd: show load hints again 2024-09-20 09:51:13 +02:00
gsell a86a0a7ce4 modulecmd: bugfix in handling overlay excludes 2024-09-11 17:00:52 +02:00
gsell ea7fe2783c modulecmd: use 'hostname -f' to get the fqdn not $HOSTNAME 2024-09-09 15:28:00 +02:00
gsell 946610658f modulecmd: regex can now be used in overlay excludes 2024-09-09 10:31:32 +02:00
gsell 33f5847293 modulecmd: bugfix in loading multiple modules in same call of module
If more than one module is passed to the module function, loading
failed if one of the modules is already loaded as dependency.
2024-09-05 17:21:31 +02:00
gsell 4b676a5b96 modulecmd: redefine LOADEDMODULES, _LMFILE_, PMODULES_HOME if undef 2024-08-29 14:58:37 +02:00
gsell dd14f9d3e9 modulecmd: loading Lmod modulefiles as deps of Tcl modulefile fixed 2024-08-23 13:21:39 +02:00
gsell cfc844bccb modulecmd: read dependencies from file in same directory as modulefile 2024-08-23 13:14:48 +02:00
gsell 35081f59ce modulecmd: bugfix: use of wrong shell in sub-cmd unload 2024-08-23 13:08:19 +02:00
gsell d639c08bb3 modulecmd: bugfix in un-using a group 2024-08-21 11:06:40 +02:00
gsell 84f3ab6703 modulecmd: fix order of dirs in MODULEPATH 2024-08-21 11:01:06 +02:00
gsell fefe313d51 modulecmd: use of unset variable fixed 2024-08-21 10:48:22 +02:00
gsell 889aafd2f9 modulecmd: re-add directory to MODULEPATH removed by Lmod 2024-08-21 10:42:53 +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 c26ac94dae modulecmd: problems with loading/unloading Lmod files fixed 2024-08-14 17:20:30 +02:00
gsell 8192c6db6b modulecmd: cleanup and syntactical errors fixed 2024-08-14 15:02:51 +02:00
gsell 2653bb86b3 modulecmd: additional directories in overlays 2024-08-14 14:28:11 +02:00
gsell 85cf207e9e modulecmd: bugfix in test whether a file is a modulefile or not 2024-08-13 16:32:07 +02:00
gsell d63c9c15dd modulecmd: function to find modules reviewed 2024-08-13 16:02:50 +02:00
gsell 4b4c51d652 modulecmd: eval output of modulecmd.bin only if not empty 2024-08-13 15:51:09 +02:00
gsell c3bfc7a173 modulecmd: ignore relative dirs in MODULEPATH 2024-08-13 15:41:12 +02:00
gsell 09fe3894d6 modulecmd: set group depth to 0 for modules outside the hierarchy 2024-08-13 15:22:33 +02:00
gsell 0b09acf3ec modulecmd: bugfix in handling overlays 2024-08-13 14:00:50 +02:00
gsell 27793f1b70 modulecmd: alias 'spider' added to search sub-cmd 2024-08-12 16:40:58 +02:00
gsell 93e0f6b1e7 modulecmd: print help if modulecmd is called without args 2024-08-12 16:35:42 +02:00