Working with .ini Files

You can use an .ini file as a shortcut for general and client command line options when starting local Simcenter STAR-CCM+ simulations.

To use this feature, add the -ini option to your line command:

% starccm+ -ini myinifile.ini <simfile>

The file contains simple listed commands, with any line beginning with # considered a comment. For instance, if you usually prefer to use rsh rather than ssh on your system, the .ini file could look like the following:

# set default rsh command 
-rsh rsh

A more complex .ini file could be constructed as follows:

# set default rsh command
-rsh rsh
# set batchsystem and always allocate the controller process to a cpu/core shared with a worker process
-batchsystem pbs:
# MPI options 
#   - Intel MPI
#   - PSM2 fabric
-mpi intel
-fabric psm2

Arguments that are passed on the command line take precedence over the ones that are listed in the .ini file. For example, suppose that you issue the following command line:

% starccm+ -ini myinifile.ini <simfile> -rsh ssh

The -rsh argument in the command line takes precedence over the one in the .ini file. Currently there is no way to merge these two arguments.

Your system administrator can create a global .ini file that applies these options to all servers.