How to reset the 'default' RemoteClusterAccess object?
Show older comments
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 Comments
Brandon Barker
on 23 Sep 2014
Brandon Barker
on 23 Sep 2014
Raymond Norris
on 23 Sep 2014
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
on 23 Sep 2014
Brandon Barker
on 23 Sep 2014
Accepted Answer
More Answers (0)
Categories
Find more on Third-Party Cluster Configuration 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!