Got Questions? Get Answers.
Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Distributed Computing Server, Global Variables

Subject: Distributed Computing Server, Global Variables

From: Martin

Date: 13 May, 2013 12:24:09

Message: 1 of 2

Hello,

If I create jobs for a Distributed Computing Server environment, and I submit these jobs to the Torque Queuing System in order to be computed on the node machines, will these node machines be able to access Global Variables from the Global Namespace of the host machine?

Thanks in advance!

Subject: Distributed Computing Server, Global Variables

From: Edric M Ellis

Date: 13 May, 2013 15:51:19

Message: 2 of 2

"Martin" <martin-westerberg@gmx.de> writes:

> If I create jobs for a Distributed Computing Server environment, and I submit
> these jobs to the Torque Queuing System in order to be computed on the node
> machines, will these node machines be able to access Global Variables from the
> Global Namespace of the host machine?

No, the workers will not be able to access those global variables. You
need to transfer the data to the workers explicitly. Probably the best
way is to make the function you're running on the workers accept the
data as input arguments.

Cheers,

Edric.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us