I have been using Emacs with ESS and tramp to load remote files and run remote R processes on HPC computers. With ssh keys, tramp makes this easy with C-x C-f
to find file at /ssh:myserver:/path/to/file
followed by M-x R
to launch an R session.
However, on HPC computers that use a job scheduling system (e.g. Sun Grid Engine or Torque) there are restrictions on how much memory and CPU can be used on the head node, so I have to launch an interactive session using qsub -I
.
Is it possible to configure tramp, ssh, and/or Emacs to launch an interactive session on a slave node (using qsub -I
or equivalent) after an ssh connection is made?