Commit Graph

533 Commits

Author SHA1 Message Date
gsell 0ea9e54cc4 modulecmd: reinitialize Pmodules if Pmodules version changed 2021-05-06 19:04:27 +02:00
gsell 1731df2097 Merge branch '116-modulecmd-use-default-ifs' into 'master'
Resolve "modulecmd: use default IFS"

Closes #116

See merge request Pmodules/src!85
2021-05-06 14:40:48 +02:00
gsell f5351f025e modulecmd: use default IFS 2021-05-06 14:40:12 +02:00
gsell 9cef06786c Merge branch '115-modulecmd-group-argument-for-sub-cmd-avail' into 'master'
Resolve "modulecmd: group argument for sub-cmd avail"

Closes #115

See merge request Pmodules/src!84
2021-05-06 14:27:10 +02:00
gsell 6318a0a591 modulecmd: sub-cmd avail: group argument added
It's now possible to list available modules in certain groups only.
2021-05-06 14:23:55 +02:00
gsell e3299a1afa modulecmd: sub-cmd avail: pass group as argument to output function 2021-05-06 14:22:30 +02:00
gsell 2b8d085909 Merge branch '114-modulecmd-align-columns-in-sub-command-avail' into 'master'
Resolve "modulecmd: align columns in sub-command avail"

Closes #114

See merge request Pmodules/src!83
2021-05-06 11:29:25 +02:00
gsell dc1ad90c70 modulecmd: align columns in sub-cmd avail 2021-05-06 11:28:10 +02:00
gsell ac88f14202 Merge branch 'cherry-pick-9a0d55ed' into 'master'
modulecmd: save environment after unloading a module

See merge request Pmodules/src!82
2021-05-06 10:34:44 +02:00
gsell daead01197 modulecmd: save environment after unloading a module
(cherry picked from commit 9a0d55ed85)
2021-05-06 10:34:20 +02:00
gsell 37bc7af084 Merge branch '113-modulefile-fix-path-mangling' into 'master'
Resolve "modulefile: fix PATH mangling"

Closes #113

See merge request Pmodules/src!81
2021-05-06 10:33:25 +02:00
gsell 2faf42a4e0 modulefile: bugfix in modifying PATH
(cherry picked from commit d25663a32e)
2021-05-06 10:32:27 +02:00
gsell fcf37f8b44 Pmodule modulefile: remove Pmodules bin dir from PATH
in some cases it might happen that we have a Pmodules bin directory
in PATH. This has to be removed if we load a Pmodule module.


(cherry picked from commit d23fdf930a)
2021-05-06 10:31:47 +02:00
gsell b0636eb004 Merge branch '112-modmanage-review-and-cleanup' into 'master'
Resolve "modmanage: review and cleanup"

Closes #112

See merge request Pmodules/src!80
2021-04-30 15:33:32 +02:00
gsell 47bccd5fa8 modmange: functions from libpmodules.bash added 2021-04-30 15:30:17 +02:00
gsell 8c4d911fa5 modmanage: don't use PATH to find commands 2021-04-30 15:27:46 +02:00
gsell 291039084b modmanage: hardcode CMD 2021-04-30 15:24:13 +02:00
gsell 2747861b52 modmanage: shebang fixed 2021-04-30 15:23:44 +02:00
gsell 7146c2b179 Merge branch '111-modulecmd-better-tmp-file-handling' into 'master'
Resolve "modulecmd: better tmp file handling"

Closes #111

See merge request Pmodules/src!79
2021-04-29 19:34:27 +02:00
gsell c55404a798 modulecmd: better tmp file handling
A global tmp file is created if the sub-command is 'load', 'purge' or
'search' and removed in the exit function.
2021-04-29 19:29:42 +02:00
gsell f398834f08 Merge branch '110-don-t-remove-a-pmodules-module-with-module-purge' into 'master'
Resolve "don't remove a Pmodules module with module purge"

Closes #110

See merge request Pmodules/src!78
2021-04-29 18:58:45 +02:00
gsell a970be1cf3 modulecmd: don't remove a loaded Pmodules module with module purge
Removing a Pmodule module with module purge has some unwanted
side-effects. It is not required to have modulecmd in a directory of
PATH. If you user explicitly loads a Pmodules module the bin directory
of the Pmodule module is added to the PATH. A Pmodules module might be
loaded for two reasons. First to change the Pmodules version, second
to make the build system available. If we remove a Pmodules module
with module purge the build systems is getting unavailable again. This
is confusing for the user.
2021-04-29 18:47:01 +02:00
gsell 80728b8a6a modulecmd: tag log messages with 'Pmodules' 2021-04-29 18:10:55 +02:00
gsell 9df3fbe664 Merge branch '109-add-cuda-as-hierarchical-group-to-build-system' into 'master'
Resolve "add CUDA as hierarchical group to build system"

Closes #109

See merge request Pmodules/src!77
2021-04-19 15:55:00 +02:00
gsell 7f089633c7 libpbuild: better doc what installing build-block files does 2021-04-19 15:48:18 +02:00
gsell 6dee9b74da libpbuild: don't print module name and all deps when we are done 2021-04-19 15:47:10 +02:00
gsell 3c08327cdb libpbuild: add a bit more comments to post_install function 2021-04-19 15:45:57 +02:00
gsell 837bf74522 libpbuild: improve test whether a module exist or not 2021-04-19 15:45:06 +02:00
gsell c8d2e065aa libpbuild: handle error if make fails while compiling or installing 2021-04-19 15:41:58 +02:00
gsell 36086fdd57 libpbuild: handle error if appling a patch fails in pbuild::prep() 2021-04-19 15:37:58 +02:00
gsell 1068fafab1 libpbuild: handle error if tar fails in pbuild::prep() 2021-04-19 15:19:17 +02:00
gsell e1bd5e8986 libpbuild: handle use-flags passed as argument to modbuild 2021-04-19 15:18:24 +02:00
gsell 34af38d216 modbuild: libpbuild_dyn.bash is not required any more 2021-04-19 15:17:01 +02:00
gsell 85894a6f22 modbuild: add option to pass use-flags 2021-04-19 15:16:25 +02:00
gsell b2c51afe39 modulecmd: update usage output for sub-command search 2021-04-19 15:15:07 +02:00
gsell 96a7ca406a modulecmd: use upvar to return avail modules 2021-04-19 15:12:50 +02:00
gsell 1cc1db1477 modulecmd: unloading/purging a Pmodules module bug fixed
- the environment variable PMODULE_HOME must not be unset if a
  Pmodules module is unloaded or purged
2021-04-19 15:09:35 +02:00
gsell f248369581 modulecmd: remove tmp file created in module search 2021-04-19 15:07:50 +02:00
gsell 1497ca647d version set to 1.0.0rc9 2021-04-19 15:06:06 +02:00
gsell aca3e2c8b5 libstd: unused std::upvars() removed 2021-04-19 15:05:26 +02:00
gsell 80ece1c8f6 modbuild: extendable hierarchy definition via configuration file
- the definition of module hierarchies can now be done in a
  configuration file.
- The former settings are now defaults which can be overriden.
2021-04-19 14:55:36 +02:00
gsell 319e71ae19 Merge branch '108-following-symbolic-links-in-searching-for-available-modules' into 'master'
Resolve "following symbolic links in searching for available modules"

Closes #108

See merge request Pmodules/src!76
2021-03-22 11:58:18 +01:00
gsell 6ba7525373 follow symbolic link while searching for available modules 2021-03-22 11:50:24 +01:00
gsell c9a41aa328 Merge branch '107-install-additional-binaries-in-pmodules_home-libexec-bin' into 'master'
Resolve "install additional binaries in $PMODULES_HOME/libexec/bin"

Closes #107

See merge request Pmodules/src!75
1.0.0rc8
2021-03-18 13:44:13 +01:00
gsell 7dcb8744e5 install modulefile for Pmodules 2021-03-18 13:38:27 +01:00
gsell 7f5e6c75c3 install modulefile for Pmodules 2021-03-18 13:37:42 +01:00
gsell af0f8e9e0c build and install findutils and getopt only for macOS/Darwin 2021-03-18 13:36:34 +01:00
gsell fcfbe187fd build and install findutils and getopt on macOS/Darwin only 2021-03-18 13:34:58 +01:00
gsell d8815d2a29 init files for unsupported shells removed 2021-03-18 13:32:55 +01:00
gsell 04d6047cd0 move helper binaries to from sbin to libexec
- remove installed header files etc
- add substitution for @BASH@, @MODULECMD@, @MODMANANGE@
2021-03-17 17:58:54 +01:00