You are here:

Kingspeak cluster hardware  overview

Kingpeak is operated in a condominium fashion with some general CHPC nodes on which groups can get allocation, along with additional nodes owned by different research groups. Kingspeak is the cluster to which new nodes purchases are currently being added.  Right now it is over 335 total nodes (6792 cores), with the nodes having 16, 20, 24, 28,or 32 cores each, and memory between 32GB and 1TB each. 

The General CHPC nodes include:

  • 48 Dual Socket Nodes (832 total general cores) 
    • 32 nodes with 16 cores and 64GB memory
    • 16 nodes with 20 cores; twelve of these have 64GB memory and four have 384GB memory

Other information on kingspeak's hardware and cluster configuration:

  • Intel Xeon (Sandybridge/Ivybridge E5-2670 and Haswell) processors
  • Mellanox FDR Infiniband interconnect
  • Gigabit Ethernet interconnect for management
  • 2 general interactive nodes

 In addition there are four general GPU nodes, described on our GPU & Accelerators page.

Important differences from other CHPC clusters – NEW!

  • Note the change in the naming convention in the paths to the cluster specific applications, in that this cluster is kingspeak.peaks, not kingspeak.arches.
  • Kingspeak has nodes of different core counts – see Slurm documentation on ways to use this mixed resource.

FAQ section – NEW!

NOTE – we will add to this section as we get questions from users

Kingspeak Usage

CHPC resources are available to qualified faculty, students (under faculty supervision), and researchers from any Utah institution of higher education. Users can request accounts for CHPC computer systems by filling out an account request form. This can be found by following this link: account request form.  

Users requiring priority on their jobs may apply for an allocation of wall clock hours per quarter. Users will need to send a brief proposal, using the the allocation form found here.

Kingspeak Access and environment

The kingspeak cluster can be accessed via ssh (secure shell) at the following address:

  • kingspeak.chpc.utah.edu

All CHPC machines mount the same user home directories. This means that the user files on Kingspeak will be exactly the same as the ones on other CHPC clusters. The advantage is obvious: users do not need to copy files between machines.

Kingspeak compute nodes mount the following scratch file systems:

  • /scratch/kingspeak/serial 
  • /scratch/general/lustre
  • /scratch/ash/lustre (restricted access)
  • /scratch/ucgd/serial (restricted access)
  • /scratch/ucgd/lustre (restricted access)

As a reminder, the non-restricted scratch file systems are automatically scrubbed of files that have not been accessed for 60 days.

Your environment is setup through the use of modules. Please see the User Environment section of the General Cluster Information page for details in setting up your environment for batch and other applications. 

Using the Batch System on Kingspeak

The batch implementation on Kingspeak is Slurm.

The creation of a batch script on the Kingspeak cluster

A shell script is a bundle of shell commands which are fed one after another to a shell (bashtcsh,..). As soon as the first command has successfully finished, the second command is executed. This process continues until either an error occurs or the complete array of individual shell commands has been executed. A batch script is a shell script which defines the tasks a particular job has to execute on a cluster.

Below this paragraph a batch script example for running in Slurm on the Kingspeak cluster is shown. The lines at top of the file all begin with #SBATCH which are interpreted by the shell as comments, but give options to Slurm.

Example Slurm Script for Kingspeak:

#!/bin/csh

#SBATCH --time=1:00:00 # walltime, abbreviated by -t
#SBATCH --nodes=2 # number of cluster nodes, abbreviated by -N
#SBATCH -o slurm-%j.out-%N # name of the stdout, using the job number (%j) and the first node (%N)
#SBATCH --ntasks=16 # number of MPI tasks, abbreviated by -n # additional information for allocated clusters
#SBATCH --account=baggins # account - abbreviated by -A
#SBATCH --partition=kingspeak # partition, abbreviated by -p # # set data and working directories

setenv WORKDIR $HOME/mydata

setenv SCRDIR /scratch/kingspeak/serial/UNID/myscratch
mkdir -p $SCRDIR
cp -r $WORKDIR/* $SCRDIR
cd $SCRDIR

# load appropriate modules, in this case Intel compilers, MPICH2
module load intel mpich2
# for MPICH2 over Ethernet, set communication method to TCP - for general lonepeak nodes
# see above for network interface selection options for other MPI distributions
setenv MPICH_NEMESIS_NETMOD tcp
# run the program
# see above for other MPI distributions
mpirun -np $SLURM_NTASKS my_mpi_program > my_program.out

For more details and example scripts please see our Slurm documentation. Also, to help with specifying your job and instructions in your slurm script, please review CHPC Policy 2.1.5 Kingspeak Job Scheduling Policy.

Job Submission on Kingspeak

In order to submit a job on kingspeak one has to login first into a kingspeak interactive node. Note that this is a change from the way job submission has worked in the past on our other clusters where you could submit from any interactive node to any cluster. 

To submit a script named slurmjob.kingspeak, just type:

sbatch slurmjob.kingspeak

Checking the status of your job in slurm

To check the status of your job, use the "sinfo" command

sinfo

For information on compiling on the clusters at CHPC, please see  our Programming Guide

Last Updated: 10/10/16