Two ways to deal with high computation tasks

Our focus today will be Hoffman2 (Interactive Mode)

Create Your Account

you need an approval from a faculty member registered in Hoffman2 link

All instructions are given on the website here

Required Software1

Hoffman2 and Interactive R session

Once you registered your Hoffman2 account, open your terminal:

  1. Open up your SSH client, connect to the login node on Hoffman:
$ ssh -X yourusername@hoffman2.idre.ucla.edu
  1. Request an interactive node with 8 CPU core, a runtime of 1 hours, and 2GB of memory per core
$ qrsh -l h_rt=1:00:00,h_data=2G -pe shared 8
  1. Run R studio on interactive node (2 lines):
$ module load Rstudio
$ rstudio
  1. Then you can install your packages in R using the Rstudio interactive popup

Now, try to run your R session

Data Transfer

To manage the Hoffman2 folder, I use Cyber Duck. An alternative is FileZilla for MAC and WinSCP for Windows.

To connect with Cyber Duck +,

Please let me know if there are any errors or issues! ()


  1. https://www.hoffman2.idre.ucla.edu/Using-H2/Connecting/Connecting.html?highlight=mobaxterm#setting-up-ssh-clients-for-windows↩︎