Modules
Much of our software is installed using the
GNU module system. This allows us to have several versions
of each package installed and the specific version can be requested via the
module
command. Information on the modules required for compilers and MPI libraries can be found on the
compiling and linking page.
You can see what modules are currently loaded by typing:
module list
and which ones are available with:
module avail
"Latest" module version
Where you see a choice of versions such as:
intel-cc-9/9.1.046
intel-cc-9/9.1.049
Then typing:
module
load intel-fc-9
will get you the latest version (9.1.049) or you can load a specific version with
module load intel-fc-9/9.1.046
The
module
command selects the "latest" module version by a simple alphabetical sort which
is a problem for packages such as
mkl
which reach version 10. In this case we put a "
v
" in front of the
version 10 package name to preserve alphabetical sort. For eaxmple the module file
mkl/v10.0.1.014
is just a symbolic link
to
mkl/10.0.1.014
.
If you use some libraries for linking your binary then use the
ldd
command
(
ldd mybinary
) to see if any of the libraries are dynamically linked. If they are, be sure to put the appropriate
module load
command at the start of your PBS run file.
--
JohnRowe