From: francios hoo on
Walter Roberson <roberson(a)hushmail.com> wrote in message <2TB3o.31950$o27.8034(a)newsfe08.iad>...
> francios hoo wrote:
> > Walter Roberson <roberson(a)hushmail.com> wrote in message
> > <kss3o.41806$cO.21194(a)newsfe09.iad>...
> >> francios hoo wrote:
> >>
> >> > i know it is a bit stupid to ask such question but this problem has
> >> been > bothered by me for a quite long time. i would be very
> >> appreciate who can > help me to solve it.
> >> > > is there any command or idea to transfer data among workers?
> >>
> >> http://www.mathworks.com/access/helpdesk/help/toolbox/distcomp/brukbno-2.html
> >>
> >>
> >> "The labs executing an spmd statement operate simultaneously and are
> >> aware of each other. As with a parallel job, you are allowed to
> >> directly control communications between the labs, transfer data
> >> between them, and use codistributed arrays among them. For a list of
> >> toolbox functions that facilitate these capabilities, see the Function
> >> Reference sections Interlab Communication Within a Parallel Job and
> >> Distributed and Codistributed Arrays."
> >
> > hello,
> >
> > first of all thanks ya walter for the fast reply. however actually i am
> > trying to do a programme that will execute 2 parts of looping.
> > part A: create a solution A each iteration whereby each iteration
> > requires 30minutes.
> > part B: require to wait for the solution A and the simulation of part B
> > only need around 15 seconds for all the iteration.
> > hence, in overall, my idea is running part B using solution A of
> > iteration i while part A is running iteration (i+1)
> >
> > however, if i combine the part A and part B, i would need one day to run
> > it because (30x60s) x 15s = 2700s(7.5 hours) for every single iteration!!!
> > so my question is i don't really know how to load the data from the
> > first core to be executed in core B.
>
> I still don't see why you say that it would take (30x60) x 15 instead of
> (30x60) + 15
>
> But in any case, if you had read the document I pointed to, you would
> have seen that "Interlab Communication Within a Parallel Job" was a
> link; when you click on that link you are shown the list of functions to
> communicate between parallel clients, including labSend() and labReceive()

dear walter,
thank you very much... i think i got what i need already...
really appreciate your effort in explaining to me...
thanks again
francios