Using compute.cla

Connect

Connect to lts.cla.umn.edu using the NX client (see z.umn.edu/ltsconnect).
 

Decide Session Type

  • Use an interactive session when you need to see what is happening - e.g. using a graphical application
  • Use a batch session when you have a script to run
  • Use a batch session when you need more power or longer run times (walltime)

Interactive Session

Note that these instructions have changed and SSHing to compute.cla.umn.edu is no longer needed.  You may enter qsub commands from lts.cla.umn.edu.

Open a Terminal

Enter the command qsub -IX to start an interactive session using the default resources (8GB of memory, 24 hour walltime, and 2 cores on one node). Please note that at the end of the "walltime" your session is terminated so resources are available for others. Adjust your walltime as needed (see below table for limits).

The example below starts an interactive session, loads the module for MATLAB, and then runs MATLAB. (Most of our software is now provided via modules.  Please see our page on using modules for information on how to load and use software via modules.)

goldy@lts:~> qsub -IX
c5:~> module load matlab
c5:~> matlab
 
In the above command, the "-I" tells it you want an interactive session and the "-X" tells it you want graphical programs forwarded to your screen. compute.cla will find a node with resources and you’ll be at the command prompt of that node (nodes are numbered C1 - C8). From here you can run software just as you would on any of our Linux servers.
 

If you find you need a more powerful interactive session you can ask qsub to give you more resources by following the example below. This command will give you 16GB of memory, 48 hours, and 8 cores on one node.

goldy@lts:~> qsub -IX -l mem=16GB,walltime=48:00:00,nodes=1:ppn=8

 

Batch

The batch queue is a routing queue that routes jobs to the short, long, highmem, or multinode queue based on the resources requested for the job. This simplifies job  submission and frees you from having to determine which queue is the correct one to use for your job.

Using compute.cla for batch jobs is similar to interactive in command but you drop the -IX, add the queue (-q batch), and add the name of the script you want to run.

In the example below, we have a script called analysis.sh. To run it, enter this command:

compute:~> qsub -q batch analysis.sh

The following example shows the command for a batch job requesting specific resources.

compute:~> qsub -q batch -l mem=16GB,walltime=48:00:00,nodes=1:ppn=8 analysis.sh

 

Using a PBS script

While you can submit your job to the cluster using a shell script as above, specifying the resource list on the command line each time can be tedious and doesn't lend itself well to repeatability.  The recommended way to submit a job involves creating a PBS job submission script which contains the setup information and resources needed as well as the commands to be executed. The PBS script is then submitted to the cluster using the qsub command. More information on the general format of a PBS job submission script as well as some examples can be found on our page for creating a PBS script.

Launching Applications

In general, the latest applications are best used via modules. See our page on using modules for more information.
If the app you need isn't in modules, software is located in /pkg/software_depot/app and /pkg/software_depot/bliss (neuroimaging specific apps)