Difference between revisions of "Smack.m"
m (Update function page text from current Spinach source) |
(Update function See also links and function index membership) |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
| − | {{DISPLAYTITLE:smack.m}} | + | {{DISPLAYTITLE:smack.m}} __NOTOC__ |
| − | + | Utility that resets Matlab state when MDCS has failed: it shuts down the parallel pool, clears crashed MDCS jobs, closes open handles, clears the workspace, and resets all GPUs, and should only be used from the command line. | |
| − | |||
==Syntax== | ==Syntax== | ||
smack() | smack() | ||
| − | |||
| − | |||
| − | |||
| − | |||
==Notes== | ==Notes== | ||
| Line 20: | Line 15: | ||
==See also== | ==See also== | ||
| − | [[Kernel_utilities | + | [[distrib_dim.m]], [[end_disallow_gpu.m]], [[isworkernode.m]], [[parallel_profiler_report.m]], [[parallel_profiler_start.m]], [[poolsize.m]], [[save_anyway.m]], [[start_disallow_gpu.m]], [[swizzle.m]], [[Kernel_utilities]] |
''Version 2.2, authors: [[Ilya Kuprov]]'' | ''Version 2.2, authors: [[Ilya Kuprov]]'' | ||
Latest revision as of 19:41, 6 June 2026
Utility that resets Matlab state when MDCS has failed: it shuts down the parallel pool, clears crashed MDCS jobs, closes open handles, clears the workspace, and resets all GPUs, and should only be used from the command line.
Syntax
smack()
Notes
The command is equivalent to the following:
delete(gcp('nocreate')); clear('all');
close('all'); fclose('all');
It exists because Ilya Kuprov got tired one day of repeatedly typing that.
See also
distrib_dim.m, end_disallow_gpu.m, isworkernode.m, parallel_profiler_report.m, parallel_profiler_start.m, poolsize.m, save_anyway.m, start_disallow_gpu.m, swizzle.m, Kernel_utilities
Version 2.2, authors: Ilya Kuprov