Error using parpool (line 151)

조회 수: 19 (최근 30일)
hyeonji KIM
hyeonji KIM 2021년 7월 25일
답변: Shadaab Siddiqie 2021년 7월 28일
Hello everyone,
When I ran the RFECS program, I experienced the following problems.
{^HError using parpool (line 151)
Found an interactive session. You cannot have multiple interactive sessions
open simultaneously. To terminate the existing session, use <a
href="matlab:delete(gcp('nocreate'))">delete(gcp('nocreate'))</a>.
}^H
My version is MATLAB 2021a and I am on Ubuntu 18.04 LTS.
What am I doing wrong?

답변 (1개)

Shadaab Siddiqie
Shadaab Siddiqie 2021년 7월 28일
From my understanding you are getting an error while running your program. This error might be because you might be trying to open pool with gcp and the open again with parpool. It is not possible to open multiple pools one with gcp and one with parpool. So, I would advise you to close gcp pool like:
delete(gcp('nocreate'))
For more information you can refer gcp.

카테고리

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