Rational Statemate Configuration : Configuring a UNIX System : Configuring the run_stmm Script on UNIX

Configuring the run_stmm Script on UNIX

Execute the script $STM_ROOT/run_stmm to start Rational Statemate on UNIX systems. Set the permissions on run_stmm to read and execute.

The run_stmm script sets several environment variables before executing the kernel of Rational Statemate, $STM_ROOT/bin/stm. The following table lists several environment variables set by the run_stmm script.

 
Path to the license.dat file, including the file name.

You can add any additional variables needed to run_stmm. You can define symbolic links to run_stmm in commonly used bin directories. And, other users can define their own symbolic links.

Note: To keep the environment consistent for all Rational Statemate users, do NOT make copies of run_stmm in users’ home directories, or set variables in .cshrc or .login.

An exception to this rule is two variables needed to run Dataport programs. These programs run independently of Rational Statemate. If you are using Dataport programs, you must set the STM_ROOT variable (Rational Statemate parent directory) in its environment (but not in run_stmm).

To execute a Dataport program, set the following additional environment variables:

PATH (append the Statemate bin directories)

For the definitions of these variables, see the run_stmm file in your Rational Statemate installation.