Hp XC System 2.x Software Manuel d'utilisateur Page 29

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 154
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 28
of shared objects. If you have multiple com pilers (perhaps with incompatible shared objects)
installed, it is probably wise to set MPI_CC ( and others) explicitly to the c ommands made
available by the compilers modulefile.
The c ontents of the modulefiles in the modulefiles_hptc RPM use th e vendor-intended
location of the installed software. In many cases, this is under the /opt directory, but in a few
cases (for exam ple, the PGI compilers and TotalView) this is under the /usr directory.
If you install a software package other than the intended place, you must create or edit an
appropriate modulefile un der the /opt/modules/modulefiles directory.
For the packages that install by default into the /usr directory (currently the PGI compilers and
TotalView), their correspo nding modulefiles w ill try their vendor-intended location under the
/usr directory. If they do not find that directory, the packages will also search under the /opt
directory. Therefore, no changes to the modulefiles are needed if you want to install third-party
software consistently as the vendor intended or consistently under the /opt directory,
If the package is the stable product intended to be used by the site, editing an existing modulefile
is appropriate. While each modulefile has its unique characteristics, they all set some v ariables
describing th e top-level directory, and editing to adjust the string should be sufficient. You may
need to repeat the adjustment if you update the modulefiles_hptc RPM or otherwise
rebuild your system .
If the package is a variant, for example, a beta version of a compiler, first copy the default
modulefile to a well-named copy, then edit the copy. You need root access to modify the
modulefiles, which is generally needed to install packages in either the /opt or /usr
directories.
If a user downloads a package into a private directory, the user can create a private modulefiles
directory. The user can then copy the corresponding defau lt modu lefile from under the
/opt/modules/modulefiles directory into a priv ate modulefiles dir ector y, edit the file,
and then register the directory w ith the module use command.
2.2.2 Supplied Modulefiles
The HP XC system p rov ides the Modules Package (not to be confused with Linux kernel
modules) to configure and modify the user environment. The Modules Package enables
dynamic modification of a users environment by means of modulefiles.
A modulefile contains inform a tion that alters or sets shell environm ent variables, such as PATH
and MANPATH. M odulefiles provide a convenient means for users to tailor their working
environment. Modulefiles can be loaded automatically when the user logs in to t he system or
any time a user needs to alter the environment.
The HP XC System S oftware provides a number of modulefiles. In addition, users can also
create and load their o wn modulefiles to modify their environment further.
The HP XC system supplies the modulefiles listed in Table 2-1.
Table 2-1: Supplied Modulefiles
Modulefile Sets the HP XC User Enviro nment:
icc/8.0
To use Intel C /C++ Version 8.0 compilers.
icc/8.1
To use Intel C /C++ Version 8.1 compilers.
ifort/8.0
To use Intel Fortran Version 8.0 compilers.
ifort/8.1
To use Intel Fortran Version 8.1 compilers.
intel/7.1
For Intel Version 7.1 compilers.
intel/8.0
For Intel Version 8.0 compilers.
Using the System 2-3
Vue de la page 28
1 2 ... 24 25 26 27 28 29 30 31 32 33 34 ... 153 154

Commentaires sur ces manuels

Pas de commentaire