Uppsala Multidisciplinary Center for Advanced Computational Science

Garli user guide

A short guide on how to use garli on UPPMAX systems.

Garli version 0.96b8 is installed on UPPMAX, both the serial and the parallel (using MPI).

Serial version

In order to use garli you should first load the garli module

module load garli

Then you can run the serial version of garli with the input specified in the file garli.conf

Garli0.96b8

Here is an example of a job file for the serial version of garli for SLURM:

#!/bin/bash -l
#SBATCH -J garli-test
#SBATCH -A your_project_name
#SBATCH -p core -n 1
#SBATCH -t 01:00:00
 
module load garli
 
Garli0.96b8

Parallel version

If you want to run the MPI compiled version of garli you should load the following modules:

module load garli intel openmpi

Then you can run garli by:

mpirun -np <number of cores> Garli0.96b8.mpi <number of times the config file should be run>

Here is an example of a job file for the parallel version of garli for SLURM:

#!/bin/bash -l
#SBATCH -J garli-test
#SBATCH -A your_project_name
#SBATCH -p node -n 16
#SBATCH -t 01:00:00
 
module load garli intel openmpi
 
mpirun -np 16 Garli0.96b8.mpi 16

This example will run garli sixteen times, once on each of sixteen cores on one node on milou, with the input from the garli.config file.

More information about using Garli may be found on the Garli support wiki.