forked from primme/primme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Link_flags
62 lines (59 loc) · 2.36 KB
/
Link_flags
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
#---------------------------------------------------------------
# LINKING FLAGS FOR THE TEST PROGRAMS
# in ZTEST and DTEST test directories
# Linking primme, BLAS/LAPACK for various architectures.
# Makefiles in TEST must also include Make_flags
#---------------------------------------------------------------
#---------------------------------------------------------------
# Loaders
#---------------------------------------------------------------
CLDR ?= $(CC)
FLDR ?= $(F77)
#---------------------------------------------------------------
# Basic Link flags for LAPACK/BLAS and math
#---------------------------------------------------------------
# Debian, Ubuntu, SuSE Linux (>= 13.2)
#
LDFLAGS ?=
LIBS ?= -lprimme -lm -llapack -lblas -lgfortran
#---------------------------------------------------------------
# SuSE Linux (<= 13.1), Centos
#
# LDFLAGS =
# LIBS = -lprimme -lm -llapack -lblas -lgfortran -lg2c
#---------------------------------------------------------------
# IBM architectures
#
# LDFLAGS =
# LIBS = -lprimme -lm /sp/vwe/lib/liblapack342_ppc7_xl_15.1.2-32.a /sp/vwe/lib/libblas342_ppc7_xl_15.1.2-32.a -L/opt/ibm/xlf/15.1.0/lib -lxlf90 -lxl -lxlfmath
#---------------------------------------------------------------
# Mac OS X
#
# LDFLAGS = -Wl,-framework -Wl,vecLib -m64 # Mac OS X 10.0
# LDFLAGS = -Wl,-framework -Wl,Accelerate -m64 # Mac OS X 10.3
# LIBS = -lprimme -lm
#---------------------------------------------------------------
# Using Intel compilers
#
# LIBS = -lprimme -mkl
#---------------------------------------------------------------
# Sun Solaris, SunOS 5.9 using sunperf math library
#
# LDFLAGS =
# LIBS = -lprimme -lm -lrt -xlic_lib=sunperf
#---------------------------------------------------------------
# Cray
#
# LDFLAGS = -framework Accelerate
# LIBS = -lprimme -lm -llapack -lblas
#---------------------------------------------------------------
# Using ACML for lapack/blas
#
# LDFLAGS =
# LIBS = -lprimme -lm -L/usr/local/acml-3.5.0/gnu64/lib/ -lacml -lacml_mv
# LIBS = -lprimme -lm -L/usr/local/acml-3.5.0/gnu64/lib/ -lacml -lacml_mv -lg2c
#---------------------------------------------------------------
#---------------------------------------------------------------
# Link any other sequential or parallel libraries
# in the test makefiles
#---------------------------------------------------------------