Skip to main content
KAUST Logo

Main navigation

  • Home
  • My KSL
    • KAUST SSO Login
  • Documentation
    • Apply for Access
    • Login to Shaheen
    • Extend project
    • Quickstart Guide
    • FAQs
    • Newsletters
  • Technical Guides
  • Events
    • Search
    • Calendar
  • Contact Us

User account menu

  • Log in

Quickstart Guide

Breadcrumb

  • Home
  • Quickstart Guide

If you are familiar with HPC clusters and need a quick reference on the specifics of how to interact with KSL computational resources, you will find all the relevant information here.

Shaheen 3

Login

To login you need to ssh into the login node.

SSH command to login to Shaheen 3

 ssh -X <user-id>@login.hpc.kaust.edu.sa

SLURM Jobscript

The following jobscript needs to be submitted from /scratch/$USER directory. This is imperative because /home directory is not mounted on compute nodes. Also /project directory is read-only on compute node.

Change directory to /scratch, copy the jobscript below and paste it in a file named e.g. jobscript.slurm

#!/bin/bash
#SBATCH --time=00:10:00
#SBATCH --nodes=1
#SBATCH --ntasks=32
#SBATCH --hint=nomultithread

srun -n ${SLURM_NTASKS} --hint=nomultithread /bin/hostname

 

The above jobscript can now be submitted using the sbatch command.

sbatch jobscript.slurm

If you get an error in regarding account specifcation, please email helpdesk with your username and error and the jobscript.

© 2025 King Abdullah University of Science and Technology. All rights reserved.