matlab parallel job shows unavailable

2 ビュー (過去 30 日間)
Hiya
Hiya 2014 年 6 月 29 日
回答済み: Mukul Rao 2014 年 7 月 15 日
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 件)

カテゴリ

Help Center および File ExchangeIntroduction to Installation and Licensing についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by