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#ORDERINGSC = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis 52#ORDERINGSF = -WF,-Dscotch -WF,-Dmetis -WF,-Dpord -WF,-Dptscotch -WF,-Dparmetis 53ORDERINGSC = -Dpord 54ORDERINGSF = -WF,-Dpord 55 56LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH) 57IORDERINGSF = $(ISCOTCH) 58IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH) 59 60#End orderings 61######################################################################## 62######################################################################## 63 64PLAT = 65LIBEXT = .a 66OUTC = -o 67OUTF = -o 68RM = /bin/rm -f 69CC = cc 70FC = xlf90 71FL = xlf90 72AR = ar vr 73RANLIB = ranlib 74 75 76 77INCSEQ = -I$(topdir)/libseq 78LIBSEQ = -L$(topdir)/libseq -lmpiseq 79LIBBLAS = -lessl 80LIBOTHERS = -lpthread 81#Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER) 82CDEFS = 83 84#Begin Optimization options 85OPTF = -WF,-DPESSL -WF,-DSP_ -WF,-DALLOW_NON_INIT -O3 -qstrict -qmaxmem=-1 -Q -qfixed -qalign=4k -qarch=auto -qtune=auto -qcache=auto -q32 -bmaxdata:0x80000000 -B/usr/lib/ -tF 86OPTC = -O3 -qstrict -qarch=auto -qtune=auto -qcache=auto -Q=150 -s -qmaxmem=-1 -qcpluscmt -q32 -bmaxdata:0x80000000 87OPTL = -O3 -qstrict -Q -qfixed -qalign=4k -q32 -bmaxdata:0x80000000 88#End Optimization options 89INCS = $(INCSEQ) 90LIBS = $(LIBSEQ) 91LIBSEQNEEDED = libseqneeded 92