How to reset the 'default' RemoteClusterAccess object?
古いコメントを表示
I have created a cluster object 'cluster' and job object 'j'. I accidentally selected the wrong key during my submission. Now when I try to resubmit an identical job, it remembers my past key. This happens when I have 1) created a new job, and 2) cleared the cluster object and created a new cluster object, and 3) restarted matlab, and 4) restated the client computer.
I finally moved the erroneously selected key to another location, only to get the following error when trying to submit the job:
>> submit(j)
Error using parallel.Job/submit (line 304)
Job submission failed because the user supplied IndependentSubmitFcn (independentSubmitFcn)
errored.
Caused by:
Error using parallel.cluster.RemoteClusterAccess.getConnectedAccessWithMirror (line 238)
The supplied identity file 'C:\this\is\a\fake\path\key.ppk' does
not exist.
How do I clear these credentials from being used by MATLAB (I'm using 2014a on Windows 8.1)?
I've also tried manually creating a new RemoteClusterAccess object and setting the job to use it (using the same procedure from this example), but the same problem happens.
5 件のコメント
Brandon Barker
2014 年 9 月 23 日
Brandon Barker
2014 年 9 月 23 日
Raymond Norris
2014 年 9 月 23 日
The RemoteConnection object is stored with the Cluster object, which can be deleted. In doing so, you should be queried for your SSH credentials again. But, if you quit MATLAB, and certainly if you restart your client, you should be prompted for new credentials.
MATLAB uses SSH2 (JSch). Can you restart MATLAB and print a diary of the reproduction of the error?
Which scheduler (and OS) and integration scripts are you using?
Brandon Barker
2014 年 9 月 23 日
Brandon Barker
2014 年 9 月 23 日
採用された回答
その他の回答 (0 件)
カテゴリ
ヘルプ センター および File Exchange で Third-Party Cluster Configuration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!