Next: Documentation, Previous: Further functions, Up: Top [Index]
Note that netcellfun, netarrayfun, and rfeval, but even parcellfun and pararrayfun, execute code in separate Octave processes. This causes some limitations.
For the function handles passed as arguments to parcellfun, pararrayfun, netcellfun, netarrayfun, and rfeval, the following limitations may apply:
varargin
and don’t contain nested
anonymous functions.
Anonymous functions should be usable as usual, since the function specification sent to the server will include the anonymous functions context.
If parcellfun or pararrayfun (and of course the cluster-related functions, too) are called from within a function with subfunctions, the subfunctions won’t be visible in parallel execution.
There is no way to set global variables for the function called by
parcellun
or pararrayfun
. For cluster execution, setting
global variables is possible, e.g. with install_vars; however,
netcellfun
and netarrayfun
won’t ’see’ global variables if
they use parcellfun
internally (which is the default at remote
machines with more than one available processor core).
Next: Documentation, Previous: Further functions, Up: Top [Index]