save_anyway.m

From Spinach Documentation Wiki
Revision as of 10:50, 21 August 2018 by Admin (talk | contribs)
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)

Arguments

   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

redfield_integral_async.m, redfield_integral_serial.m, smack.m, isworkernode.m


Version 2.2, authors: Ilya Kuprov