Note, 9 creating a modulefile, 10 viewing modulefile-specific help – HP XC System 2.x Software User Manual
Page 32: Section 2.2.9
ifort/8.0(19):ERROR:102: Tcl command execution failed:
conflict ifort/8.1
In this example, the user attempted to load the
ifort/8.0
modulefile, but after issuing the
command to load the modulefile, an error message occurred indicating a conflict between this
modulefile and the
ifort/8.1
modulefile, which is already loaded.
When a modulefile conflict occurs, unload the conflicting modulefile(s) before loading the new
modulefile. In the above example, you should unload the
ifort/8.0
modulefile before
loading the
ifort/8.1
modulefile. For information about unloading a modulefile, refer to
_________________________
Note
_________________________
To avoid problems, it is recommended that you always unload one version of a
modulefile before loading another version.
2.2.9 Creating a Modulefile
If you download or install a software package into a private directory, you can create your own
(private) modulefile for products that you install by using the following general steps:
1.
Create a private modulefiles directory.
2.
Copy an existing modulefile (to use as a template), or copy the software’s corresponding
default modulefile from under
/opt/modules/modulefiles
, into the private
modulefiles directory.
3.
Edit and modify the modulefile accordingly.
4.
Register the private directory with the
module use
command.
A user installing a variant of a product/package already on the system should copy the existing
modulefile for that product to an appropriate name, and edit it accordingly to accommodate
the newly-installed product variant.
A user installing a random product/package should look at the manpages for modulefiles,
examine the existing modulefiles, and create a new modulefile for the product being installed
using existing modulefiles as a template. To view modules manpages, load the
modules
modulefile and then display the
modulefile
manpage:
$ module load modules
$ man modulefile
Users should also read the manpages for modules so that they know how to create a directory for
their private modulefiles and how to use the
module use
module command to
use their private modules.
2.2.10 Viewing Modulefile-Specific Help
You can view help information for any of the modulefiles on the HP XC system. For example,
to access modulefile-specific help information for TotalView, issue the
module help
command as follows:
$ module help totalview
----------- Module Specific Help for ’totalview’ -----------------
This loads the TotalView environment.
Version 6.0
2-6
Using the System