-
Notifications
You must be signed in to change notification settings - Fork 14
/
Makefile.arch.macports
64 lines (48 loc) · 1.58 KB
/
Makefile.arch.macports
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
# This makefile.arch should work fine for if you used macports to install
# abinit, openmpi, and the gcc/gfortran compilers
# Fortran compiler
FC = gfortran
# Flags for the fortran compiler
OPTIONS = -O2
# FFTW path. Several programs can use FFTW. Find it at fftw.org.
# (There is a fallback fft so FFTW is not required)
#OPTIONS += -D__FFTW3
#FFTWI = -I/opt/local/include/
#FFTWL = -L/opt/local/lib/ -lfftw3
# Install Directory.
INSTDIR =
# OCEAN can use either ABINIT or QE.
# If you only want one then leave the other's varables commented out
#######################
# ABINIT Flags
# This says where abinit and cut3d live
# (cut3d is a post-processing tool available as part of the abinit toolset)
ABINIT_DIR = /opt/local/bin/
ABINIT_EXE = $(ABINIT_DIR)/abinit
CUT3D_EXE = $(ABINIT_DIR)/cut3d
#######################
#######################
# ESPRESSO Flags
#ESPRESSO_DIR = /path/to/espresso
#PW_EXE = $(ESPRESSO_DIR)/bin/pw.x
#PP_EXE = $(ESPRESSO_DIR)/bin/pp.x
#### Select your QE version here
# Some API and directories have changed over QE releases.
# Hence the -D__QE5.1 option for recent QE
# (which must *not* be defined for older versions)
#### QE 5.1
#QEXML = $(ESPRESSO_DIR)/Modules/qexml.o
#QEMOD = $(ESPRESSO_DIR)/Modules/
#OPTIONS += -D__QE51
#### QE 5.0
#QEXML = $(ESPRESSO_DIR)/PP/src/qexml.o
#QEMOD = $(ESPRESSO_DIR)/PP/src
#### QE 4.3
#QEXML = $(ESPRESSO_DIR)/PP/qexml.o
#QEMOD = $(ESPRESSO_DIR)/PP/
#######################
#######################
# OBF Flags
# Only set these if you have the OBF extension.
# OBF_DIR = $(ESPRESSO_DIR)
#######################