forked from HPAC/mr3smp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
make.inc
27 lines (22 loc) · 845 Bytes
/
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
# Compiler for C and Fortran
# Fortran compiler is not used if INCLAPACK is set to zero
CC = gcc
FC = gfortran
# Compiler flags
CFLAGS = -O3 -g -pthread
FFLAGS = -O3 -g -funderscoring -fopenmp
# Archiver and flags used when building the archive
AR = /usr/bin/ar
ARFLAGS = rcs
# Indicate if C99 feature of complex number are supported,
# which is ONLY NECESSARY FOR THE HERMITIAN WRAPPER ROUTINE.
# If true and routine needed, set to 1. To be safe it is set
# to 0 by default
COMPLEX_SUPPORT = 0
# To build 'libmrrr.a' without adding necessary LAPACK routines
# for the to the archive set value to 0; in this case the code has to be
# linked to LAPACK and BLAS; default value is 1
INCLAPACK = 1
# On some systems 'spinlocks' are not supported, therefore
# here the flag to use 'mutexes' instead; default value is 1
SPINLOCK_SUPPORT = 1