Difference between revisions of "Save anyway.m"
(→See also) |
(→See also) |
||
| Line 20: | Line 20: | ||
==See also== | ==See also== | ||
| − | [[redfield_integral_async.m]], [[redfield_integral_serial.m]], [[ensemble_grape_call.]] | + | [[redfield_integral_async.m]], [[redfield_integral_serial.m]], [[ensemble_grape_call.m]] |
''Version 2.1, authors: [[Ilya Kuprov]]'' | ''Version 2.1, authors: [[Ilya Kuprov]]'' | ||
Revision as of 22:36, 1 January 2018
A wrapper intended to trick SPMD blocks into saving data.
Contents
Syntax
save_anyway(file_name,variable)
Description
Matlab does not permit load and save statements in parallel blocks, unless they are wrapped up like this. The function can only save one variable at a time, its name in the mat file is "variable".
Arguments
file_name - a character string specifying the
file name
variable - the variable to be saved
Outputs
This function writes a file.
See also
redfield_integral_async.m, redfield_integral_serial.m, ensemble_grape_call.m
Version 2.1, authors: Ilya Kuprov