Next: , Previous: , Up: Top   [Index]


2 Functions for local parallel execution

Explicite 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 explicite local parallel execution. Also, RAM access can be a bottleneck which limits computation speed of multicore computing.