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_INSTANCEis set toFalse(generally set in remote testing or documentation build), then this will be ignored. Override this behavior withforce=Trueto always force exiting MAPDL regardless of your local environment.If
Mapdl.finish_job_on_exitis set toTrueand there is a valid JobID inMapdl.jobid, then the SLURM job will be canceled.Examples
>>> mapdl.exit()