Error opening matlabpool on Ubuntu R2013b, but not R2012b.

조회 수: 3 (최근 30일)
Shalin Mehta
Shalin Mehta 2014년 1월 1일
답변: Shalin Mehta 2014년 2월 27일
Hi, I have MATLAB 2012b and 2013b installed in /usr/local/MATLAB directory of our Ubuntu server. I am able to open matlabpool in R2012b, but not R2013b. No install errors were thrown when I installed R2013b. I installed both as through sudo. I have appended the error I get when I try to Validate the local configuration:
Thanks for the ideas, Shalin
----------------------------------
VALIDATION DETAILS Profile: local Scheduler Type: Local
Stage: Cluster connection test (parcluster) Status: Passed Description:Validation Passed Command Line Output:(none) Error Report:(none) Debug Log:(none)
Stage: Job test (createJob) Status: Failed Description:The validation stage encountered a MATLAB exception. Command Line Output:(none) Error Report: Tasks can only be added to jobs which are in state 'pending'. Debug Log:(none)
Stage: SPMD job test (createCommunicatingJob) Status: Failed Description:The validation stage encountered a MATLAB exception. Command Line Output:(none) Error Report: The property "NumWorkersRange" cannot be set after submission. Debug Log:(none)
Stage: Pool job test (createCommunicatingJob) Status: Skipped Description:Validation skipped due to previous failure. Command Line Output:(none) Error Report:(none) Debug Log:(none)
Stage: Parallel pool test (parpool) Status: Skipped Description:Validation skipped due to previous failure. Command Line Output:(none) Error Report:(none) Debug Log:(none)
  댓글 수: 3
Shalin Mehta
Shalin Mehta 2014년 1월 12일
Hi Edric, Thanks for the tip. Running your code, I found that MATLAB was trying to create a swap space for parallel jobs where it did not have rights to write files. Changing it to a folder inside my home directory did the trick. After that, resetting the path to default (empty) also works fine.
Robert
Robert 2014년 2월 27일
Shalin, Could you give me a little detail on your solution? i.e. how do you change the folder where MATLAB creates the swap space? I am having the same problem on Ubuntu with R2013b.
Thanks in advance, Rob

댓글을 달려면 로그인하십시오.

채택된 답변

Shalin Mehta
Shalin Mehta 2014년 2월 27일
This problem was solved by pointing "JobStorageLocation" of local cluster profile to a directory where my account had write access.
It can be reached as follows: parallel icon on bottom left -> Parallel Preferences -> Cluster Profile Manager -> local (under Cluster Profile column) -> Edit -> Properties tab on the right.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Install Products에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by