forked from wannier-developers/wannier90
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake.inc
43 lines (30 loc) · 1.34 KB
/
make.inc
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
31
32
33
34
35
36
37
38
#===================
# gfortran
#===================
F90 = gfortran
#Add next two lines for parallel postw90. Choose the correct name of the mpi f90 wrapper
#COMMS = mpi
#MPIF90 = mpgfortran #mpif90
FCOPTS = -O3 -g -fPIC
LDOPTS = -shared
#Next two lines are good for debugging
#FCOPTS = -fstrict-aliasing -fno-omit-frame-pointer -fno-realloc-lhs -fcheck=bounds,do,recursion,pointer -ffree-form -Wall -Waliasing -Wsurprising -Wline-truncation -Wno-tabs -Wno-uninitialized -Wno-unused-dummy-argument -Wno-unused -Wno-character-truncation -O1 -g -fbacktrace
#LDOPTS = -fstrict-aliasing -fno-omit-frame-pointer -fno-realloc-lhs -fcheck=bounds,do,recursion,pointer -ffree-form -Wall -Waliasing -Wsurprising -Wline-truncation -Wno-tabs -Wno-uninitialized -Wno-unused-dummy-argument -Wno-unused -Wno-character-truncation -O1 -g -fbacktrace
#=======================
# ATLAS Blas and LAPACK
#=======================
#LIBDIR = /usr/local/lib
#LIBS = -L$(LIBDIR) -llapack -lf77blas -lcblas -latlas
#=======================
# NETLIB LAPACK and BLAS
#=======================
#LIBDIR = /rscratch/jry20/LIB/gfortran
#LIBS = -L$(LIBDIR) -llapack -lblas
#=======================
# System LAPACK and BLAS
# e.g. use
# sudo apt-get install libblas-dev liblapack-dev
# on Ubuntu
#=======================
LIBDIR = /usr/local/apps/lapack-3.7/lib64
LIBS = -llapack -lblas