Next: Cluster execution, Previous: Installation, Up: Top [Index]
Explicit local parallel execution, with the intent to exploit more than one local processor(-core), is performed by calling a user-defined function in parallel with several different arguments. This is done in parallel processes, so any changes to (global) variables in the user-defined function will only be visible within the same function call.
The interface of the functions for local parallel execution is similar
to Octaves cellfun
and parcellfun
functions.
Note that some operations in Octave, particularly some matrix operations, may already be performed in parallel threads. This may limit the advantage yielded by explicit local parallel execution. Also, RAM access can be a bottleneck which limits computation speed of multicore computing.
• parcellfun | Function parcellfun. | |
• pararrayfun | Function pararrayfun. |