Skip to content
Snippets Groups Projects
Commit 0e1eb8d7 authored by jourdain's avatar jourdain
Browse files

Merge branch 'develop' of https://dci-gitlab.cines.fr/dci/abs into develop

parents 267d2eb7 71b9013f
No related branches found
No related tags found
No related merge requests found
Description:
============
Presentation
------------
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 (or PAW atomic data) and a planewave basis. ABINIT also optimize the geometry according to the DFT forces and stresses, or perform molecular dynamics simulations using these forces, or generate phonons, Born effective charges, and dielectric tensors, based on Density-Functional Perturbation Theory, and many more properties. Excited states and spectra can be computed within the Many-Body Perturbation Theory (the GW approximation and the Bethe-Salpeter equation). DFT+U and Dynamical mean-field theory are available for strongly correlated materials
Technical information:
----------------------
* website : http://abinit.org
* Scientific domain : Density Functional Theory
* Language : C/Fortran
* Parallelism : MPI + OpenMP
* GPU acceleration : Yes (CUDA)
* Scalability : average
* Vectorization: poor
Compilation and simulation:
===========================
Download:
---------
```
./download.sh
```
Compile:
--------
```
source machines/occigen-bdw/env
./compile.sh
```
`machines/occigen-bdw/env` contains the shell environment variables for compiling
Run and validate the simulation:
--------------------------------
For each test case, given in a separate folder (e.g. testcase_small), you can find three scripts:
* prepare.sh: prepare the simulation (move data to the right location, recompile some minor changes, ...)
* run.sh : run the application and print out the evaluated metric
* validate.sh: validation of the simulation on a scientific point of view
For running and validating the simulation, one should be able to do:
```
cd testcase_XXX
./prepare.sh
./run.sh
./validate.sh
```
And getting no error code returned.
Those steps can also be used in a batch file for running the simulation using a job scheduler.
export ABINIT_ROOT="$SCRATCHDIR/Abinit"
export ETSFIO_ROOT="$SCRATCHDIR/Etsfio"
export XC_ROOT="$SCRATCHDIR/LibXC"
./configure --prefix=$ABINIT_ROOT CC=mpicc CXX=mpiCC FC=mpif90 F77=mpif77 --enable-mpi=yes --enable-openmp=yes --with-linalg-flavor=mkl+scalapack --with-linalg-libs="-lscalapack -L$MKL_LIBS -lmkl_intel_lp64 -lmkl_intel_thread -lmkl_core" --with-math-flavor=gsl --with-dft-flavor=libxc --with-libxc-incs=-I$XC_ROOT/include --with-libxc-libs="-lxcf90 -lxc" --with-fft-flavor=fftw3-mkl --with-trio-flavor=netcdf --with-etsf-io-incs=-I$ETSFIO_ROOT/include --with-etsf-io-libs="-letsf_io_low_level -letsf_io_utils -letsf_io" --with-netcdf-incs=-I. --with-netcdf-libs="-lnetcdff -lnetcdf"
make -j 20
make -j 20 install
#!/bin/sh
wget https://www.abinit.org/sites/default/files/packages/abinit-8.10.3.tar.gz
tar xf abinit-8.10.3.tar.gz
cd abinit-8.10.3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment