Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Serial and small parallel jobs, called fractional, run on the gpil partition and use the same QoS, typically nf for regular users in the Atos HPCF service. For ECS users, they will run on the ecs partition on queue ef.

These are the default queue and partition. They will be used if no directives are specified.

Tip

See man sbatch or https://slurm.schedmd.com/sbatch.html for the complete set of options that may be used to configure a job.


Note
titleECS users

All examples here are using the nf queue, which is available to users of the HPCF service. If using ECS, you should submit the job to the ef queue instead

Submitting a serial job

A serial job will not use more than one cpu, so it is intended for non-threaded non-MPI applications. This is the default type of job if no settings are specified in the job.

...

Code Block
languagebash
titleSerial job example
linenumberstrue
collapsetrue
#!/bin/bash
#SBATCH --job-name=test-serial
#SBATCH --qos=nf
#SBATCH --time=10:00
#SBATCH --mem-per-cpu=100
#SBATCH --output=test-serial.%N.%j.out
#SBATCH --error=test-serial.%N.%j.out
#SBATCH --chdir=/scratch...

hostname

...

Code Block
languagebash
titleThreaded job example
linenumberstrue
collapsetrue
#!/bin/bash
#SBATCH --job-name=test-threaded
#SBATCH --qos=nf
#SBATCH --time=10:00
#SBATCH --cpus-per-task=4
#SBATCH --mem-per-cpu=100
#SBATCH --output=test-threaded.%N.%j.out
#SBATCH --error=test-threaded.%N.%j.out
#SBATCH --chdir=/scratch...
my_threaded_app

...

Code Block
languagebash
titleMPI job example
linenumberstrue
collapsetrue
#!/bin/bash
#SBATCH --job-name=test-mpi
#SBATCH --qos=nf
#SBATCH --ntasks=16
#SBATCH --time=10:00
#SBATCH --mem-per-cpu=100
#SBATCH --output=test-mpi.%N.%j.out
#SBATCH --error=test-mpi.%N.%j.out
#SBATCH --chdir=/scratch...

srun my_mpi_app

...

Code Block
languagebash
titleMPI job example
linenumberstrue
collapsetrue
#!/bin/bash
#SBATCH --job-name=test-hybrid
#SBATCH --qos=nf
#SBATCH --ntasks=4
#SBATCH --cpus-per-task=4
#SBATCH --time=10:00
#SBATCH --mem-per-cpu=100
#SBATCH --output=test-hybrid.%N.%j.out
#SBATCH --error=test-hybrid.%N.%j.out
#SBATCH --chdir=/scratch...

srun my_mpi_opemp_app

...