<aside> 💡 This setup is for emulating a local development feel in PyCharm while using a remote machine allocated by SLURM. PyCharm has a built in Remote Development plugin, but its buggy at the moment and the backend doesn’t run on SkyNet. When this feature comes out of beta in the future, it might make more sense to use that.
</aside>
srun
remote-dev a40 1
with your specified parameters. This will launch a GPU shell and local portforward tunnel to the allocated machine.