Difference between revisions of "SLURM Interactive"

Line 24: Line 24:
== Graphical Jobs ==
== Graphical Jobs ==


The same rules apply for graphical jobs. Your X11 connection will be automatically forwarded from the remote compute node so that your application will appear on your desktop. We highly recommend using the [[CIRCE Desktop|CIRCE Desktop Environment]] if you plan to utilize any graphical applications on the cluster.
The same rules apply for graphical jobs. Your X11 connection will be automatically forwarded from the remote compute node so that your application will appear on your desktop. We highly recommend using the [[CIRCE-SC Desktop|CIRCE-SC Desktop Environment]] if you plan to utilize any graphical applications on the cluster.

Revision as of 20:24, 20 February 2017

Interactive Jobs

The SLURM system on CIRCE/SC allows users to run applications on available compute nodes while in a full shell session. This allows users to run applications that require direct user input and full graphical applications that require more extensive compute resources.

Interactive jobs can be run within a scheduled shell using the srun command. You’ll want to see the User’s Guide for more information about these options. Here is an example:

[user@login0 ~]$ srun —pty /bin/bash
[user@svc-3024-6-25 ~]$

You can now run any compute-intensive task interactively.

Let us say that you require a minimum of 4GB of RAM for your interactive task. We can ask the scheduler to put us on a node with >4GB of RAM by requesting the mem constraint like so:

[user@login0 ~]$ srun --mem=4096 --pty /bin/bash
[user@svc-3024-6-25 ~]$ free
             total       used       free     shared    buffers     cached
Mem:      16396468    8315580    8080888          0     246772    3247420
-/+ buffers/cache:    4821388   11575080
Swap:     18612216          0   18612216

You can specify a wide variety of complexes. See Using Features

Please note: Unless the “—time=HH:MM:SS” constraint is used, all jobs submitted to SLURM (interactive or batch) will receive the default runtime of 1 hour!

Graphical Jobs

The same rules apply for graphical jobs. Your X11 connection will be automatically forwarded from the remote compute node so that your application will appear on your desktop. We highly recommend using the CIRCE-SC Desktop Environment if you plan to utilize any graphical applications on the cluster.