Command-Line Reference
The
starccm+
command can start either the
Simcenter STAR-CCM+ client:
starccm+ [options] [simulation]
or server process:
starccm+ -server [options] [simulation]
Without any arguments, the Simcenter STAR-CCM+ GUI client is started. No server process is started, as that is only required when a simulation is created or loaded.
If a
simulation
file is named without any options, both the
Simcenter STAR-CCM+ client and a server are started, and the named file is loaded into the server.
If the
-server
argument is specified, only the
Simcenter STAR-CCM+ server process is started. Any server option can also be specified on the command-line to start the client; the client passes those options on when it starts the server process.
General Options
Argument | Description |
---|---|
-info
|
Prints information about the simulation file: the version of Simcenter STAR-CCM+ with which that file was saved (in this example 19.04.###), number of partitions, file size, and number of iterations in the file:
|
-ini <file>
|
Activates an
|
-loc
|
For the client, this option turns off broadcasting of queries to locate servers on the network; it also prevents the server from responding to any locator queries. The broadcast from the client is a UDP multicast, along with TCP pings, to known hosts. This multicast search is started by default when you launch the Simcenter STAR-CCM+ client without a simulation file. In Windows this option can cause network access warnings from your personal firewall. |
-new
|
Launches the Simcenter STAR-CCM+ workspace and starts a new simulation without accessing a simulation file. |
-printpids
|
Prints process IDs. An example of the output format is as follows:
|
-v, -vv, -vvv
|
Activates Verbose mode, prints environment changes and sub-commands. |
-version
|
Prints the
Simcenter STAR-CCM+ version information (in this example
19.04.###):
|
-help |
Prints information about the command-line options. |
-phelp[:<option>] |
Prints information about the specified command-line option. |
License Options
Argument | Description |
---|---|
-lite
|
Requests a Lite Session license as opposed to a full license. Only a reduced functionality set is available. |
-power
|
Starts Simcenter STAR-CCM+ with the Power Session license feature. |
-doepower
|
Uses a Power Session license for the optimization session license. |
-nosuite
|
Prevents main licenses from being used to enable cores for parallel computation. Only parallel licenses are used to enable cores for parallel computation. |
-powerpre
|
Uses 10
|
-tokensonly
|
Specifies to only use
|
-notokens
|
Specifies to not use
|
-doe-prefer-hpcdomains
|
Changes the order in which the
|
-podkey <value>
|
Specifies a Power on Demand license key. |
-doeuuid <value>
|
Specifies a DOE UUID (universal unique identifier). |
-licpath <path:...>
|
Specifies a license path that overrides the default license path. When this option is used,
Simcenter STAR-CCM+ uses the path to define a new
|
-reserve <lic1[,lic2,...]>
|
Allows you to specify add-on licenses that can be automatically checked out. |
-noreserve
|
Prevents add-on licenses from being checked out unless a model operation requires them. |
-noretry
|
Prevents add-on licenses from being retried when a significant operation is carried out. |
-norelease
|
Prevents add-on licenses from being released after importing geometry. |
-readonly |
Allows you to view a simulation without consuming a Simcenter STAR-CCM+ license. However, the license manager must be detected during launch. |
Client Options
Argument | Description |
---|---|
-batch [command]
|
Starts Simcenter STAR-CCM+ in batch mode (without a GUI). The following additional commands are available:
If no command is specified, the default action is to run the solver. In each case, the simulation is auto-saved through the auto save feature (unless that property is turned off).
When applying simulation operations, if a
chain of simulation operations is set active, the
You can specify multiple commands within the
|
-batch-report
|
Generates a summary report of a batch simulation. The report appears in
|
-classpath <classpath>
|
Overrides the User macro classpath setting from the Options dialog. This option only affects the macro compilation in the current session of Simcenter STAR-CCM+. |
-clientldlibpath <path>:<path>:<path>
|
This option permits you to add directory paths explicitly to the
Simcenter STAR-CCM+ client library search path ( |
-config <id>
|
Accesses a saved configuration of server options. (These options are also listed in the Saved Configurations list of the dialog that loads a simulation or creates a new one.) |
-save-config <id>
|
Saves a configuration of server options and adds it to the Saved Configurations list of the dialog that loads a simulation or creates a new one. |
-fontsize <size>
|
Adjusts the size of the font that is used in the Simcenter STAR-CCM+ client workspace, such as dialogs and the object tree, for that session. Add the desired font size with this command. For example, a command of
|
-host <host> -port <port>
|
Specifies the
|
-locale <locale>
|
Overrides the default locale of your operating system. You can run Simcenter STAR-CCM+ in the following languages:
|
-macro <file>
|
Runs the macro
|
-nbuserdir <dir>
|
Lets you specify a location, other than
This option changes the location of key
Simcenter STAR-CCM+ information, including the user settings directory and client log messages. Consider using this option when you do not have write access to your
|
-noexit
|
Prevents the server process from shutting down after batch file execution has completed. By default, the client and server processes both shut down after the macro completes. |
-on <host>
|
Specifies the
Additionally, this option can be used directly as a parallel option to specify the hosts that the parallel server uses. |
-param <global parameter name> <value>
|
Specifies the value of a global parameter that already exists in the target simulation. You can set scalar and vector parameter values using either fixed values or expressions, and can also set file paths for file parameters. Multiple instances are allowed. If either argument (name or value) contains spaces or reserved characters such as '$', surround the argument in quotes, either single or double, depending on the command shell and your objective.
To set a file parameter for a specific simulation:
When you enclose the
|
-reset
|
Restores the default client layout (including window positions) and settings (options and mounted directories). |
-time
|
Prints server-elapsed and CPU times after a batch run. Specifically, it prints a summary of computational resource use of the server on close-down. In serial:
In parallel:
|
-userdir <name>
|
On Linux, adds a user settings directory to your
|
-nbuserdir <name>
|
On Linux, specifies the NetBeans directory. |
-clientcore
|
On Linux, reserves one core for running the client in a batch system. Use this flag if you perform a lot of post-processing while running in parallel. |
-clientldpreload <file:...>
|
On Linux, sets the client
|
Server Options
Argument | Description |
---|---|
-arch <architecture>
|
This option allows you to override the automatic determination of the architecture of the machine. The specified architecture must exist within the installation and must be compatible with the machine architecture. If these conditions are not met, Simcenter STAR-CCM+ exits, or runtime errors occur. For example, this argument can work when a 32-bit Linux installation is executed on a 64-bit Opteron-based architecture:
|
-batchsystem <system>
|
This option can be used to aid the startup of parallel Simcenter STAR-CCM+ under the control of a supported Batch Management System (for usage see Using Batch Management Systems). Currently the supported systems are:
Process distribution follows the same logic as for
|
-collab
|
In the startup of a server, allows others to connect to it. (By default only the user who starts a Simcenter STAR-CCM+ server is allowed to connect to it.) |
-cout
|
Messages are directed to the console rather than to the Simcenter STAR-CCM+ client. |
-jobmanager <URL>
|
Specifies the URL of the Resource Manager that controls the resources for the Simcenter STAR-CCM+ server. The Resource Manager automatically adds this option to the server. |
-ldlibpath <path>:<path>:<path>
|
This option permits you to add directory paths explicitly to the
Simcenter STAR-CCM+ server library search path ( The
|
-load
|
Loads the specified
|
-msjob[:<opt>]
|
Submits a cluster job to the Windows Server job scheduler. This functionality is available only on Windows Server 2012 machines. |
-noconnect
|
In the startup of a server, specifies a session that is exclusive to the Simcenter STAR-CCM+ console session that launched it. No other users can connect to that server. |
-port <port>
|
Specifies server port for Simcenter STAR-CCM+ to open. |
-portrange <range>
|
Specifies the number of ports the server can attempt to bind to. |
-server
|
Starts the Simcenter STAR-CCM+ server with an automatically generated port number. |
|
The
-rsh <option> option can be used to specify:
-svrrsh <option> specifies the server's remote shell only.
When starting a server using
In a new client session the remote shell settings default to those set by the environment options, Generic Remote Process Launch Command and the Server Remote Process Launch Command. |
-taskid <pid>
|
Specifies the task ID of the Resource Manager that controls the resources for the server. The Resource Manager automatically adds this option to the server. |
-ldpreload <file:...>
|
On Linux, for the server, sets the shared libraries list to
LD_PRELOAD .
|
Visualization Options
Argument | Description |
---|---|
-graphics <option> |
For the Simcenter STAR-CCM+ client and Simcenter STAR-CCM+ Viewer, uses one of the
following options:
|
-rgpu <option> |
Leverages multiple GPUs on a Linux system for local interactive or batch sessions, or for rendering on a remote server. The options are:
For more information see Working with Multiple GPUs (Linux Only). |
-rgraphics |
For the Simcenter STAR-CCM+ server (remote
rendering), uses one of the following options:
|
-rthreads
N
|
Client option. Sets the number of threads
|
-rr
server
|
Client option that tells the server to launch a renderer on its machine for the client. |
-rr
hostname:port |
Client option that tells the server to launch a renderer on a specified host:
|
-rr hostname |
Client option that tells the server to launch a temporary renderer on a specific host:
|
-rrthreads N
|
Server option which controls the number of threads
|
Parallel Options
Argument | Description |
---|---|
-benchmark
|
Assesses performance capabilities of your hardware. For detailed information about options, use
|
-machinefile <file>
|
MPI machine resource
|
|
Specifies the MPI driver used for communication between processes. The default MPI driver on Linux is Open MPI and on Windows it is MS MPI. See Supported MPI Implementations for details. |
-mpiflags <options>
|
MPI driver expert options. |
-mpitest [:<options>]
|
Performs MPI tests and exits. |
-np <np>
|
Number of processes to use. Implies parallel execution. If
the |
-np <np[,npcosim]>
|
Number of processors to use for co-simulation, where
|
-on <host[:np][,host[:np]]>
|
MPI resource list. Process distribution
follows the same logic as for |
-pio
|
Activates parallel input/output on RAID-5 file systems. When this flag is included, the given simulation file is restored using parallel I/O, and all subsequent simulation files are saved using parallel I/O. |
-cpubind <policy>
|
Specifies what binding policy out of
You can request a report to display the binding layout by entering:
See CPU Binding for details. |
GPGPU Options
Argument | Description |
---|---|
-gpgpu
auto[:N][:oversubscribe] |
Automatic selection of GPGPU cards from those available on
the machine.
[:N] is an optional count. For
example:
On NVIDIA DGX systems, the DGX Display GPU is never selected. |
-gpgpu n[,n]+ |
Specifies the index of which GPGPUs to
use. For example, -gpgpu 0,1 —uses GPGPUs with
index 0 and 1.On NVIDIA GPUs, the GPGPU indices are expected to be equal
to the corresponding CUDA indices reported by the
|
-gpgpu
force:n[,n]+ |
Specifies the index of which GPGPUs to
use, but without validation. For example, -gpgpu
force:2,4 forces usage of GPGPUs with index 2 and 4
without validation. |
-gpgpu file:file.txt |
Provides GPGPU selection within the specified file. This option permits the most fine-grained GPGPU selection and is useful when different selections must be made on different hosts. The file must contain a single line per host involved. Each line contains the host name as reported by the hostname command, followed by a space and the -gpgpu arguments applicable on that host. For example:
|
-gpgpu <usage options>:nomps |
Apply the <usage options> as specified by
the options above, but do not start MPS even if MPS is deemed
desirable. For example, -gpgpu auto:4:nomps
selects 4 cards on the machine but does not start MPS. |
-require-gpgpu-compatibility |
Require GPGPU compatibility. When non-GPGPU-compatible solvers are active, this causes an input error to be issued at solver execution time instead of falling back to running on the CPU. In batch execution, this effectively stops the job. |
Some GPGPU cards consist of multiple logical
GPGPUs. This includes the NVIDIA A16 (4 logical GPGPUs) and the AMD Instinct
MI250/MI250X (2 logical GPGPUs). For purposes of the -gpgpu
option,
each logical GPGPU is treated as an independent GPGPU card.