gsell
04eea80f35
output group in load hints, if the user has to 'load' this group first
2019-06-11 16:11:15 +02:00
gsell
59e343d8b9
modulefile.bash.in: rescanning of groups is not required, removed
2019-05-24 18:11:29 +02:00
gsell
bbb122c86c
modulecmd.bash.in: bugfix shell's != bash, cleanup
...
- we cannot write the output of the modulecmd using bash to stdout
if another shell is requested
- rename 'g_shell' to 'Shell'
- export_env() uses now the global defined $Shell
2019-05-24 16:44:36 +02:00
gsell
597fad40b8
modulecmd.bash.in: fixes in sub-commands 'use' and 'unuse'
...
- adding/removing a group did not add/remove the directory to
MODULEPATH
2019-05-24 16:02:34 +02:00
gsell
a0c62dc92c
modulecmd.bash.in: cleanup
...
- break long lines
- use common format for error messages
2019-05-24 15:42:33 +02:00
gsell
c38aafdc52
modulecmd.bash.in: review/partially rewrite of sub-commands 'use', 'unuse'
2019-05-24 14:56:50 +02:00
gsell
2f454d3d07
modulecmd.bahs.in refactoring, better implementation of group handling
...
- scanning for groups and computation of their depth re-implemented
2019-05-24 13:03:51 +02:00
gsell
013af13633
modulecmd.bash.in: save_env() rewritten
...
- "typeset -p" is able to handle multiple variables!
2019-05-24 09:27:25 +02:00
gsell
d4bc88c1dd
modulecmd.bash.in: definition of PSI_LIBMODULES remove
...
- this environment variable was used in the past in modulefiles to load
the required Tcl code for Pmodules
2019-05-24 09:02:45 +02:00
gsell
ea5213d6ea
trailing white-space removed in modulecmd.bash.in
2019-05-23 17:08:10 +02:00
gsell
c417071956
cleanup and fixes in sub-commands 'use' and 'unuse'
2019-05-23 17:06:15 +02:00
gsell
bc4cdbb25d
export PMODULES_ENV only if content changed
2019-05-23 16:11:59 +02:00
gsell
21beab1a78
--with option of sub-command now accepts lists of modules
2019-05-22 11:21:41 +02:00
gsell
6521632ac3
fixes in a comment
2019-05-22 10:35:20 +02:00
gsell
94bab4d302
several fixes in modulecmd.bash
...
- in sub-command 'load': print conflict message not just load failed
- in sub-command 'search': equal sign can now be used for options
'--with' and '--release'
- sub-command options can now be specified on the LHS of the sub-command
2019-05-21 16:40:50 +02:00
gsell
54bf9c3d6c
minor optimization in sub-command 'use', store usage text with key 'help
2019-05-19 20:55:45 +02:00
gsell
54d6aa5ff7
implementation of generic help function and better option handling
2019-05-17 19:12:52 +02:00
gsell
0fe3048804
re-implementation of sub-command 'swap'
...
- sub-command 'swap' is now implemented via unload/load
- tmpfile variable in subcommand_load() cannot be read-only any more
2019-05-16 16:44:23 +02:00
gsell
05338d25b4
update of PMODULES_ENV fixed in subcommand 'unload'
...
Not all cached data has been updated while unloading a module amangst
other the list of used groups (UsedGroups)
2019-05-15 16:16:36 +02:00
gsell
a1821a961b
fixes
2019-05-15 15:01:48 +02:00
gsell
6ef4dd3667
bugs in initialization of PATH fixed in modulecmd.bash.in
...
- prepend Pmodules bin directory to PATH
- export MANPATH
2019-05-13 16:47:17 +02:00
gsell
251c0bad77
cleanup
2019-04-30 13:17:56 +02:00
gsell
07a643c742
review and cleanup
...
- libmodules.tcl: rename implementation to variant, fixes in file name joining
- modulecmd.bash.in: get available groups from 'GroupDepths'. There is no
need to use a dedicated variable for housekeeping available groups.
2019-04-30 11:30:32 +02:00
gsell
6ad8cd07cd
more cleanup
...
- PMODULES_USED_GROUPS renamed to UsedGroups, now saved to PMODULES_ENV
- fixes in exporting variables
2019-04-29 17:53:54 +02:00
gsell
f05e9be3c1
cleanup initialisation
...
- Pmodules/bash: contains now only the 'module()' function, some sanity
checks and initialization of bash completion plus unsetting some unused
variables.
- Pmodules/libstd.bash: bug fixed in std::append_path if path includes spaces
- Pmodules/modulecmd.bash.in: (re-)initialize if 'PMODULES_ENV' is empty or
unset
2019-04-29 17:15:01 +02:00
gsell
883511a1ff
modulecmd: output with std::{die,info} reviewed
2019-04-09 17:17:23 +02:00
gsell
f1f66349c2
fixes in modulecmd.bash.in
...
- fix issue with "puts stderr "foo bar" in modulefiles
- comment to subcommand_unload() edited
2019-03-12 14:54:52 +01:00
gsell
43a63f2967
missing line-feeds in calls of 'std::info' added
2019-02-17 18:07:06 +01:00
gsell
3861002868
Pmodules/modulecmd.bash.in: bugfixes in subcommand_load()
...
- bug fixed in testing availability of module.
- bug fieed in loading dependencies: we must echo the output of the load
command!
2018-12-27 18:01:11 +01:00
gsell
c73ac30b7a
Pmodules/modulecmd.bash.in: subcommand_load(): do not print the error message from modulecmd.bin
2018-10-26 15:21:51 +02:00
gsell
28f787cf83
Pmodules/modulecmd.bash.in
...
- bugfix in subcommand_load(): modules may write something to stderr while loading.
2018-10-16 14:38:58 +02:00
gsell
73dc9e7293
Pmodules/modulecmd.bash.in
...
- support for use-flags implemented/fixed
2018-10-11 17:41:24 +02:00
gsell
fb2f4898d5
Pmodules/modulecmd.bash.in
...
- support for architecture specific modules added
- cleanup
2018-10-05 16:17:33 +02:00
gsell
1477614f64
Pmodules/modulecmd.bash.in
...
- in subcommand_search(): option to print variants file style output removed
2018-09-28 17:57:49 +02:00
gsell
23b4c37bc7
Pmodules/modulecmd.bash.in
...
- bugfix in subcommand_load(): LOADEDMODULES were not set correct: the output of "modulecmd ...
2018-09-14 16:59:45 +02:00
gsell
b17d9a2878
Pmodules/modulecmd.bash.in:
...
- bugfixes in subcommand_load()
2018-08-30 11:12:07 +02:00
gsell
b2dec43b71
Pmodules/modulecmd.bash.in: bugfixes in subcommand_load()
2018-08-16 18:01:52 +02:00
gsell
4b00643ae2
Pmodules/modulecmd.bash.in: subcommand_load(): load modules with absolut path; use 'module show' to test availability and to get absolut module file name and module PREFIX; adapt to changed 'get_options()'; use 'std::upvar()' where reasonable
2018-08-15 16:39:39 +02:00
gsell
50f7c77883
Pmodules/modulecmd.bash.in: conflict resolved
2018-01-24 14:35:16 +01:00
gsell
a6ba2181a8
Pmodules/modulecmd.bash.in:
...
- bugfix in use(): export MODULEPATH
2018-01-24 14:31:25 +01:00
gsell
400c4246cb
Pmodules/modulecmd.bash.in: bug fixed in argument parsing, related to #26
2017-11-15 18:23:15 +01:00
gsell
f3b1291ef2
Pmodules/modulecmd.bash.in: fixing #26
2017-11-15 18:00:52 +01:00
gsell
453a9c92a1
Pmodules/modulecmd.bahs.in:
...
- subcommand_use(): export MODULEPATH if adding a group, closes #25
2017-11-15 16:54:20 +01:00
gsell
f67728dc55
Pmodules/modulecmd.bash.in:
...
- get_available_modules2(): return immediately if directory does not exist
2017-11-09 17:30:25 +01:00
gsell
2924857172
support for (t)csh added, closing #21
2017-11-09 16:03:37 +01:00
gsell
a9730ab1bc
Pmodules/modulecmd.bash.in
...
- supportfor zsh added
- ignore empty arguments
2017-11-08 12:59:54 +01:00
gsell
5e727ed637
Pmodules/modulecmd.bash.in: quote values in assignment
2017-09-11 17:43:42 +02:00
Achim Gsell
cade57f7cd
Pmodules/modulecmd.bash.in
...
- sub-commands 'avail' and 'search' are now case insensitive and accept
a shell pattern as argument
2017-08-08 01:11:43 +02:00
gsell
dac5885500
- configuration file 'environment.bash' merged into 'profile.bash'
...
- OS dependent build configuration is now in 'modbuild.conf'
- set PATH before sourcing 'modbuild.conf'
- installation path of modulefile fixed
- go through all build steps if nothing else is specified on command line
2017-06-09 10:36:05 +02:00
gsell
ce283bddea
Pmodules/modulecmd.bash.in
...
- is_modulefile(): typo fixed
2017-04-20 14:45:46 +02:00