Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Re: Creating and Running Jobs with a Local Scheduler
Date: Fri, 10 Oct 2008 04:00:19 +0000 (UTC)
Organization: RMIT
Lines: 54
Message-ID: <gcmk0j$56o$1@fred.mathworks.com>
References: <gcl2cg$nh$1@fred.mathworks.com> <ytwd4i9hlyy.fsf@uk-eellis-deb4-64.mathworks.co.uk>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-05-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1223611219 5336 172.30.248.35 (10 Oct 2008 04:00:19 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Fri, 10 Oct 2008 04:00:19 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1372013
Xref: news.mathworks.com comp.soft-sys.matlab:494501


Edric M Ellis <eellis@mathworks.com> wrote in message <ytwd4i9hlyy.fsf@uk-eellis-deb4-64.mathworks.co.uk>...
> "Mr. CFD" <s2108860@student.rmit.edu.au> writes:
> 
> > I am in the process of setting up my machine to eventually submit jobs to a
> > cluster through MATLABs Parallel Computing toolbox.
> > 
> > At the first stage, just to familiarize myself to the process, I have
> > attempted to run a job on my local machine through the local scheduler.
> > 
> > A tutorial is set-up to produce five tasks, where each job generates a 3-by-3 matrix of random numbers.
> > ==========================================================
> > sched = findResource('scheduler','type','local');
> > obj = createJob();
> 
> the above line creates a job called "obj" on whatever happens to be your default
> scheduler - you should force it to use the scheduler "sched" by doing
> 
> obj = createJob( sched );
> 
> Other than that, your code looks fine.
> 
> > Unfortunately, the simulation continues to display a 'failed' state run, when
> > checking the status though: get(obj,'Tasks')
> 
> If you still get the problems, one way of getting more information is to check
> the "debug log" for a task, like so:
> 
> sched.getDebugLog( obj.Tasks(1) )
> 
> Posting that output here may help - preferably after executing
> 
> setenv( 'MDCE_DEBUG', 'true' );
> 
> to give more debug information.
> 
> Cheers,
> 
> Edric.

Thanks Edric. 
Here is the error that I am getting from 
sched.getDebugLog( obj.Tasks(1) )
===========================================================
LOG FILE OUTPUT:
License checkout failed.
License Manager Error -9
This error may occur when: 
-The hostid of this computer does not match the hostid in the license file. 
-A Designated Computer installation is in use by another user. 
If no other user is currently running MATLAB, you may need to activate.
==========================================================
The first point may apply here, so I am currently working my way through this. Hope to have this resolved shortly.
Thanks again.