Customizing Environment Variables
On UNIX, environment variables are usually initialized in a shell start-up file such as .cshrc (C-shell) or .profile (Bourne-shell) in your home directory.
On Windows, the required environment variables are maintained in the Windows Registry. To set optional environment variables, open System Properties (choose start > Control Panel > System) then select the Advanced tab and choose Environment Variables.
Table 9 describes the most common environment variables used by IC-CAP.
Note
|
|
|
|
The environment variable name $HPEESOF_DIR should point to an installation of ADS. However, IC-CAP is built on some of the same technology, so IC-CAP remembers your $HPEESOF_DIR environment variable as $ADS_DIR at startup, and temporarily reassigns HPEESOF_DIR=$ICCAP_ROOT during the run of IC-CAP in the IC-CAP process space only. Thus references to $HPEESOF_DIR in configuration files under $ICCAP_ROOT/config are equivalent to references to $ICCAP_ROOT when IC-CAP is running.
|
|
Table 9 System Environment Variables
|
|
|
ICCAP_ROOT
|
/usr/local/iccap2008
|
The location where the IC-CAP software was installed (also called the root location). This variable is used extensively throughout IC-CAP. The default value is also set in the registry during installation. Therefore, the default value normally should not be changed.
|
LM_LICENSE_FILE
|
$ICCAP_ROOT/licenses/license.lic
|
Specifies the location of the FLEXnet security license files. Use the AGILEESOFD_LICENSE_FILE variable instead of this variable.
|
ICCAP_OPEN_DIR
|
None
|
Specifies the directory where the user-compiled code library resides. For more information, refer to "Creating C Language Functions in IC-CAP" in the IC-CAP User's Guide.
|
AGILEESOFD_LICENSE_FILE
|
$ICCAP_ROOT/licenses/license.lic
|
Specify the location of the FLEXnet security license files, overriding the LM_LICENSE_FILE variable.
|
ICCAP_TMP
|
None
|
The location where temporary IC-CAP files are located. If ICCAP_TMP is not set, temporary files will be stored in the directory specified by $TMPDIR on UNIX or %TMP% on Windows. If $TMPDIR or %TMP% are not defined, files will be stored at /var/tmp for UNIX or the directory specified by %TEMP% on Windows. If ICCAP_TMP, TMP, or TEMP do not reference a valid temporary directory on Windows, IC-CAP will not run.
|
ADS_DIR
|
None
|
The location of the ADS installation to use when performing hpeesofsim simulations. Set when using Windows.
|
HPEESOF_DIR
|
None
|
The location of the ADS installation to use when performing hpeesofsim simulations. Set when using Linux or Solaris.
|
Setting Environment Variables
To set an Environment Variable:
• |
Choose Start > Settings > Control Panel > System > Advanced > Environment Variables and enter the variable name and value. |
For example:
Variable Value
ICCAP_OPEN_DIR c:\WIN\System32;
|