forked from LMNS3d/MFC-Caltech
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile.user
37 lines (28 loc) · 1.17 KB
/
Makefile.user
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
################ Compiler options ####################
# Gets the MFC directory [do not modify]
MFC_DIR:=$(shell dirname $(realpath $(lastword $(MAKEFILE_LIST))))
### Compiler command ###
FC = mpif90
### Compiler flags [set according to your compiler] ###
## Note: Requires -cpp (Intel/GCC/etc) or -eZ (Cray) to
## enable preprocessor
FFLAGS = -cpp -c -w
######### FFTW library and include locations #########
######### Set these to the location of FFTW #########
######### [ only use absolute paths ] #########
## For the FFTW included in the MFC package
## Install via cd installers && ./install_fftw.sh
fftw_lib_dir = $(MFC_DIR)/lib/fftw-3.3.8/lib
fftw_include_dir = $(MFC_DIR)/lib/fftw-3.3.8/include
## Some other example locations
#fftw_lib_dir = /usr/local/lib
#fftw_include_dir = /usr/include
#fftw_include_dir = /usr/local/include
######### Silo library and include locations #########
######### Set these to the location of Silo #########
######### [ only use absolute paths ] #########
silo_lib_dir = /usr/local/lib
silo_include_dir = /usr/local/include
## Some other example locations
#silo_lib_dir = <SILO_DIR>/lib
#silo_include_dir = <SILO_DIR>/include