Elk¶
Installed versions¶
| Resource | Version |
|---|---|
| Dardel/cpe24.11 | 10.4.9 |
| Dardel/cpe23.12 | 10.0.15, 9.5.14 |
General information¶
Elk is an all-electron full-potential linearised augmented-planewave (FP-LAPW) code https://elk.sourceforge.net. Designed to be as developer friendly as possible so that new developments in the field of density functional theory (DFT) can be added quickly and reliably.
How to use¶
The Elk installation contained in this module was built with support for the programs and libraries Libxc and Wannier90. To display info on which environment variables are set when loading the module, use
To load the 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
#!/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 main
# 10 hours wall-clock time will be given to this job
#SBATCH -t 10:00:00
# Number of nodes
#SBATCH --nodes=1
#SBATCH --ntasks-per-node=16
#SBATCH --cpus-per-task=8
ml PDC/24.11
ml elk/10.4.9-cpeGNU-24.11
export SRUN_CPUS_PER_TASK=$SLURM_CPUS_PER_TASK
export OMP_NUM_THREADS=8
export OMP_STACKSIZE=256M
ulimit -Ss unlimited
echo "Script initiated at `date` on `hostname`"
srun --hint=nomultithread -n 16 elk > out.log
echo "Script finished at `date` on `hostname`"
For information on how to submit jobs on Dardel, see Queueing jobs.
How to build Elk¶
The program was installed using EasyBuild. A build in your local file space can be done with
See also Installing software using EasyBuild.
Species files, example input files, and Elk make.inc file.¶
Elk species files and example input files can be found in the directories
For the case that you would like to build a custom version of Elk, you can find the Elkmake.inc file which was generated
when building with EasyBuild at