Clear Filters
Clear Filters

Error using parpool (line 151)

13 views (last 30 days)
hyeonji KIM
hyeonji KIM on 25 Jul 2021
Answered: Shadaab Siddiqie on 28 Jul 2021
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
My version is MATLAB 2021a and I am on Ubuntu 18.04 LTS.
What am I doing wrong?

Answers (1)

Shadaab Siddiqie
Shadaab Siddiqie on 28 Jul 2021
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:
For more information you can refer gcp.


Find more on Parallel Computing Fundamentals in Help Center and File Exchange


Community Treasure Hunt

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

Start Hunting!