-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathMUMPS_Makefile.inc.seq
50 lines (39 loc) · 998 Bytes
/
MUMPS_Makefile.inc.seq
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
SCOTCHDIR = %scotch_dir%
ISCOTCH = -I$(SCOTCHDIR)/include
LSCOTCH = -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcherr
LPORDDIR = $(topdir)/PORD/lib/
IPORD = -I$(topdir)/PORD/include/
LPORD = -L$(LPORDDIR) -lpord
LMETISDIR = %metis_dir%/lib
IMETIS = -I%metis_dir%/include
LMETIS = -L$(LMETISDIR) -lmetis
ORDERINGSF = -Dscotch -Dmetis -Dpord
ORDERINGSC = $(ORDERINGSF)
LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
IORDERINGSF = $(ISCOTCH)
IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)
PLAT =
LIBEXT = .a
OUTC = -o
OUTF = -o
RM = /bin/rm -f
CC = %mpicc%
FC = %mpif90%
FL = %mpif90%
AR = ar vr
#RANLIB = ranlib
RANLIB = echo
LAPACK = %lapack_libs%
SCALAP = %scalapack_libs%
LIBPAR = $(SCALAP) $(LAPACK)
INCSEQ = -I$(topdir)/libseq
LIBSEQ = $(LAPACK) -L$(topdir)/libseq -lmpiseq
LIBBLAS = %blas_libs%
LIBOTHERS = -lpthread
CDEFS = -DAdd_
OPTF = %fcflags%
OPTL = %ldflags%
OPTC = %cflags%
INCS = $(INCSEQ)
LIBS = $(LIBSEQ)
LIBSEQNEEDED = libseqneeded