ABINIT is a package whose main program allows one to find the total energy, charge density and electronic structure of systems made of electrons and nuclei (molecules and periodic solids) within Density Functional Theory (DFT), using pseudopotentials and a planewave or wavelet basis.

Software Category: chem

For detailed information, visit the Abinit website.

Available Versions

The current installation of Abinit incorporates the most popular packages. To find the available versions and learn how to load them, run:

module spider abinit

The output of the command shows the available Abinit module versions.

For detailed information about a particular Abinit module, including how to load the module, run the module spider command with the module’s full version label. For example:

module spider abinit/8.2.2
ModuleVersion Module Load Command
abinit8.2.2 module load intel/18.0 intelmpi/18.0 abinit/8.2.2
abinit8.10.3 module load intel/20.0 intelmpi/20.0 abinit/8.10.3

Build Your Own Version

Users may build their own versions of Abinit if they wish to use a different compiler/MPI combination. Instructions are available on the Abinit website. If using the Intel compiler, you need to add the -heap-arrays flag to the Fortran compiler options.

Slurm Script Example

To run Abinit on Rivanna, a script similar to the following can be used. Abinit has many options so only a basic example is shown.

#SBATCH --job-name=abinit
#SBATCH --mem-per-cpu=6000
#SBATCH --ntasks-per-node=20
#SBATCH -t 10:00:00
#SBATCH -p parallel
#SBATCH -A mygroup

module purge
module load intel/16.0 openmpi/2.1.1 abinit/8.2.2

# assumes that the textfile “files” is present in the current directory
# pseudopotentials need to be in directory as defined in “files"

srun abinit <files>& gw-$SLURM_JOBID.log

For this example, the text file `files` has the following content: ``` gw.out gwi gwo gwt ../pseudo/sc-sg15.oncvpsp.psp8 ../pseudo/se-sg15.oncvpsp.psp8 ../pseudo/mo-sg15.oncvpsp.psp8 ../pseudo/w-sg15.oncvpsp.psp8 ```