User`s guide
RemoteClusterAccess
10-41
RemoteClusterAccess
Connect to schedulers when client utilities are not available locally
Constructor
r = parallel.cluster.RemoteClusterAccess(username)
r = parallel.cluster.RemoteClusterAccess(username,P1,V1,...,Pn,Vn)
Description
parallel.cluster.RemoteClusterAccess allows you to establish a connection and
run commands on a remote host. This class is intended for use with the generic scheduler
interface when using remote submission of jobs or on nonshared file systems.
r = parallel.cluster.RemoteClusterAccess(username) uses the supplied
username when connecting to the remote host, and returns a RemoteClusterAccess object
r. You will be prompted for a password when establishing the connection.
r = parallel.cluster.RemoteClusterAccess(username,P1,V1,...,Pn,Vn)
allows additional parameter-value pairs that modify the behavior of the connection. The
accepted parameters are:
• 'IdentityFilename' — A string containing the full path to the identity file to use
when connecting to a remote host. If 'IdentityFilename' is not specified, you are
prompted for a password when establishing the connection.
• 'IdentityFileHasPassphrase' — A logical indicating whether or not the identity
file requires a passphrase. If true, you are prompted for a password when establishing
a connection. If an identity file is not supplied, this property is ignored. This value is
false by default.
For more information and detailed examples, see the integration scripts provided in
matlabroot/toolbox/distcomp/examples/integration. For example, the scripts
for PBS in a nonshared file system are in
matlabroot/toolbox/distcomp/examples/integration/pbs/nonshared