How to use UppASD


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/22.06
ml uppasd/6.0.2-cpeGNU-22.06

The binary is sd

Examples are provided in $EBROOTUPPASD/examples

The code is documented in the UppASD manual and in technical notes in the directory $UPPASD_DOCS.

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

#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                  # Number of nodes
#SBATCH -n 1                  # Number of tasks
#SBATCH -c 16                 # Number of cpus per task

ml PDC/22.06
ml uppasd/6.0.2-cpeGNU-22.06


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 .

User Graphic Interface

A Python based QT GUI for the code is available at $EBROOTUPPASD/ASD_GUI. This allows for:

  • Visualization of outputs via VTK.

  • Plotting of several quantities via integrated Matplotlib functionalities.

  • Automatic generation of input files for UppASD.

Tools for preprocessing and postprocessing

A collection of scripts for preprocessing and postprocessing of UppASD input and output files can be found in $EBROOTUPPASD/ASD_Tools.


PDC takes no responsibility for the correctness of results produced with the binaries. Always evaluate the binaries against known results for the systems and properties you are investigating before using the binaries for production jobs.

How to build UppASD