1#
2#  This file is part of MUMPS 4.10.0, built on Tue May 10 12:56:32 UTC 2011
3#
4#Begin orderings
5
6# NOTE that PORD is distributed within MUMPS by default. If you would like to
7# use other orderings, you need to obtain the corresponding package and modify
8# the variables below accordingly.
9# For example, to have Metis available within MUMPS:
10#          1/ download Metis and compile it
11#          2/ uncomment (suppress # in first column) lines
12#             starting with LMETISDIR,  LMETIS
13#          3/ add -Dmetis in line ORDERINGSF
14#             ORDERINGSF  = -Dpord -Dmetis
15#          4/ Compile and install MUMPS
16#             make clean; make   (to clean up previous installation)
17#
18#          Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS.
19#
20
21#SCOTCHDIR  = ${HOME}/scotch_5.1_esmumps
22#ISCOTCH    = -I$(SCOTCHDIR)/include
23# You have to choose one among the following two lines depending on
24# the type of analysis you want to perform. If you want to perform only
25# sequential analysis choose the first (remember to add -Dscotch in the ORDERINGSF
26# variable below); for both parallel and sequential analysis choose the second
27# line (remember to add -Dptscotch in the ORDERINGSF variable below)
28
29#LSCOTCH    = -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcherr
30#LSCOTCH    = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr
31
32
33LPORDDIR = $(topdir)/PORD/lib/
34IPORD    = -I$(topdir)/PORD/include/
35LPORD    = -L$(LPORDDIR) -lpord
36
37#LMETISDIR = /local/metis/
38#IMETIS    = # Should be provided if you use parmetis
39
40# You have to choose one among the following two lines depending on
41# the type of analysis you want to perform. If you want to perform only
42# sequential analysis choose the first (remember to add -Dmetis in the ORDERINGSF
43# variable below); for both parallel and sequential analysis choose the second
44# line (remember to add -Dparmetis in the ORDERINGSF variable below)
45
46#LMETIS    = -L$(LMETISDIR) -lmetis
47#LMETIS    = -L$(LMETISDIR) -lparmetis -lmetis
48
49# The following variables will be used in the compilation process.
50# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
51#ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis
52ORDERINGSF  = -Dpord
53ORDERINGSC  = $(ORDERINGSF)
54
55LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
56IORDERINGSF = $(ISCOTCH)
57IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)
58
59#End orderings
60########################################################################
61################################################################################
62
63PLAT    =
64LIBEXT  = .a
65OUTC    = -o
66OUTF    = -o
67RM      = /bin/rm -f
68CC      = cc
69FC      = fort
70FL      = fort
71AR      = ar vr
72RANLIB  = echo
73INCSEQ  = -I$(topdir)/libseq
74LIBSEQ  =  -L$(topdir)/libseq -lmpiseq
75LIBBLAS = /home/gil/lib/blas.a
76LIBOTHERS = -lpthread
77#Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER)
78CDEFS   = -DAdd__
79#Begin Optimized options
80OPTF    = -I. -O -DALPHA_ -nopipeline
81OPTL    = -O
82OPTC    = -O -DMAIN_COMP
83#End Optimized options
84INCS = $(INCSEQ)
85LIBS = $(LIBSEQ)
86LIBSEQNEEDED = libseqneeded
87