2.5.5. Environment Variables on Linux Systems

You can use environment variables to tailor the operation of Ansys Icepak to a particular environment. There are two types of environment variables: system environment variables and Ansys Icepak environment variables. System environment variables are used by Ansys Icepak at the system level, and are independent of the Ansys Icepak application. Ansys Icepak environment variables are specific to the execution of Ansys Icepak.

System Environment Variables

In most cases, the system environment variables shown in Table 2.2: System Environment Variables will already have been set for your system when you log onto your computer. These environment variables must be set for your system before you can use Ansys Icepak.

For more information on environment variables, refer to documentation concerning shell commands for your computer system.

Table 2.2: System Environment Variables

Variable

Description

HOME

The path to your home directory where configuration files are located. (Linux systems only)

TERM

The terminal type (for example, xterm). (Linux systems only)

DISPLAY

The location of the display screen. This is used by the X Window system to determine which screen to display its output to (for example, linux:0.0), and must be set for Ansys Icepak to operate. (Linux systems only)

PATH

The list of directories to search for system-level commands.


You will need to include the Ansys 24.2/bin directory in the path. For example, if Ansys Icepak 2024 R2 has been installed under /usr/local, there will be a Ansys directory present as /usr/local/ANSYS.Inc. You would then need to set your PATH environment variable to include /usr/local/ANSYS.Inc/bin.

Ansys Icepak Environment Variables

Ansys Icepak allows you to change certain aspects of its operation by setting Ansys Icepak-specific environment variables. There are two Ansys Icepak-specific environment variables, which are described in Table 2.3: Ansys Icepak-Specific Environment Variables.

Table 2.3: Ansys Icepak-Specific Environment Variables

Variable

Description

ICEPAK_LIB_PATH

Allows you to specify the search path where Ansys Icepak loads the material library files or the files for customized macros. See Editing the Library Paths for details.

ICEPAK_LICENSE_FILE

Allows you to specify an alternate location for the Ansys Icepak license file. See the Ansys Icepak installation instructions for details.

ICEPAK_JOB_DIRECTORY

Allows you to specify a default location for unpacking files. See Packing and Unpacking Model Files for details.