Information/Error

Matlab : "Permission denied" error

페트론 2020. 4. 23. 20:02

https://kr.mathworks.com/matlabcentral/answers/262224-why-do-i-receive-a-permission-denied-error-when-running-validation-or-opening-a-parpool-using-the

 

Why do I receive a 'permission denied' error when running validation or opening a parpool using the local scheduler? - MATLAB A

MATLAB will use the value of the $TMP variable for the location of the temp folder, so you may encounter this error if $TMP isn't set to /tmp. If you do not have permission to write to the path stored in $TMP, then you will not be able to start a parpool.

kr.mathworks.com

 

1. Launch MATLAB
2. Go to ‘Manage Cluster Profile’ located in the 'Parallel' drop down options. 
3. Select the appropriate Cluster Profile
4. Click ‘Edit’ and the bottom right-hand corner
5. Edit the field for JobStorageLocation to a directory that you have permissions to

 

위 내용과 같이 MATLAB을 실행시킨 뒤 상위 메뉴에서 Parallel 을 클릭하여 나오는 드롭다운 메뉴에서 "Manage Cluster..." 를 클릭한 뒤, 오른쪽 아래의 "Edit" 버튼을 눌러 "JobStorageLocation"에 permission을 허용할 폴더를 추가해준다.

반응형