Error using parfoor: interactive sessions
조회 수: 5 (최근 30일)
이전 댓글 표시
Hello guys,
please is it a good practice to have two parfor loops execute in the same function? For example, I have:
parfor slice_num = 1:number_of_labs
.
.
.
end
.
.
.
parfor slice_num = 1:number_of_labs
.
.
.
end
Now, my problem is that it generates an error stating: "Found an interactive session. You cannot have multiple interactive sessions open simultaneously. To terminate the existing session, use 'delete(gcp)'"
Please, you guys, what should I do to resolve this error?
Thank you for your assistant.
댓글 수: 5
Mohammad Aref
2017년 9월 3일
As Edric stated, I encountered the same error by calling parpool for the second time.
Petru-Daniel Morosan
2018년 1월 9일
I had this error message when multiple defintion of parpool occurs, which is not allowed in Matlab.
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Parallel Computing Fundamentals에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!