Thread Subject: PARFOR Compilation

Subject: PARFOR Compilation

From: Panagiotis Braimakis

Date: 24 Nov, 2009 20:32:18

Message: 1 of 3

Hi!

ive written a code which uses par for and simplifies alot what i m doing.
Im trying now to compile it and there is not much written in plain English...
In the Configurations Manager i created a jobmanager (though i have no idea what that is) cause i cannot use local in compilations since its a matlab service. On top of this i slightly changed the input "pool filling" by typing
defaultParallelConfig('Myconfig'); instead of the original matlabpool('open')
i exported the jobmanager.mat file although inside in the Jobmanager hostname i HAD NO IDEA what to write , i wrote a poem for starts...
Any help please on parfor compilations and jobmanager setups?
Agou thx
pb

Subject: PARFOR Compilation

From: Richard Alcock

Date: 30 Nov, 2009 11:11:19

Message: 2 of 3

On Tue, 24 Nov 2009 20:32:18 +0000, Panagiotis Braimakis wrote:

> Hi!
>
> ive written a code which uses par for and simplifies alot what i m
> doing. Im trying now to compile it and there is not much written in
> plain English... In the Configurations Manager i created a jobmanager
> (though i have no idea what that is) cause i cannot use local in
> compilations since its a matlab service. On top of this i slightly
> changed the input "pool filling" by typing
> defaultParallelConfig('Myconfig'); instead of the original
> matlabpool('open') i exported the jobmanager.mat file although inside in
> the Jobmanager hostname i HAD NO IDEA what to write , i wrote a poem for
> starts... Any help please on parfor compilations and jobmanager setups?
> Agou thx
> pb

Hi,

As you note, you can not run use a local scheduler from a compiled
application. To use the parallel computing functionality from a compiled
application you need a cluster that is running MATLAB Distributed
Computing Server (see http://www.mathworks.com/products/distriben/).
The cluster needs to be running a scheduler - the jobmanager is a simple
scheduler that is included with MATLAB Distributed Computing Server -
other schedulers are also supported.

If you have a cluster, you can create a configuration for it - the
cluster's administrators should be able help with this - they will know
what needs to be entered into the Configuration Manager.

This configuration can then be exported from the Configuration Manager
and used by your compiled application.

Thanks,

--
Richard

Subject: PARFOR Compilation

From: Panagiotis Braimakis

Date: 1 Dec, 2009 23:51:07

Message: 3 of 3

OK, i got a bit serious and setup the admincenter with the local mdce's in my home network and i "saw" more green workers... i also extracted the scheduler of matlab and it seems all well. When i do the diagnostics all turn green!
When i try to run the matlabpool open it brings up multiple workers (6 cores in two computers)
I compiled it and extracted the sceduler settings all fine!!!
i m having butterflies in my stomache... tomorrow i ll go buy a computer with 8 processors and do my stochastic drift monte carlo... with sugar on top.!!!

perfeto

Tags for this Thread

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

Contact us at files@mathworks.com