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

Uppasd

How to use on Dardel

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

ml avail uppasd
ml spider uppasd
To load the 6.0.2 version of the program
ml PDC/<version>
ml uppasd/6.0.2-cpeGNU-26.03
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 the shared partition of Dardel

#!/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 shared             # The partition
#SBATCH -N 1                  # Confine all the cores to be on the same node
#SBATCH -c 16                 # Number of cpus per task

ml PDC/<version>
ml uppasd/6.0.2-cpeGNU-26.03

export OMP_NUM_THREADS=16

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

sd > out.log

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

For information on how to submit jobs on Dardel, see Queueing jobs.

How to build UppASD on Dardel

The program was installed using EasyBuild. A build in your local file space can be done with

ml PDC/26.03
ml easybuild-user/5.3.0
eb uppasd-6.0.2-cpeGNU-26.03.eb --robot

See also Installing software using EasyBuild.