Skip to content

The Basics #6

@icaoberg

Description

@icaoberg

🧩 Feature Request: Add Chapter — The Basics

Description
Add a new chapter titled The Basics to the Lane cluster documentation.
This chapter will introduce new users to the fundamental tools required to interact with the HPC environment — focusing on SLURM job scheduling and LMOD module management.
It will serve as the entry point for users learning how to submit jobs, load software, and manage their computational environments on the Lane cluster.


🧭 Suggested Content

Section 1 — Using SLURM

  • Introduction

    • What SLURM is and how it manages computational resources.
    • Overview of partitions, nodes, and job scheduling.
  • Basic Commands

    • Viewing the queue:
      squeue -u $USER
    • Checking cluster partitions:
      sinfo
    • Submitting jobs:
      sbatch job.slurm
    • Running interactive jobs:
      srun --pty bash
    • Cancelling jobs:
      scancel <jobid>
    • Monitoring usage:
      sstat -j <jobid>
      sacct -u $USER
  • Example Job Script

    #!/bin/bash
    #SBATCH -p standard
    #SBATCH -t 02:00:00
    #SBATCH -n 4
    #SBATCH -J test_job
    #SBATCH -o test_job.out
    
    module load python
    python myscript.py

Metadata

Metadata

Labels

documentationImprovements or additions to documentation

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions