### 3.1.4. Resources Set in cfx5rc Files

You can find out which ANSYS CFX resources have been set by using the Show > Show Variables option from the menu bar of the ANSYS CFX Launcher. This displays a list of all the resources that have been set. Although you can change the values of most of the resources shown in this list, it is generally useful to change only a few of them. These few are described in the following table:

Resource | Description
--- | ---

`CFX5BROWSER`

Sets the program to use when browsing files in ANSYS CFX.

On Windows, the default browser is Notepad.

On Linux, the default value is system-dependent, but the Common Desktop Environment file browser, `dtpad`, is used if possible. The command must start its own X window, so if you wanted to use `view`, for example, you could only do so by setting

`CFX5BROWSER="xterm -e view"`

`CFX5EDITOR`

Sets the program to use when editing files in ANSYS CFX.

On Windows, the default editor is Notepad.

On Linux, the default value is system-dependent but the Common Desktop Environment file editor, `dtpad`, is used if possible. The command must start its own X window, so if you wanted to use `vi`, for example, you could only do so by setting

`CFX5EDITOR="xterm -e vi"`

`CFX5XTERM` | Creates a window to interact with the operating system. On Windows, the default window is a Windows command prompt set up to run the ANSYS CFX commands. On Linux, the default value is system-dependent but the Common Desktop Environment terminal emulator, `dtterm`, is used if possible.
`CFX_FORMAT` | If set to F, this command causes ANSYS CFX programs to write formatted CFX-Solver input and results files instead of binary files. If set to U, then the files generated will be in binary format, but not compressed. If not set, then the files generated will be binary and compressed. This is the default.
`CFX_IMPORT_EXEC` | Sets the name of the user-defined executable for CFX Volume Mesh Import.

`ANSYSLMD_LICENSE_FILE`

Can be used to identify a license server machine or license file. If set, this specification is used before any other license path information. See License Files Settings Precedence in the Installation and Licensing Documentation for precedence information.

The default port number assigned to ANSYS, Inc. is 1055. Therefore, if your server has the hostname alpha1 and the IP address of 10.3.1.69, you can identify the server to use as 1055@alpha1 or 1055@10.3.1.69.

Note: The FLEXlm environment variable LM_LICENSE_FILE is not supported with the ANSYS, Inc. License Manager.

`ANSYSLI_SERVERS` | Used to identify the server machine for the Licensing Interconnect. Set to port@host. The default port is 2325. This setting takes precedence over settings specified in the ansyslmd.ini file.
`SHLIB_PATH` | This is a colon-separated list of directories that will be searched to look for shared libraries on HP systems. If you have installed system libraries in directories that are not included in this list, then add them to it.

#### 3.1.4.1. Setting Environment Variables

You should set the variables in your cfx5rc file. You must not create environment variables that start with `CFX`.

Release 18.2 - © ANSYS, Inc. All rights reserved.