When submitting an ANSYS Fluent job from the Linux line command using LSF, you can include certain LSF checkpointing parameters in the standard call to ANSYS Fluent.
Submitting a batch job requires the bsub command. The syntax for the bsub command
to submit an ANSYS Fluent job is
bsub [-R option] [checkpoint_info]
[bsub_options] fluent solver_version [FLUENT_options] -lsf
where
-R option provides you with the following options:
If option is set to fluent, you are specifying that the ANSYS Fluent application
is only installed on certain hosts in the cluster and is a shared
resource. When this is the case, an LSF administrator must specify
“fluent” with the hosts on which ANSYS Fluent can be executed
(in lsf.cluster.cluster_name).
If option is set to "select[solver_license_feature] rusage[parallel_license_feature]" (where solver_license_feature represents the settings that provide the serial ANSYS solver license feature names, and parallel_license_feature represents the settings that provide the ANSYS parallel/HPC license feature names), your LSF job will be coupled
with ANSYS licensing so that the job will wait
in the queue until licenses are available. See Coupling LSF Job Submissions and ANSYS Licensing for all of the settings necessary
for such coupling.
checkpoint_info provides the parameters needed for checkpointing, and has the following syntax:
-a fluent -k "checkpoint_directory[duration]"
where
-a fluent ensures that LSF
uses the correct versions of echkpnt and erestart.
-k is the LSF option that
makes the job able to be checkpointed.
checkpoint_directory specifies
the name of the checkpoint directory.
duration specifies the number
of minutes between automatic checkpoints.
bsub_options are options for the job submission. See the Platform LSF Reference guide for a complete list with descriptions.
fluent is the command that
launches ANSYS Fluent.
solver_version specifies the
dimensionality of the problem and the precision of the ANSYS Fluent calculation
(e.g., 3d, 2ddp).
FLUENT_options can be added to specify the startup option(s) for ANSYS Fluent, including the options for running ANSYS Fluent in parallel. For more information, see the ANSYS Fluent User's Guide.
-lsf is added to the ANSYS Fluent command
to specify that you are running under LSF. This option causes ANSYS Fluent to
check for trigger files in the checkpoint directory if the environment
variable LSB_CHKPNT_DIR is set.