First we need to add the path to the ~/.bashrc file
#---------Abinit path----------------------------------
export ABINITROOT=/home/algerien/abinitio/abinit-7.10.5/bin
export PATH=$PATH:$ABINITROOT
#---------------------------------------------------------
$ source ~/.bashrc
NB: It's better to create a bin directory and copy all the executables and tools inside it
Prerequisites
For Ubuntu
# 1 # compiler
sudo apt install gfortran
# 2 # MPI libraries - choice for Open MPI
sudo apt install libopenmpi-dev
# 3 # math libraries - choice for lapack and blas
sudo apt install liblapack-dev libblas-dev
# 4 # mandatory libraries
sudo apt install libhdf5-dev libnetcdf-dev libnetcdff-dev libpnetcdf-dev libxc-dev
For Opensuse
.
.
.
https://abinit-algerien1970.blogspot.com/2022/02/how-to-download-and-install-abinit-code_18.html
.
0 Comments