matlab parallel job shows unavailable

8 views (last 30 days)
Just starting out with using the parallel toolbox. running matlab2013b on ubuntu 12.04 I tried the following commands, shown alongwith their outputs:
c=parcluster('local') c =
Local Cluster
Properties:
Profile: local
Modified: false
Host: Vyom
NumWorkers: 4
JobStorageLocation: /home/aniket/jobstorage/
RequiresMathWorksHostedLicensing: false
Associated Jobs:
Number Pending: 0
Number Queued: 0
Number Running: 0
Number Finished: 0
j=createJob(c)
j =
Invalid Job ID 18 Information
Type: independent
State: unavailable
Basically any job i create shows unavailable, could you please help me out?
  1 Comment
Edric Ellis
Edric Ellis on 30 Jun 2014
Very strange. Can you check that you have correct read/execute/write permissions for the directory '/home/aniket/jobstorage'?

Sign in to comment.

Accepted Answer

Mukul Rao
Mukul Rao on 15 Jul 2014
Hi,
Can you try deleting all existing jobs and then create a new job?
>> mycluster=parcluster(local);
>> delete(mycluster.Jobs);
This could also be an installation problem. When I executed the command j=createJob(c) on a Ubuntu 13.04, this is what I obtained:
Host: '……………..'
HasSharedFilesystem: 1
RequiresMathWorksHostedLicensing: 0
JobStorageLocation: '/home/user_name/.matlab/local_cluster_jobs/Matlab_ver'
ClusterMatlabRoot: ‘………………………………..'
LicenseNumber: ''
OperatingSystem: 'unix'
NumWorkers: 2
Type: 'Local'
Profile: 'local'
UserData: []
Jobs: [1x1 parallel.job.CJSIndependentJob]
Modified: 0
Looks like you are missing a few outputs. Have you tried validating your cluster profile? Here is a link to help you out:

More Answers (0)

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!