matlab parallel job shows unavailable

7 vues (au cours des 30 derniers jours)
Hiya
Hiya le 29 Juin 2014
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 commentaire
Edric Ellis
Edric Ellis le 30 Juin 2014
Very strange. Can you check that you have correct read/execute/write permissions for the directory '/home/aniket/jobstorage'?

Connectez-vous pour commenter.

Réponse acceptée

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

Plus de réponses (0)

Catégories

En savoir plus sur Introduction to Installation and Licensing dans Help Center et File Exchange

Produits

Community Treasure Hunt

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

Start Hunting!

Translated by