|
|
GNU Octave pfeval function and ov-pointer.cc class Parametric distributed function evaluation | ||
DescriptionThe pfeval function is a parametric function evaluation that can run in parallel. It depends on the ov-pointer.cc class and associated utility functions, and on the external NAP networked associative pipe system. Pfeval is similar to the dfeval function in the Matlab distributed computing toolbox. The pfeval function syntax is similar to feval. For information on obtaining and installing NAP, see http://rocketcalc.com/nap.html.Key Features
DownloadRemember to obtain and install NAP first (see above link). Download the pfeval source code here: pfeval.tar.gz.Simple ExampleThe example illustrates basic use of pfeval. We create two square matrices with random entrices of order 3 and 2, respectively. An Octave drone process does the work and saves its results to a central shared memory location (/dev/shm by default). The controlling Octave process retrieves the results by way of a pointer variable. The results are filled in on the pointer variable as they become available. | |||
|
|||