-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMake.include
More file actions
executable file
·80 lines (59 loc) · 1.82 KB
/
Copy pathMake.include
File metadata and controls
executable file
·80 lines (59 loc) · 1.82 KB
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
64
65
66
67
68
69
70
71
72
73
74
75
76
# Top level PLAPACK directory.
PLAPACK_ROOT = /usr/local/plapack
# Choose Manufacture type from following list.
CRAY = 10
IBM = 20
INTEL = 30
SUN = 40
PC = 50
SGI = 60
HP = 70
MANUFACTURE = $(PC)
# Choose Machine type from above list.
CRAYPVP = 100
CRAYMPP = 101
PARAGON = 200
SP2 = 300
SUNOS = 400
LINUX = 500
NT = 600
MACHINE_TYPE = $(LINUX)
# Choose Manufacture and Machine type from above list.
MANUFACTURE = $(PC)
MACHINE_TYPE = $(LINUX)
# Install a BLAS library or ask your system administrator
# where the BLAS library is installed.
# (for a generic implementation that attains reasonable
# performance see http://www.netlib.org/atlas/. We hope to
# soon have our own BLAS library.
# See http://www.cs.utexas.edu/users/plapack/TXBLAS for
# further information. In addition, check out
# http://www.cs.utk.edu/~ghenry/distrib/ for optimized kernels for
# LINUX on Intel platforms.)
BLASLIB = /usr/local/blas/lsblaspii1.2f_03.00.a
BLASLIB = -lblas
CFLAGS = -O3 -I$(PLAPACK_ROOT)/INCLUDE \
-DMACHINE_TYPE=$(MACHINE_TYPE) -DMANUFACTURE=$(MANUFACTURE) \
-DDEBUG=0
FFLAGS = -fno-f2c -O3 -Q -I$(PLAPACK_ROOT)/INCLUDE
CC = mpicc
FC = mpif77
AR = ar
SED = sed
RANLIB = ranlib
LINKER = mpif77
#LINKER = mpicc
LFLAGS = $(CFLAGS)
# If you intend to use the eigensolver or SVD library,
# install LAPACK or ask your system administrator where to
# find it on your system. For information see
# http://www.netlib.org/lapack/
SEQ_LAPACK = /usr/local/LAPACK/tmglib_LINUX.a \
/usr/local/LAPACK/lapack_LINUX.a
PLAPACKLIB = $(PLAPACK_ROOT)/libPLAPACK.a
lapackLIB = $(SEQ_LAPACK)
lapackLIB = $(PLAPACKLIB)
LIB = $(PLAPACKLIB) -lblas -L/usr/lib -lcr -lm -lc
#-lc
#LIB = $(lapackLIB) $(BLASLIB) -L/public/lib -static -lm -lc
POST_MAKE = chmod ugo+rw *.a