Application EnvironmentLast update on Tuesday, 05-Jun-2007 13:49:22 CDT. | |||||||
IntroductionTAMU SC has implemented the modules approach to managing the user environment for most commercial software installed on our IBM Cluster 1600. In UNIX operating systems, users are often required to define certain parameters that affect the computing environment and the operation of programs executed within that environment: this is usually referred to as "setting environment variables". Environment variables are most commonly used to inform the system of the location (in the filesystem) of executable programs, related documentation, or configuration files. The distinct advantage of the modules approach is that the users are no longer burdend with configuring their "environment" so that the relevant software will function as expected. That process is automated by scripts (called modulefiles) written by the staff and used by the modules package. With the modules approach, users simply "load" and "unload" modules to control the environment. Modules provides an easy mechanism for updating a user's environment, especially the PATH, MANPATH, NLSPATH, and LD_LIBRARY_PATH environment variables to name a few. When you get an account on hydra, your "dot-files" (files that initialize your environment as you login to the machine) should be set up correctly to use modules. If you delete or modify these files in such a way as to make modules fail, contact the SC Helpdesk for help. You can modify your environment so that certain modules are loaded whenever you log in. To see which modules are loaded by default for you, do the following:
If you want to add other modules to this list of automatically loaded modules, do the following:
where modulename is the name of the module you want loaded. Likewise, to remove a module from this default list, do the following:
Module CommandsTo get a usage list of module options type the following (the listing has been abbreviated to only those commands discussed in this webpage):
Additional Information on ModulesOther information on modules can be found by reading the man pages on hydra (man module). |