Borrar filtros
Borrar filtros

Error using parpool (line 103) with Matlab R2016b

2 visualizaciones (últimos 30 días)
CT
CT el 2 de Abr. de 2020
I run a Matlab R2016b script main.m in the HPC of my university. The script contains parpool(4) and uses parfor loop.
To run the script I qsub in the terminal the following bash file.
#$ -S /bin/bash
#$ -l h_vmem=5G
#$ -l tmem=5G
#$ -l h_rt=360:0:0
#$ -cwd
#$ -j y
#$ -pe smp 4
#$ -N fake1
date
hostname
/.../matlabR2016b/bin/matlab -nodisplay -nodesktop -nosplash < main.m
I get the following error
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.)
Error in main (line 2)
parpool(4)
Caused by:
Error using parallel.internal.pool.InteractiveClient>iThrowWithCause (line
665)
Failed to initialize the interactive session.
Error using
parallel.internal.pool.InteractiveClient>iThrowIfBadParallelJobStatus
(line 766)
The interactive communicating job failed with no message.
}
Froom reading online, I understand this may be a Matlab bug. I have tried to implement this solution by adding to my bash file (after hostname)
export TZ=America/Detroit
However, it does not solve the problem. How can I fix it?

Respuestas (0)

Categorías

Más información sobre Parallel Computing Fundamentals en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by