matlab parallel job shows unavailable

5 次查看(过去 30 天)
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 个评论
Edric Ellis
Edric Ellis 2014-6-30
Very strange. Can you check that you have correct read/execute/write permissions for the directory '/home/aniket/jobstorage'?

请先登录,再进行评论。

采纳的回答

Mukul Rao
Mukul Rao 2014-7-15
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:

更多回答(0 个)

产品

Community Treasure Hunt

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

Start Hunting!

Translated by