LAM/MPI logo

LAM/MPI General User's Mailing List Archives

  |   Home   |   Download   |   Documentation   |   FAQ   |   all just in this list

From: Jeff Squyres (jsquyres_at_[hidden])
Date: 2005-07-15 19:15:45


On Jul 15, 2005, at 11:10 AM, Troy Telford wrote:

> I believe Jeff Sqyres has a similar functionality to 'modules' in a
> package called 'env-switcher', however I haven't tried env-switcher
> yet; I
> gather it works in a somewhat similar fashion to modules.

FWIW, I Love Modules. They're great -- a clean way to muck around in
your environment, especially for things like PATH, MANPATH, and
LD_LIBRARY_PATH.

The env-switcher package that I wrote is actually layered on top of
modules (i.e., the package from http://modules.sf.net/). It provides a
2-layer system of persistent defaults for the modules package -- a
system-level set of defaults and a per-user set of defaults. Hence, a
sysadmin could effectively have one version of LAM/MPI as the
system-wide MPI, but a user could install their own version (e.g., a
7.1.2 beta version) and put it as their personal default. Of course,
you could put *any* MPI implementation -- this is by no means specific
to LAM/MPI. It's just my favorite example. ;-)

I wrote it for the OSCAR clustering project and although the source
code is 100% independent of OSCAR, the env-switcher and modules RPMs
that ship as part of OSCAR is definitely tied to the OSCAR setup and
environment.

-- 
{+} Jeff Squyres
{+} jsquyres_at_[hidden]
{+} http://www.lam-mpi.org/