matlab parallel job shows unavailable

조회 수: 7 (최근 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 CenterFile Exchange에서 Introduction 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