Elk¶
How to use on Arrhenius¶
The Elk installation contained in this module was built with support for the programs and libraries Libxc and Wannier90.
To load an Elk module
The species files are found inEBROOTELK/species.
Examples are provided in $EBROOTELK/examples
Running on the Batch system¶
Sample job script to queue an Elk job with 16 MPI ranks, and 8 openMP threads, on the Arrhenius CPU partition.
#!/bin/bash
# Set the allocation to be charged for this job
# not required if you have set a default allocation
#SBATCH -A <project name>
# The name of the script is myjob
#SBATCH -J myjob
# partition
#SBATCH -p cpu
# 10 hours wall-clock time will be given to this job
#SBATCH -t 10:00:00
# Number of nodes
#SBATCH --ntasks=16
#SBATCH --cpus-per-task=8
ml Elk/11.0.2-gcc-2026.03-mpich-eb
export SRUN_CPUS_PER_TASK=$SLURM_CPUS_PER_TASK
export OMP_NUM_THREADS=$SLURM_CPUS_PER_TASK
export OMP_STACKsize=256M
ulimit -Ss unlimited
echo "Script initiated at `date` on `hostname`"
mpprun -n 16 elk > out.log
echo "Script finished at `date` on `hostname`"
Source repository