Skip to content
NAISS Logo Allocations Support Training Software naiss.se

Uppasd

How to use on Arrhenius

The UppASD files can be accessed by loading the appropriate modules. To see which versions of UppASD are available use the command

ml av UppASD
To load the 6.0.2 version of the program
ml UppASD/6.0.2-gcc-2026.03-mpich-eb
The binary is sd Examples are provided in $EBROOTUPPASD/examples The code is documented in the UppASD manual. A tutorial with examples and exercises on atomistic spin-dynamics are contained in the UppASD tutorial.

Running on the batch system

Sample job script to queue an UppASD job with 16 openMP threads on cores on a CPU node

#!/bin/bash
#SBATCH -A <project name>     # Set the allocation to be charged for this job
#SBATCH -J myjob              # The name of the script is myjob
#SBATCH -t 02:00:00           # 2 hours wall-clock time
#SBATCH -p cpu                # The partition
#SBATCH -n 1                  # Number of tasks
#SBATCH -c 16                 # Number of cpus per task

ml UppASD/6.0.2-gcc-2026.03-mpich-eb

export OMP_NUM_THREADS=16

echo "Script initiated at `date` on `hostname`"

sd > out.log

echo "Script finished at `date` on `hostname`"