Skip to content

Running GUI Applications on Compute Nodes

Prerequisite

Additional software will be required on your Windows or macOS computer to do this. Linux computers usually have it installed by default.

See:

Launching GUI Apps on Picotte using Slurm

In brief:

  1. Run a terminal on a compute node
  2. Launch the GUI application from that terminal

This example will use Matlab, but the same process works for SAS, Stata, and any other GUI application.

[juser@picotte001 ~]$ module load matlab
[juser@picotte001 ~]$ srun --x11 --nodes=1 --ntasks=1 --cpus-per-task=16 --mem=60G --pty /bin/bash
srun: job 3478053 queued and waiting for resources
srun: job 3478053 has been allocated resources
[juser@node001 ~]$ matlab &

To close the remote graphical session, simply quit the application as usual.