On Fri, 10 Jan 2003, Julia Wang wrote:
> Thanks for your reply. The OSCAR_HOME did the trick. I ran the
> test_cluster and the server passed all the tests. I added OSCAR_HOME to
> all users' .bash_profile.
Rather than add something to everyone's .bash_profile, you might want to
use modules instead. Not only is it a more scalable approach (central
management rather than have to edit everyone's "dot" files), it also
ensures that all users will guarantee to have the setting (i.e., they
won't accidentally screw it up by deleting/altering their "dot" files,
etc.), and modules are shell-agnostic, meaning that they work with both
sh-type shells and csh-type shells.
This applies to any kind of environment manipulation that you may want to
do, not just OSCAR_HOME (such as PATH, MANPATH, etc.).
The switcher package that comes with OSCAR is simply a thin layer on top
of modules. You might want to see the switcher(1), module(1), and
modulefile(4) man pages.
Note that OSCAR defines that any modulefiles that are placed under
/opt/modules/oscar-modulefiles will automatically be loaded for all
shells. If you look in there, you'll see several OSCAR-related modules,
most of which are pretty easy to read / understand / use as the basis for
your own modules.
Modules are your friends. :-)
--
{+} Jeff Squyres
{+} [EMAIL PROTECTED]
{+} http://www.lam-mpi.org/
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
Oscar-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/oscar-users