summarylogtreecommitdiffstats
path: root/basic.psmp
blob: ccca95a4b4f6368dd561ccebc5c513876e4f6acb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
CC          = gcc
CXX         = g++
CPP         = 
FC          = mpifort
LD          = mpifort
#
AR          = ar -r
#
DFLAGS      = -D__FFTW3                                                             \
              -D__LIBINT -D__LIBINT_MAX_AM=6 -D__LIBDERIV_MAX_AM1=5 -D__MAX_CONTR=4 \
              -D__parallel -D__SCALAPACK                                            \
              -D__LIBXC
#
INCS        = -I/usr/include
#
OPTFLAGS    = -O3 -march=native -fopenmp
#
CFLAGS      = $(DFLAGS) $(INCS) $(OPTFLAGS)
CXXFLAGS    = $(DFLAGS) $(INCS) $(OPTFLAGS) -std=c++11
CPPFLAGS    = 
FCFLAGS     = $(DFLAGS) $(INCS) $(OPTFLAGS) -ffree-form -ffree-line-length-none
#
LDFLAGS     = $(FCFLAGS)
#
LIBS        = -lscalapack -lblas -llapack                                           \
              -lfftw3 -lfftw3_threads                                               \
              /usr/lib/libderiv.a                                                   \
              /usr/lib/libint.a                                                     \
              -lxcf03 -lxc                                                          \
              -lstdc++ -lpthread -lm -ldl -lz