SLURM Migration

SCARF is migrating to the SLURM batch system, instructions on this page which refer to LSF commands, parameters or configuration do not apply to SLURM. Please see our SLURM page for more information.

Launching GUI based applications

By default users will not be able to run any GUI based applications. If you would like to run these applications please follow the instructions written below.

 

If you do not have one you will need to generate an ssh key

On Windows

  • When logged in to SCARF run $ whoami, which will give you your SCARF username. Please note it as this will be used to login.
  • Now create directory named '.ssh' using 'mkdir ~/.ssh' (if doesn't exists already) and create a file named 'authorized_keys' file under .ssh directory.
  • Paste the text copied from 'Public key for pasting into OpenSSH authorized_keys file' text area from Puttygen into this file. Note that the text wil begin with either 'ssh-rsa' or 'ssh-dsa'.
  • Launch Xserver on your desktop to capture the GUI sent back.
  • Now login to SCARF on port 22 (instead of 2222) with your scarf username which begins with scarfXXX (XXX is three digits) using the generated private key with X11 and agent forwarding.
    • To enable Agent forwarding on Putty, go to Connection-> SSH-> Auth and then check 'Allow agent forwarding box'.
    • To enable X11 forwarding on Putty, go to Connection-> SSH->X11 and then check 'Enable X11 forwarding
  • After successfully login, now launch an interactive job with X and Agent forwarding using 'bsub -Is -XF /bin/bash'. This will land you onto a compute node and then you can launch GUI of any application.

On Linux

  • Once logged in to SARF run $ whoami, which will give you your SCARF username. Please note it as this will be used to login.
  • Now create directory named '.ssh' using 'mkdir ~/.ssh' (if doesn't exists already) and create a file named 'authorized_keys' file under .ssh directory.
  • Either paste the contents of your public key file 'id_rsa.pub' or 'id_dsa.pub' into 'authorized_keys' file or you can also copy using scp command 'scp ~/.ssh/id_rsa.pub <yourfederalid>@scarf.rl.ac.uk:~/.ssh/' or 'scp -P 2222 ~/.ssh/id_dsa.pub <yourfederalid>@scarf.rl.ac.uk:~/.ssh/' depending on your key type.
  • Now login to SCARF on port 22 with your scarf username which begins with scarfXXX (XXX is three digits) using the generated private key with X11 and agent forwarding 'ssh scarfXXX@scarf.rl.ac.uk -AYX'.
  • After successfully login, now launch an interactive job with X and Agent forwarding using 'bsub -Is -XF /bin/bash'. This will land you onto a compute node and then you can launch GUI of any application.

If you run into any problems or if these instructions aren't clear enough, please contact the helpdesk.