next up previous contents index
Next: Developers Up: Environnment variables Previous: Environnment variables   Contents   Index

Administrator

In this subsection we consider that the user has to install GmkPack for private usage on an individual machine, or for a community of developpers on a public place ; and that this user, as an administrator for this community or for himself, has to build reference packs.

If you do not belong to this category of people you can skip this section (or read it later).

The following variables should be set and exported in the Shell profile file (.bash_profile in Bash, .profile in Ksh, .user_profile at ECMWF ...) :

*
GMKROOT : the directory where GmkPack should be installed
*
GMKFILE : the relative filename inside GmkPack which contains the operating system characteristics : compilers names, compilers options, loading options, ...The absolute name is $GMKROOT/arch/$GMKFILE. It is called ''the architecture file''. The (arbitrary) custom has been to name it with the machine architecture and the machine nickname ; for instance : VPP5000.TORA, IBMP690.HPCE, SX6.DANA, ...
The easiest way to start is to benefit from an existing architecture file ; otherwise you will have to copy an existing one and to adapt it (see the installation details).
*
GMKTMP : a temporary working directory for GmkPack . It can be set to $TMPDIR if the system administrator of the computer has provided it. The actual working directory is $GMKTMP/gmktmp.$$.
*
ROOTPACK : the reference packs directory
*
HOMEPACK : the administrator's packs directory. Usually for an administrator, HOMEPACK will be ROOTPACK ; but a different directory can be set temporary if the administrator wants to make the difference between some ''public'' packs and some ''private'' packs.
*
HOMEBIN : the directory of the executables. It can be $HOMEPACK if there is much disk space, or another path to benefit of a bigger disk space. Inside a pack, the executables are visible in the directory bin but actually this directory is a symbolic link to $HOMEBIN/$(packname)/bin where $(packname) is the name of the pack.
*
ROOTBIN : like the previous variable, but for the reference packs. This variable is usefull only if ROOTPACK and HOMEPACK have different values. Then if not set, this variable will be assumed as ROOTPACK
Then the paths should be modified respectively to access the toolbox and the man pages of GmkPack :
*
export PATH=$GMKROOT/util:$PATH
*
export MANPATH=$GMKROOT/man:$MANPATH
Note that on some systems the variable MANPATH could be replaced by CATMAN.

Exemple :

export GMKROOT=/home/khatib/bin/gmkpack.6.3
export ROOTPACK=$HOME/rootpack
export HOMEPACK=$HOME/pack
export HOMEBIN=$HOME/pack
export GMKFILE=PGI.LXGMAP
export GMKTMP=$TMPDIR
export PATH=$GMKROOT/util:$PATH
export MANPATH=$GMKROOT/man:$MANPATH

Make sure that these variables are properly set and exported, either by executing your profile again, or by opening a new session.


next up previous contents index
Next: Developers Up: Environnment variables Previous: Environnment variables   Contents   Index
EL KHATIB Ryad 2008-05-23