Table of Contents
-
Loading the OpenCCM Environment
-
The OpenCCM Configuration Repository
Loading the OpenCCM Environment
To have access to all the OpenCCM tools, it is required to source
the OpenCCM environment file according to the shell used.
-
For Unix shells like sh or bash, do:
$ . /A_PATH/bin/envi.OpenCCM.sh
-
For Unix C-shells like csh or tcsh, do:
$ source /A_PATH/bin/envi.OpenCCM.csh
-
For Windows shells, do:
$ call \A_PATH\bin\envi_OpenCCM.bat
Where A_PATH refers to the path where OpenCCM is
compiled or installed.
These environment files add the path of the OpenCCM tools in
the PATH shell variable and define the following
shell variables required by OpenCCM:
-
OpenCCM_HOMEDIR : The directory where OpenCCM is
compiled or installed.
-
OpenCCM_CONFIG_DIR : The directory where the
OpenCCM Configuration Repository will be stored.
The following scripts allow you to unset the shell variables
defined by OpenCCM.
-
For Unix shells like sh or bash, do:
$ . /A_PATH/bin/un.envi.OpenCCM.sh
-
For Unix C-shells like csh or tcsh, do:
$ source /A_PATH/bin/un.envi.OpenCCM.csh
-
For Windows shells, do:
$ call \A_PATH\bin\un_envi_OpenCCM.bat
The OpenCCM Configuration Repository
During OpenCCM uses, the OpenCCM Configuration Repository will contain
IORs (Interoperable Object Reference), PIDs (Process IDentifier), and
output of the started OpenCCM tool processes.
By default, the OpenCCM Configuration Repository is stored in the
$HOME/OpenCCM_CONFIG_DIR directory.
Then each user has its own OpenCCM Configuration Repository as long
as he/she does not change the default value of the
OpenCCM_CONFIG_DIR variable.
Thus, several users can run its own OpenCCM platform on a same host.
Moreover, if the $HOME directory can be accessed by a
set of networked hosts (e.g. sharing done through NFS), then a user
has one OpenCCM Configuration Repository shared across all these hosts.
If several users set their OpenCCM_CONFIG_DIR variable to
the same directory, then they share the same OpenCCM Configuration
Repository.
Finally, if a user starts several shells and sets in each shell the
OpenCCM_CONFIG_DIR variable to different directories,
then he/she can run several distinct OpenCCM platforms.
|