Our scheduler, MJS, supports interactive pools running from your desktop machine because the traffic is routed via the scheduler on the cluster. For other schedulers, like Slurm, we initiate the server socket on the desktop machine. As noted it's less likely this will work (since it's probably not reachable), but you have a couple of options.
- For starters, if your desktop machine is reachable via IP address, you can configure it as such
pctconfig('hostname','a.b.c.d');
This requires being called each time you start MATLAB (can be placed in your startup.m file) and before you call any parallel code (e.g., parpool).
- If you can't resolve your public IP address, if you VPN into the university/company network, try using the IP address provided by your VPN.