Jump to content

Welcome to the Environment Modules Project


Guest Brivtech

Recommended Posts

Guest Brivtech

I'm getting this right at the end of the checkout. Where the hell did it appear from?????:

Welcome to the Environment Modules Project

What are Environment Modules?

The Environment Modules package provides for the dynamic modification of a user's environment via modulefiles.

Each modulefile contains the information needed to configure the shell for an application. Once the Modules package is initialized, the environment can be modified on a per-module basis using the module command which interprets modulefiles. Typically modulefiles instruct the module command to alter or set shell environment variables such as PATH, MANPATH, etc. modulefiles may be shared by many users on a system and users may have their own collection to supplement or replace the shared modulefiles.

Modules can be loaded and unloaded dynamically and atomically, in an clean fashion. All popular shells are supported, including bash, ksh, zsh, sh, csh, tcsh, as well as some scripting languages such as perl.

Modules are useful in managing different versions of applications. Modules can also be bundled into metamodules that will load an entire suite of different applications.

Quick Examples

Here is an example of loading a module on a Linux machine under bash.

% module load gcc/3.1.1

% which gcc

/usr/local/gcc/3.1.1/linux/bin/gcc

Now we'll switch to a different version of the module

% module switch gcc gcc/3.2.0

% which gcc

/usr/local/gcc/3.2.0/linux/bin/gcc

And now we'll unload the module altogether

% module unload gcc

% which gcc

gcc not found

Now we'll log into a different machine, using a different shell (tcsh).

tardis-> module load gcc/3.1.1

tardis-> which gcc

/usr/local/gcc/3.1.1/sunos5.6/bin/gcc

Note that the command line is exactly the same, but the path has automatically configured to the correct architecture.

News

14-Dec-2005

modulecmd.tcl version 1.69 released

01-Jun-2006

modules-3.2.3 released (NEWS) (ChangeLog)

Where to find the source code

There are two versions of the Environment Modules package. An experimental version is written in Tcl. The stable traditional version is written in C. Both versions use the same modulefiles and command line syntax, with the exception that the Tcl version can use an abbreviated version of the "switch" command.

Tcl Version (beta). You must have tclsh somewhere in your default $PATH, version 8.0 or newer; in addition, you must install the files in the init directory someplace that all of your users/systems can access (i.e., there is no automated install for the Tcl version as yet).

http://modules.cvs.sourceforge.net/modules/modules/tcl/

C version (released versions). This version requires compilation and linking with the libtcl*.a libraries. The first link is the main site; the others are mirrors.

http://sourceforge.net/project/showfiles.php?group_id=15538

http://prdownloads.sourceforge.net/modules

ftp://ftp1.sourceforge.net/pub/sourceforge/m/mo/modules

ftp://sunsite.unc.edu/pub/Linux/utils/shell

SourceForge has a nifty feature called "Monitoring" which allows you to be notified when a project releases new files. For more information or to sign up, go to http://sourceforge.net/projects/modules and under "Latest File Releases" click on the envelope icon.

You will need Tcl (and optionally TclX - Extended Tcl) installed to compile and install Modules. Information and the Tcl package can be found at ActiveState Corporation.

Documentation

* module(1)

Manual page for the module command

* modulefile(4)

Manual page for the modulefile commands

Publications

About Modules

* John L. Furlani, Peter W. Osel, "Abstract Yourself With Modules", Proceedings of the Tenth Large Installation Systems Administration Conference (LISA '96), pp.193-204, Chicago, IL, September 29 - October 4, 1996.

* John L. Furlani, "Modules: Providing a Flexible User Environment", Proceedings of the Fifth Large Installation Systems Administration Conference (LISA V), pp. 141-152, San Diego, CA, September 30 - October 3, 1991.

* Erich Whitney, Mark Sprague, "Drag Your Design Environment Kicking and Screaming into the 90's With Modules!", Synopsys Users' Group, Boston 2001

About Modules contributed / based tools

* Richard Elling, Matthew Long, "user-setup: A system for Custom Configuration of User Environments, or Helping Users Help Themselves", from Proceedings of the Sixth Systems Administration Conference (LISA VI), pp. 215-223, Long Beach, CA, October 19-23, 1992.

Contributed and Related

Modulefile examples are forthcoming.

Related Tools

The OSCAR Cluster Project uses modules along with a tool called switcher. Read about switcher and modules in section 2.9 of the OSCAR Cluster User's Guide.

SEPP is the Software Deployment System which is being developed by Tobias Oetiker, working for the IT Support Group of the Department of Electrical Engineering at the Swiss Federal Institute of Technology in Zurich.

Reference Installations

The working group TIOS (Tele-Informatics Open Systems) at Univerity of Twente, The Netherlands, uses Modules to manage the workstation software. (Note: currently returning a "403 Forbidden" error.)

The NERSC - The National Energy Research Scientific Computing Center has a great introduction and help page: Modules Approach to Environment Management.

Contact Information

For information on how to subscribe/unsubscribe to/from the modules mailing list, see the Mailing List page.

For problems or suggestions concerning the web pages please contact the Modules webmaster

Acknowledgements

Thanks to SourceForge for providing resources for modules.

SourceForge Logo

Legal Stuff

Modules is covered by the GNU General Public License (version 2). Please see the file "license.gpl" in the distribution for more information, or visit gnu.org to read the GNU General Public License online.

Copyright

Copyright © 1996-1999 John L. Furlani & Peter W. Osel. All rights reserved.

Trademarks used are the property of their respective owners.

April 27, 2005

Link to comment
Share on other sites

Guest Brivtech

You're telling me it's strange!

I need to do an upgrade, so what I'm going to do is delete out all the old files first in case there's any that shouldn't be there.

Link to comment
Share on other sites

Guest Brivtech

Many thanks Casey, Looks like it was infact a bug. I'm upgrading one of my stores later today, so I'll check to see if it's still occusing, or if it's been fixed by now. :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...