-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake.inc
28 lines (22 loc) · 1.09 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
#=====================================================
# Preprocessing flags
#=====================================================
# Parallel execution:
# __MPI MPI parallelization
# __MPI_MODULE Compile with "USE mpi" instead of "include 'mpif/h'"
DFLAGS = -fpp -D__MPI
#=====================================================
# For Linux with intel version 11/12 on 64bit machines
#=====================================================
F90 = ifort
MPIF90 = mpifort
#FCOPTS = $(DFLAGS) -O2 -g -traceback -assume buffered_io
#LDOPTS = $(DFLAGS) -O2 -g -traceback -assume buffered_io
# For debugging
FCOPTS = $(DFLAGS) -O2 -g -traceback -assume buffered_io -warn all -check all
LDOPTS = $(DFLAGS) -O2 -g -traceback -assume buffered_io -warn all -check all
#========================================================
# Intel mkl libraries. Set LIBPATH if not in default path
#========================================================
LIBDIR = /appl/compiler/intel2013_sp1/composer_xe_2013_sp1.2.144/mkl/lib/
LIBS = -L$(LIBDIR) -lmkl_core -lmkl_intel_lp64 -lmkl_sequential -lpthread