exit#
- Mapdl.exit(save=False, force=False, **kwargs)#
Exit MAPDL.
- Parameters:
Notes
If Mapdl didn’t start the instance, then this will be ignored unless
force=True
.If
PYMAPDL_START_INSTANCE
is set toFalse
(generally set in remote testing or documentation build), then this will be ignored. Override this behavior withforce=True
to always force exiting MAPDL regardless of your local environment.If
Mapdl.finish_job_on_exit
is set toTrue
and there is a valid JobID inMapdl.jobid
, then the SLURM job will be canceled.Examples
>>> mapdl.exit()