3 modulefiles automatically loaded on the system, 4 viewing available modulefiles, 5 viewing loaded modulefiles – HP XC System 2.x Software User Manual

Page 30: 6 loading a modulefile, Section 2.2.3, Section 2.2.4, Section 2.2.5, Section 2.2.6

Advertising
background image

Table 2-1: Supplied Modulefiles (cont.)

Modulefile

Sets the HP XC User Environment:

intel/8.1

For Intel Version 8.1 compilers.

mlib/intel/7.1

For MLIB and Intel Version 7.1 compilers.

mlib/intel/8.0

For MLIB and Intel Version 8.0 compilers.

mlib/pgi/5.1

For MLIB and PGI Version 5.1 compilers.

mpi/hp

For HP-MPI.

pgi/5.1

For PGI Version 5.1 compilers.

pgi/5.2

For PGI Version 5.2 compilers.

idb/7.3

To use the Intel IDB debugger.

totalview/default

For the TotalView debugger.

2.2.3 Modulefiles Automatically Loaded on the System

The HP XC system does not load any modulefiles into your environment by default. However,
there may be modulefiles designated by your system administrator that are automatically
loaded. Section 2.2.5 describes how you can determine what modulefiles are currently loaded
on your system.

Users can also automatically load their own modules by creating a login script and designating
the modulefiles to be loaded in the script. Users can also add or remove modules from their
current environment on a per-module basis as described in Section 2.2.6.

2.2.4 Viewing Available Modulefiles

Available modulefiles are modulefiles that have been provided with the HP XC system software
and are available for you to load. A modulefile must be loaded before it provides changes to
your environment, as described in the introduction to this section. You can view the modulefiles
that are available on the system by issuing the

module avail

command:

$ module avail

2.2.5 Viewing Loaded Modulefiles

A loaded modulefile is a modulefile that has been explicitly loaded in your environment by
the

module load

command. To view the modulefiles that are currently loaded in your

environment, issue the

module list

command:

$ module list

2.2.6 Loading a Modulefile

You can load a modulefile in to your environment to enable easier access to software that you
want to use by executing the

module load

command. You can load a modulefile for the

current session, or you can set up your environment to load the modulefile whenever you
log in to the system.

When loading a modulefile, note that certain modulefiles cannot be loaded while other
modulefiles are currently loaded. For example, this can happen with different versions of the
same software. If a modulefile you are attempting to load conflicts with a currently-loaded
modulefile, the modulefile will not be loaded and an error message will be displayed.

2-4

Using the System

Advertising