Install XC library and include it in CI build

This commit is contained in:
Tuomas Koskela 2023-05-25 09:56:40 +01:00
parent 2f607f604e
commit e9fae5e6c8
2 changed files with 4 additions and 5 deletions

View File

@ -29,7 +29,7 @@ jobs:
- name: Install Dependencies
run: |
sudo apt update
sudo apt install openmpi-bin libopenmpi-dev libfftw3-dev libblas3 liblapack3 libscalapack-openmpi-dev
sudo apt install openmpi-bin libopenmpi-dev libfftw3-dev libblas3 liblapack3 libscalapack-openmpi-dev libxc-dev
- name: Check compiler version
run: ${{matrix.fc}} --version

View File

@ -4,10 +4,9 @@ ARFLAGS=
# Set BLAS and LAPACK libraries
BLAS= -llapack -lblas
# LibXC compatibility (LibXC below) or Conquest XC library
# Conquest XC library
XC_LIBRARY = CQ
XC_LIB =
XC_COMPFLAGS =
XC_LIBRARY = LibXC_v5
XC_LIB = -lxcf90 -lxc
XC_COMPFLAGS = -I/usr/include
# Set FFT library
FFT_LIB=-lfftw3
FFT_OBJ=fft_fftw3.o