save_anyway.m

From Spinach Documentation Wiki
Revision as of 19:41, 6 June 2026 by Kuprov (talk | contribs) (Update function See also links and function index membership)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

A wrapper intended to trick SPMD blocks into saving data. Matlab does not permit load and save statements in parallel blocks, unless they are wrapped up like this.

Syntax

    save_anyway(file_name,variable)

Parameters

   file_name  - a character string specifying the 
                file name

   variable   - the variable to be saved

Outputs

This function writes a file. It can only save one variable at a time, its name in the mat file is "variable".

See also

distrib_dim.m, end_disallow_gpu.m, isworkernode.m, parallel_profiler_report.m, parallel_profiler_start.m, poolsize.m, smack.m, start_disallow_gpu.m, swizzle.m, Kernel_utilities

Version 2.2, authors: Ilya Kuprov