How to process multiple data sets with spmd

New to the exploration of parallel processing...
I am trying to understand how to use the spmd command to simultaneously process multiple data sets at the same time. Ultimately, I am trying to utilize this command to have a single program run the same process on multiple data files at the same time.
The typical example I have been able to find is an integration example where the workers integrate their own designated chunk of date, find the area, then add each workers calculated area together back at the client to determine overall area.
i.e: if we want to integrate segments a to f, worker 1 integrates a to b, worker 2 integrates b to c, and so on.
I would like:
worker 1 to integrate a to f of unique data1
worker 2 to integrate a to f of unique data2
...
Is this possible?

Answers (0)

Categories

Find more on Parallel Computing in Help Center and File Exchange

Asked:

on 14 Sep 2016

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!