The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Parallel Toolbox
Replies: 2   Last Post: Feb 3, 2013 11:29 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]

Posts: 7
Registered: 11/24/12
Re: Parallel Toolbox
Posted: Feb 3, 2013 11:29 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Edric M Ellis <> wrote in message <>...
> "Edwardo " <> writes:

> > I will use the toolbox with spmd: message passing. I have some
> > experience with MPI in C. I search some doc abour the labSend and
> > labReceive functions.
> >
> > My question are: Did I need to specify the exact quantity of what I want to
> > receive as in C? (looks line not)

> You do not. You can send any MATLAB data types, and the receiving side
> automatically gets the right size and type of data.

> > To receive information, did the variable
> > "data" be the same size as what is being received?
> > ----------------------------------------------
> > data = labReceive(source,tag)
> > -----------------------------------------------

> No, you do not need to pre-allocate 'data' - any previous value is
> ignored and overwritten.

> > If I need to read a lot of files that are in my home directory on a cluster and
> > the other matlab workers are in other computers, (cores) (because is a
> > cluster...) the workers can have access to a file that is in my home directory??
> > (the answer mut be no right??)

> That depends on how your cluster is set up. Some are set up so that all
> worker nodes can see a common filesystem.
> Cheers,
> Edric.

Hi Edric,
Thaks for the info! So, Let's say that the other computers can see my home directory in the cluster. That means that they can read a file, each one? that will be awesome for me.

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.