For passive connections, you should manually start the remote kernels with the -linkcreate
argument as described earlier
, note the ports on which the remote kernels are listening, and use ConnectSlave
for each remote kernel.
Port numbers will usually be different each time you start a remote kernel; therefore, this method cannot easily be automated.