Commit 615fb8a9 authored by Daniel Wortmann's avatar Daniel Wortmann

Added external/libxc

parent 3e8eabc7
libxc_version=4.2.1
#Get the file with the code
curl -LO "http://www.tddft.org/programs/octopus/download/libxc/${libxc_version}/libxc-${libxc_version}.tar.gz"
tar xzf libxc-${libxc_version}.tar.gz
cd libxc-${libxc_version}
#Compile&test (This will take a while)
./configure --prefix=$PWD/INSTALL_DIR
make
make install
#Store the installation location
FLEUR_LIBDIR="$PWD/INSTALL_DIR/lib $FLEUR_LIBDIR"
FLEUR_INCLUDEDIR="$PWD/INSTALL_DIR/include"
if [ $FLEUR_LIBRARIES ]
then
FLEUR_LIBRARIES="$FLEUR_LIBRARIES;-lxcf03;-lxc"
else
FLEUR_LIBRARIES="-lxcf03;-lxc"
fi
Markdown is supported
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