## 12.1. Command-Line Use

CFX-Solver Manager and CFX-Solver can be launched from a command line as follows:

- The basic command to start CFX-Solver Manager is `cfx5solve`.

  The more general form of the command is:

      cfx5solve [-interactive [-definition <file>]]
      [-display <display>] [-help]
      [-solver <executable>] [-verbose]

  where [ ] denotes a discretionary option, | separates mutually exclusive options, and < > denotes that substitution of a suitable value is required. All other options are keywords, some of which have a short form.

- The basic command to start the CFX-Solver using the CFX-Solver input file named `<file>` is:

      cfx5solve -def <file> [-help] [-initial <file>]
      [-double | -single]
      [-nosave|-save] [-name <name>] [-size <factor>]
      [-solver <executable>] [-partition <number of partitions>]
      [-parallel] [-parfile <file>] [-serial] [-verbose]

  where [ ] denotes a discretionary option, | separates mutually exclusive options, and < > denotes that substitution of a suitable value is required. All other options are keywords, some of which have a short form.

How you invoke a command line depends on your operating system:

- On UNIX, you can run CFX-Solver Manager from a UNIX shell.

- On Windows, start a CFX command line from the ANSYS CFX Launcher: Tools > Command Line. Alternatively, you can run CFX-Solver Manager from a DOS prompt. For details, see Command Line in the CFX Reference Guide.

The `cfx5solve` command-line options are described in the next section.

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