gsell
4ed8961fc1
modulecmd.bash.in: bug fixed in purge sub-cmd
2021-04-28 10:58:53 +02:00
gsell
1b43ccbe21
modulecmd.bash.in: bugfix in initialization of overlays
...
the variables required for overlays were not initialized in a proper
way if we switch from a Pmodules version without overlay support
2021-04-28 10:56:00 +02:00
gsell
a0420cc73f
modulecmd.bash.in: save_env() requires an argument now
...
PMODULES_ENV will be compiles and exported if save_env() is called
with $1 != 'no'
2021-04-28 10:53:07 +02:00
gsell
aa4140631c
tcllib added to repo
2021-04-28 10:52:12 +02:00
gsell
ad8a02cdcf
modulecmd.bash.in: bug fixed in looping over overlays
...
- the order of overlays is important, we have to use an array instead
of a dictionary
- PMODULES_OVERLAYS renamed to OverlayList which is now an array and
exported in PMODULES_ENV
- MapDirsToOverlays renamed to Dir2OverlayMap
- dictionary Overlays renamed to OverlayDict
2021-04-28 01:01:21 +02:00
gsell
624b2757ff
modulecmd.bash.in: subcommand_unuse(): cleanup
2021-04-28 00:58:42 +02:00
gsell
1932db23d0
modulecmd.bash.in: sub.._avail(): use variable reference not dict
...
using a variable reference makes it possible to pass an array to
get_available_modules() insteas a colon separated string
2021-04-28 00:54:29 +02:00
gsell
dc52066b7e
modulecmd.bash.in: improve readable of module avail
2021-04-28 00:51:40 +02:00
gsell
bf030e81b5
modulecmd.bash.in: subcommand_load(): update Dir2OverlayMap
...
- after loading a module the dictionary mapping a directory to an
overlay must be updated if a new hierarchical group was added
2021-04-28 00:47:59 +02:00
gsell
0751e9c743
modulecnd.bash.in: find_module(): changes in arguments $3 and $4
...
- $3 is now the module to load
- $4 is now an array of the splitted MODULEPATH
2021-04-28 00:45:05 +02:00
gsell
cc7b4b10cd
modulecmd.bash.in: is_group(): upvar with $1 must be declared local
2021-04-28 00:40:41 +02:00
gsell
05aa3d0e42
modulecmd.bash.in: new global function get_overlay_of_moduledir()
2021-04-28 00:37:54 +02:00
gsell
376be20d35
modulecmd.bash.in: reset_modulepath() must be global
2021-04-28 00:35:52 +02:00
gsell
f9430563e5
modulecmd.bash.in: cleanup
2021-04-28 00:34:55 +02:00
gsell
a75e766cbc
modulecmd.bash.in: get_release(): redirect release file to upvar
2021-04-28 00:29:21 +02:00
gsell
3eb1830443
modulecmd.bash.in: save_env(): no need to export UsedGroups
2021-04-28 00:26:42 +02:00
gsell
6674333728
modulecmd.bash.in: call logger via variable with full path
2021-04-28 00:23:31 +02:00
gsell
ef1d10aa3d
modulecmd.bash.in: unset IFS instead of restoring a default
2021-04-28 00:17:52 +02:00
gsell
0b8059efac
libmodules.tcl: refactor some variable names, review
...
- name of dictionary of overlay renamed from Overlays to OverlayDict
- get list of overlays from PMODULES_ENV (OverlayList),
PMODULES_OVERLAYS has been removed
2021-04-28 00:05:09 +02:00
gsell
15fb22e4c8
build script: commented out lines to build coreutils removed
2021-04-28 00:02:53 +02:00
gsell
7ddd9b0ed7
modulecmd: bugfix in initializing env. variable needed for overlays.
...
- if we switch from a Pmodules version without overlay support to a
Pmodule version with, some environment variables must be initialzed.
2021-04-22 09:51:19 +02:00
gsell
b62841239c
modulecmd: bugfix in use/unuse overlay
...
- Since Pmodules itself can be loaded as module, it must be possible
to add/remove overlays if no modules are loaded or only a Pmodules
module.
2021-04-22 09:48:27 +02:00
gsell
5661f69169
modulecmd: get_available_modules(): bugfix
...
- it was expected that all modules are in an overlay. This is wrong. a
user may add a modulefile directory with module use DIR.
2021-04-22 09:45:39 +02:00
gsell
a415cdc136
modulecmd: follow links in find cmd
2021-04-22 09:44:03 +02:00
gsell
a53bf42479
modulecmd: use IFS saved as the beginning for restoring
2021-04-22 09:41:06 +02:00
gsell
bfc754efa1
tcllib added, version set to 1.1.1
2021-04-22 09:37:56 +02:00
gsell
f5aaff5842
libmodules.tcl: some unconditional debug output removed
2021-04-22 09:35:12 +02:00
gsell
4538ac12c3
master merged
2021-04-20 00:32:26 +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