CRYSTAL

From HPC users
Jump to navigationJump to search

Introduction

The CRYSTAL package performs ab initio calculations of the ground state energy, energy gradient, electronic wave function and properties of periodic systems. Hartree-Fock or Kohn- Sham Hamiltonians (that adopt an Exchange-Correlation potential following the postulates of Density-Functional Theory) can be used. Systems periodic in 0 (molecules, 0D), 1 (polymers, 1D), 2 (slabs, 2D), and 3 dimensions (crystals, 3D) are treated on an equal footing.

License

CRYSTAL is licensed software. To use CRYSTAL you need to be in a corresponding group. Contact {sc} if you would like to use the software (in case you are entitled to).

Installed versions

To find installed versions use

module spider crystal

To load the default version

module load hpc-env/6.4
module load crystal

Using CRYSTAL on the HPC cluster

The following job script serves as example (it requires an imput files test.d12):

#!/bin/bash

#SBATCH -p carl.p
#SBATCH -n 24
#SBATCH -t 00:10:00
#SBACTH --mem-per-cpu 5000M

module load hpc-env/6.4
module load crystal17/1.0.2-iompi-2018a

# set scratch dir
CRY17_SCRDIR=$TMPDIR

# create files with used nodes
export CRY17P_MACH=$(pwd) 
rm -f machines.LINUX nodes.par
srun hostname > machines.LINUX
sort -u machines.LINUX > nodes.par

# run crystal
runmpi17 24 test > test.log

rm -f machines.LINUX nodes.par

Documentation

You can find manuals for PLUMED here.