Skip to main content

AMS on Jean Zay

Available versions

The list of available versions can be accessed using the following commands:

module purge
module avail ams

Usage tips

Parallelisation

AMS uses an intermediate script to launch programme execution. It already includes the srun command. Therefore, you must not use it in your scripts.

Submission script examples

⚠️ The submission scripts are examples that must be modified according to the resources required for the computation.

Please also read the documentation pages on resource reservation.

#!/usr/bin/env bash
#SBATCH --nodes=1 # Number of nodes
#SBATCH --ntasks-per-node=40 # Number of tasks per node
#SBATCH --cpus-per-task=1 # Number of OpenMP threads per task
#SBATCH --hint=nomultithread # Disable hyperthreading
#SBATCH --job-name=AMS # Jobname
#SBATCH --output=%x.o%j # Output file
#SBATCH --error=%x.o%j # Error file
#SBATCH --time=01:00:00 # Expected runtime HH:MM:SS (max 100h)
##
## Please, refer to comments below for
## more information about these 4 last options.
##SBATCH --account=<account>@cpu # To specify cpu accounting: <account> = echo $IDRPROJ
##SBATCH --partition=<partition> # To specify partition (see IDRIS web site for more info)
##SBATCH --qos=qos_cpu-dev # Uncomment for job requiring less than 2 hours
##SBATCH --qos=qos_cpu-t4 # Uncomment for job requiring more than 20h (only one node

module purge
module load ams

# By default AMS writes temporary files in /tmp which is very small
# The following lines allow to change that directory
export TMPDIR=$JOBSCRATCH
export SCM_TMPDIR=$JOBSCRATCH

$(which ams) < ams_input.inp