Skip to content

Instantly share code, notes, and snippets.

@pol
Created December 10, 2015 19:59
Show Gist options
  • Save pol/4d6c2881ad61a1413767 to your computer and use it in GitHub Desktop.
Save pol/4d6c2881ad61a1413767 to your computer and use it in GitHub Desktop.
matlab parallel pool failure
[d86r845@hyalite ~]$ ssh compute002
Last login: Fri Dec 4 10:27:28 2015 from hyalite.global.cluster
[d86r845@compute002 ~]$ module load matlab
[d86r845@compute002 ~]$ matlab -nodisplay -nosplash
< M A T L A B (R) >
Copyright 1984-2015 The MathWorks, Inc.
R2015a (8.5.0.197613) 64-bit (glnxa64)
February 12, 2015
To get started, type one of these: helpwin, helpdesk, or demo.
For product information, visit www.mathworks.com.
Academic License
>> parpool
Starting parallel pool (parpool) using the 'local' profile ...
Error using parpool (line 103)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 667)
Failed to start pool.
Error using parallel.Job/createTask (line 277)
Permission denied
>> c=parcluster('local')
c =
Local Cluster
Properties:
Profile: local
Modified: false
Host: compute002
NumWorkers: 16
JobStorageLocation: /mnt/lustrefs/scratch/pol.llovet
RequiresMathWorksHostedLicensing: false
Associated Jobs:
Number Pending: 0
Number Queued: 0
Number Running: 0
Number Finished: 0
>> c.parpool
Starting parallel pool (parpool) using the 'local' profile ...
Error using parallel.Cluster/parpool (line 81)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 667)
Failed to start pool.
Error using parallel.Job/createTask (line 277)
Permission denied
>> c.JobStorageLocation('/dev/shm')
Index exceeds matrix dimensions.
>> c.JobStorageLocation='/dev/shm'
c =
Local Cluster
Properties:
Profile: local
Modified: true
Host: compute002
NumWorkers: 16
JobStorageLocation: /dev/shm
RequiresMathWorksHostedLicensing: false
Associated Jobs:
Number Pending: 0
Number Queued: 0
Number Running: 0
Number Finished: 0
>> c.parpool
Starting parallel pool (parpool) using the 'local' profile ... Warning: Unable to calculate the dependencies of the files:
/cm/shared/apps/matlab/R2015a/toolbox/distcomp/@distcomp/nop.m
because:
Permission denied
> In parallel.internal.apishared.AttachedFiles.calculateAttachedFiles (line 235)
In parallel.Task/hCalculateDependentFiles (line 564)
In parallel.Task/hCalculateAndCacheDependentFiles (line 583)
In parallel.Job>@(t)t.hCalculateAndCacheDependentFiles(taskFunctionCache) (line 692)
In parallel.Job/attachRequiredFiles (line 691)
In parallel.Job/submit (line 304)
In parallel.internal.pool.InteractiveClient/start (line 330)
In parallel.Pool>iStartClient (line 547)
In parallel.Pool.hBuildPool (line 439)
In parallel.internal.pool.doParpool (line 15)
In parallel.Cluster/parpool (line 67)
Error using parallel.Cluster/parpool (line 81)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 667)
Failed to start pool.
Error using parallel.internal.apishared.AttachedFiles>iMkDirOrError (line 545)
Could not create a temporary directory for the attached file archive.
Permission denied
>> c.JobStorageLocation='/home/pol.llovet'
c =
Local Cluster
Properties:
Profile: local
Modified: true
Host: compute002
NumWorkers: 16
JobStorageLocation: /home/pol.llovet
RequiresMathWorksHostedLicensing: false
Associated Jobs:
Number Pending: 0
Number Queued: 0
Number Running: 0
Number Finished: 0
>> c.parpool
Starting parallel pool (parpool) using the 'local' profile ... Warning: Unable to calculate the dependencies of the files:
/cm/shared/apps/matlab/R2015a/toolbox/distcomp/@distcomp/nop.m
because:
Permission denied
> In parallel.internal.apishared.AttachedFiles.calculateAttachedFiles (line 235)
In parallel.Task/hCalculateDependentFiles (line 564)
In parallel.Task/hCalculateAndCacheDependentFiles (line 583)
In parallel.Job>@(t)t.hCalculateAndCacheDependentFiles(taskFunctionCache) (line 692)
In parallel.Job/attachRequiredFiles (line 691)
In parallel.Job/submit (line 304)
In parallel.internal.pool.InteractiveClient/start (line 330)
In parallel.Pool>iStartClient (line 547)
In parallel.Pool.hBuildPool (line 439)
In parallel.internal.pool.doParpool (line 15)
In parallel.Cluster/parpool (line 67)
Error using parallel.Cluster/parpool (line 81)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 667)
Failed to start pool.
Error using parallel.internal.apishared.AttachedFiles>iMkDirOrError (line 545)
Could not create a temporary directory for the attached file archive.
Permission denied
>> c.JobStorageLocation='/tmp'
c =
Local Cluster
Properties:
Profile: local
Modified: true
Host: compute002
NumWorkers: 16
JobStorageLocation: /tmp
RequiresMathWorksHostedLicensing: false
Associated Jobs:
Number Pending: 0
Number Queued: 0
Number Running: 0
Number Finished: 0
>> c.parpool
Starting parallel pool (parpool) using the 'local' profile ... Warning: Unable to calculate the dependencies of the files:
/cm/shared/apps/matlab/R2015a/toolbox/distcomp/@distcomp/nop.m
because:
Permission denied
> In parallel.internal.apishared.AttachedFiles.calculateAttachedFiles (line 235)
In parallel.Task/hCalculateDependentFiles (line 564)
In parallel.Task/hCalculateAndCacheDependentFiles (line 583)
In parallel.Job>@(t)t.hCalculateAndCacheDependentFiles(taskFunctionCache) (line 692)
In parallel.Job/attachRequiredFiles (line 691)
In parallel.Job/submit (line 304)
In parallel.internal.pool.InteractiveClient/start (line 330)
In parallel.Pool>iStartClient (line 547)
In parallel.Pool.hBuildPool (line 439)
In parallel.internal.pool.doParpool (line 15)
In parallel.Cluster/parpool (line 67)
Error using parallel.Cluster/parpool (line 81)
Failed to start a parallel pool. (For information in addition to the causing error, validate the profile 'local' in the Cluster Profile Manager.)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line 667)
Failed to start pool.
Error using parallel.internal.apishared.AttachedFiles>iMkDirOrError (line 545)
Could not create a temporary directory for the attached file archive.
Permission denied
>> quit
[d86r845@compute002 ~]$ ls -lah /cm/shared/apps/matlab/R2015a/toolbox/distcomp/@distcomp/nop.m
-r--r--r-- 1 root root 333 Feb 26 2013 /cm/shared/apps/matlab/R2015a/toolbox/distcomp/@distcomp/nop.m
[d86r845@compute002 ~]$ ls -lah /dev/shm
total 4.0K
drwxrwxrwt 2 root root 60 Dec 10 12:56 .
drwxr-xr-x 19 root root 88K Nov 6 04:05 ..
-rw-r--r-- 1 d86r845 users 862 Dec 10 12:56 matlab_metadata.mat
[d8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment