Note: Before launching any Ansys Forte interface component, several environment settings must be in place, as described in Java Memory Settings.
Ansys Forte and related products require a few environment variables that help them to operate properly. These environment variables are shown in Table 1: Ansys Forte environment variables.
The UNIX installation script creates two files, forte_setup.csh (C-shell) and forte_setup.ksh (K-shell), which define variables and aliases based upon the selections chosen during the install. They are located in the bin directory.
Source Environment Variables in a C-Shell:
You can source the product environment variables in a C-Shell using the command line. For example, if your installation is in the $HOME/ansys_inc directory, and you have installed v242, then you would use this command to set up Ansys Forte:
source $HOME/ansys_inc/v242/reaction/forte.linuxx8664/bin/forte_setup.csh
Source Environment Variables in a Bash, Korn, or Bourne Shell:
You can source the product environment variables in a Korn or Bourne shell using the command line. For example, if your installation is in the $HOME/ansys_inc directory, and you have installed v242, then you would complete the following steps to set up Ansys Forte:
To do this in a csh or tcsh environment, put the following into $HOME/.login:
source $HOME/ansys_inc/v242/reaction/forte.linuxx8664/bin/forte_setup.csh
Note: The shell scripts used to run the user Interface are Bourne shell scripts and use the forte_setup.ksh file to source the environment. Therefore, even if all users work in the C shell environment, the forte_setup.ksh file is used also.
Table 1: Ansys Forte environment variables
Variable | Description |
---|---|
$REACTION_DIR | This is a required variable. It points to a subdirectory where the Ansys Chemkin and Ansys Forte are installed and a mechanism data directory exists. An example would be (where NNN is the ANSYS release number code): $HOME/vNNN |
$FORTE_BIN | Required by Ansys Forte. It points to the location of the bin directory for the Ansys Forte installation. |
$PATH | The value $FORTE_BIN should be prepended to the $PATH variable. |
(LD_LIBRARY_PATH) | This is a required variable. |
$FORTE_USER | This is an optional FORTE variable. This is not automatically defined. The variable is used in the naming of the preferences file. |
$FORTE_MEMORY | Optional variable defining how much memory to allocate to the Java Virtual Machine running the Ansys Forte interface. If not defined, you are prompted for this value. |