On Mon, 29 Jul 2002, R. K. Owen Ph D. wrote:
> On Mon, 29 Jul 2002, David C. Mores wrote:
>> 'Modules avail' is a crucially important function. How would one otherwise
>> determine what modulefiles and versions of modulefiles are available? You
>> cannot expect all user to be smart enough to go 'ls' the modulefile areas.
>> After all, isn't one of the principles here to isolate users from having to
>> know inner workings like this?
>>
>
> "module avail" would not go away; however, without caching, it would just
> descend through the entire modulefile tree each time a "module avail"
> is requested. It would be comparable to doing a "find" on a modulefile
> directory tree, (and reading and interpreting every .version/.modulerc
> file it finds).
>
Apropos such features --
Sometimes a command doesn't have the same name as its module. It seems to me
that something like
module whereis exename
could be extremely helpful for the average user, but the only way I can
imagine this could work would be if the administrator ran some command
periodically to create a "whereis" cache for each module.
Ted
--
Ted Stern Engineering Applications
Cray Inc. http://www.cray.com
411 First Avenue South, Suite 600 206-701-2182
Seattle, WA 98104-2860 FAX: 206-701-2500
Debuggers' motto: Frango ut patefacium -- I break in order to reveal
|