Error using parpool (line 103) with Matlab R2016b

조회 수: 1 (최근 30일)
CT
CT 2020년 4월 2일
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?

답변 (0개)

카테고리

Help CenterFile Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by