Re: Modules 3.1.0a
Manage your shell environment variables and aliases
Brought to you by:
leomania,
xdelaruelle
From: R.K. O. Ph.D. <rk...@ow...> - 2000-08-25 17:18:56
|
> From pet...@le... Fri Aug 25 06:31:12 2000 > Sender: pe...@pe... > From: Peter Nordlund <pet...@le...> > X-Accept-Language: en > To: "R.K. Owen Ph.D." <rk...@Ow...> > Subject: Modules 3.1.0a > > Dear RK, > > I have tried module 3.1.0a and I think I stumbled over a bug. > Apart from the bug (if it is a bug), module works excellent. > > module version 3.1.0a, > tcl8.3.1, > os SunOS 5.8 > > In my module-file I have the following lines below, to illustrate the problem. > my modules name is > xalan/1.2.D02 > > ---------- > puts stderr "\n\t spec: [module-info specified]" > puts stderr "\n\t name: [module-info name]" > ---------------- > Output from module command: > > analytik:petern>>module add xalan > spec: xalan > name: xalan/1.2.D02 > analytik:petern>>module rm xalan > spec: xalan > name: xalan > ------------ > I expect the output when removing the module to be the same as when loading, > or have I understood things wrong? > > Best regards, > Peter > Peter, you're right ... it should specify xalan/1.2.D02 when you do a "module rm". It worked like this with version 3.0.8-rko when the [module-info specified] was introduced by Robert Minsk. However, [module-info name] got broken with the changes introduced in version 3.0.9-rko. Unfortunately, I won't be able to address any serious code investigations until Oct'2000. However, if someone else can investigate further I'll include whatever code patches into the 3.1.0alpha version. Thanks R.K. PS> Also it would be wonderful if some dejagnu expert out there could add some tests to the testsuite to catch these kind of differences. +-----------------------+----------------------------------+ | R.K.Owen,PhD | rk...@ow... | | KooZ Software | | | NERSC/LBNL | rk...@ne... | +-----------------------+----------------------------------+ |