When submitting an ANSYS Fluent job from the Linux line command using SGE, you must include additional options for the ANSYS Fluent command syntax. The command line syntax is as follows:
fluentsolver_version[FLUENT_options] -sge [-sgeckptckpt_object] [-sgeqqueue_name] [-sgepeparallel_env MIN_N-MAX_N]
where:
specifies the dimensionality of the problem and the
precision of the ANSYS Fluent calculation (for example, 3d, 2ddp).
specify the start-up option(s) for ANSYS Fluent, including the options for running ANSYS Fluent in parallel. For more information, see the ANSYS Fluent User's Guide.
-sge(start-up option) instructs ANSYS Fluent to run under SGE.
-sgeckptckpt_object(start-up option) specifies the checkpointing object and overrides the checkpointing option specified in the default request file. If this option is not specified in the command line and the default general request file contains no setting, then the ANSYS Fluent simulation is unable to use checkpoints.
-sgeq queue_name(start-up option) specifies the name of the queue.
-sgepe parallel_env MIN_N-MAX_N(start-up option) specifies the parallel environment
to be used when ANSYS Fluent is run in parallel. This should be used
only if the -sge option is used.
The specified parallel_env must be defined by
an administrator. For more information about creating a parallel environment,
refer to the sample_pe file that is located
in the /addons/sge directory in your ANSYS Fluent installation
area.
The values for MIN_N and MAX_N specify the minimum and maximum number of compute nodes, respectively.
If ANSYS Fluent is run in parallel under SGE and the -sgepe parameter is not specified, by default it will
attempt to utilize a parallel environment called fluent_pe. Note that fluent_pe must be defined by
an administrator if you are to use this default parallel environment.
In such a case, MIN_N will be set to 1 and MAX_N will be set to the
maximum number of requested compute nodes specified in the FLUENT_options (for example, -t4).
The following examples demonstrate some applications of the command line syntax:
Serial 2D ANSYS Fluent simulation running under SGE
fluent 2d -sge
Serial 2D ANSYS Fluent simulation with checkpoints,
in which fluent_ckpt is the checkpointing
object
fluent 2d -sge -sgeckpt fluent_ckpt
Important: You can use qconf -sckptl to list available
checkpoint objects.
Parallel 2D ANSYS Fluent simulation running under SGE on 4 CPUs
fluent 2d -t4 -sge
Parallel 2D ANSYS Fluent under SGE on a range of nodes
(between 2 and 6), using the parallel environment diff_pe
fluent 2d -t4 -sge -sgepe diff_pe 2-6
Important: In this example, note that the -t4 option
will be ignored and the 2-6 option will take
precedence.
Parallel 2D ANSYS Fluent under SGE on 4 CPUs, using
the parallel environment diff_pe and the
queue large
fluent2d -t4 -sge -sgeq large -sgepe diff_pe 4 -4