Using alces template to create job scripts

The alces template module is included with Clusterware - used to help create job scripts for various types of scheduler jobs.

Running alces template list will provide you a list of templates readily available:

[alces-cluster@login1(hpc1) ~]$ alces template list
 1 -> mpi-nodes    ... MPI multiple node
 2 -> mpi-slots    ... MPI multiple slot
 3 -> simple-array ... Simple serial array
 4 -> simple       ... Simple serial
 5 -> smp          ... SMP multiple slot

Running alces template info <templatename> will provide you more information on the specified template:

 MPI-NODES(7)              Alces Clusterware Templates             MPI-NODES(7)



NAME
       mpi-nodes - MPI multiple node

DESCRIPTION
       Submit  a single job that spans multiple nodes where you want exclusive
       use of each node allocated.

       Choose this template if you intend to spawn multiple  threads  yourself
       or  intend to run an MPI application. This method is often used for MPI
       jobs where you need to specify the number of  processes,  machine  file
       and  process  allocation  manually,  rather  than  leave this up to the
       scheduler.

`

Job scripts can be copied to a location of your choice using alces template copy, e.g.:

[alces-cluster@login1(hpc1) ~]$ alces template copy mpi-nodes $HOME/mpi-nodes.sh
alces template copy: template 'mpi-nodes' copied to '/home/alces-cluster/mpi-nodes.sh'

The following section will detail how to run different types of jobs using alces template to provide job scripts.