1# 2# This file is part of MUMPS 5.1.2, released 3# on Mon Oct 2 07:37:01 UTC 2017 4# 5#Begin orderings 6 7# NOTE that PORD is distributed within MUMPS by default. It is recommended to 8# install other orderings. For that, you need to obtain the corresponding package 9# and modify the variables below accordingly. 10# For example, to have Metis available within MUMPS: 11# 1/ download Metis and compile it 12# 2/ uncomment (suppress # in first column) lines 13# starting with LMETISDIR, LMETIS 14# 3/ add -Dmetis in line ORDERINGSF 15# ORDERINGSF = -Dpord -Dmetis 16# 4/ Compile and install MUMPS 17# make clean; make (to clean up previous installation) 18# 19# Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 6.0 and later) orderings are recommended. 20# 21 22#SCOTCHDIR = ${HOME}/scotch_6.0 23#ISCOTCH = -I$(SCOTCHDIR)/include 24# 25# You have to choose one among the following two lines depending on 26# the type of analysis you want to perform. If you want to perform only 27# sequential analysis choose the first (remember to add -Dscotch in the ORDERINGSF 28# variable below); for both parallel and sequential analysis choose the second 29# line (remember to add -Dptscotch in the ORDERINGSF variable below) 30 31#LSCOTCH = -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcherr 32#LSCOTCH = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr 33 34 35LPORDDIR = $(topdir)/PORD/lib/ 36IPORD = -I$(topdir)/PORD/include/ 37LPORD = -L$(LPORDDIR) -lpord 38 39#LMETISDIR = /opt/metis-5.1.0/build/Linux-x86_64/libmetis 40#IMETIS = /opt/metis-5.1.0/include 41 42# You have to choose one among the following two lines depending on 43# the type of analysis you want to perform. If you want to perform only 44# sequential analysis choose the first (remember to add -Dmetis in the ORDERINGSF 45# variable below); for both parallel and sequential analysis choose the second 46# line (remember to add -Dparmetis in the ORDERINGSF variable below) 47 48#LMETIS = -L$(LMETISDIR) -lmetis 49#LMETIS = -L$(LMETISDIR) -lparmetis -lmetis 50 51# The following variables will be used in the compilation process. 52# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively. 53# If you want to use Metis 4.X or an older version, you should use -Dmetis4 instead of -Dmetis 54# or in addition with -Dparmetis (if you are using parmetis 3.X or older). 55#ORDERINGSF = -WF,-Dscotch -WF,-Dmetis -WF,-Dpord -WF,-Dptscotch -WF,-Dparmetis 56#ORDERINGSC = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis 57ORDERINGSC = -Dpord 58ORDERINGSF = -WF,-Dpord 59 60LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH) 61IORDERINGSF = $(ISCOTCH) 62IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH) 63 64#End orderings 65######################################################################## 66######################################################################## 67 68PLAT = 69LIBEXT = .a 70OUTC = -o 71OUTF = -o 72RM = /bin/rm -f 73CC = mpcc_r 74FC = mpxlf90_r 75FL = mpxlf90_r 76AR = ar -X64 vr 77RANLIB = ranlib 78 79LAPACK = /usr/local/pub/LAPACK/lapack.a 80#LAPACK = /usr/common/usg/LAPACK/3.0a/lapack_SP.a 81#LAPACK = /usr/local/lib/liblapack_cci.a 82 83SCALAP = -lpesslsmp -lblacssmp 84 85INCPAR = # -I/usr/lpp/ppe.poe/include 86LIBPAR = $(SCALAP) $(LAPACK) # -L/usr/lpp/ppe.poe/lib -lmpi 87INCSEQ = -I$(topdir)/libseq 88LIBSEQ = $(LAPACK) -L$(topdir)/libseq -lmpiseq 89LIBBLAS = -lessl 90LIBOTHERS = -lpthread 91#Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER) 92CDEFS = 93 94#Begin Optimization options 95OPTF = -WF,-DPESSL -WF,-DSP_ -O3 -qstrict -qmaxmem=-1 -Q -qfixed -qalign=4k -qarch=auto -qtune=auto -qcache=auto -q64 -B/usr/lib/ -tF 96OPTC = -O3 -qstrict -qarch=auto -qtune=auto -qcache=auto -Q=150 -s -qmaxmem=-1 -qcpluscmt -q64 97OPTL = -O3 -qstrict -Q -qfixed -qalign=4k -q64 98#End Optimization options 99 100 101INCS = $(INCPAR) 102LIBS = $(LIBPAR) 103LIBSEQNEEDED = 104