Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # SE:
- # this was in Make.inc/Makefile.gfortran.PAR
- #
- # This file is part of MUMPS 4.9.2, built on Thu Nov 5 07:05:08 UTC 2009
- #
- #Begin orderings
- # NOTE that PORD is distributed within MUMPS by default. If you would like to
- # use other orderings, you need to obtain the corresponding package and modify
- # the variables below accordingly.
- # For example, to have Metis available within MUMPS:
- # 1/ download Metis and compile it
- # 2/ uncomment (suppress # in first column) lines
- # starting with LMETISDIR, LMETIS
- # 3/ add -Dmetis in line ORDERINGSF
- # ORDERINGSF = -Dpord -Dmetis
- # 4/ Compile and install MUMPS
- # make clean; make (to clean up previous installation)
- #
- # Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS.
- #
- #SCOTCHDIR = ${HOME}/scotch_5.1_esmumps
- #SCOTCHDIR = /home/eiser/src/scotch_5.1.12_esmumps
- # SE:
- SCOTCHDIR = /usr
- ISCOTCH = -I$(SCOTCHDIR)/include/scotch
- # You have to choose one among the following two lines depending on
- # the type of analysis you want to perform. If you want to perform only
- # sequential analysis choose the first (remember to add -Dscotch in the ORDERINGSF
- # variable below); for both parallel and sequential analysis choose the second
- # line (remember to add -Dptscotch in the ORDERINGSF variable below)
- #LSCOTCH = -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcherr
- LSCOTCH = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr
- LPORDDIR = $(topdir)/PORD/lib/
- IPORD = -I$(topdir)/PORD/include/
- LPORD = -L$(LPORDDIR) -lpord
- #LMETISDIR = /local/metis/
- # SE (parmetis is supplied by aur mpi vers):
- LMETISDIR = /usr/lib
- IMETIS = -I/usr/include
- #IMETIS = # Metis doesn't need include files (Fortran interface avail.)
- # You have to choose one among the following two lines depending on
- # the type of analysis you want to perform. If you want to perform only
- # sequential analysis choose the first (remember to add -Dmetis in the ORDERINGSF
- # variable below); for both parallel and sequential analysis choose the second
- # line (remember to add -Dparmetis in the ORDERINGSF variable below)
- #LMETIS = -L$(LMETISDIR) -lmetis
- LMETIS = -L$(LMETISDIR) -lparmetis -lmetis
- # The following variables will be used in the compilation process.
- # Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively.
- #ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis
- # SE
- ORDERINGSF = -Dptscotch -Dparmetis -Dpord
- # ORDERINGSF = -Dptscotch -Dpord
- #ORDERINGSF = -Dpord
- ORDERINGSC = $(ORDERINGSF)
- LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
- IORDERINGSF = $(ISCOTCH)
- IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH)
- #End orderings
- ########################################################################
- ################################################################################
- PLAT =
- RM = /bin/rm -f
- #SE:
- CC = mpicc
- FC = mpif90
- FL = mpif90
- AR = ar vr
- #RANLIB = ranlib
- RANLIB = echo
- #SCALAP = /local/SCALAPACK/libscalapack.a /local/BLACS/LIB/blacs_MPI-LINUX-0.a /local/BLACS/LIB/blacsF77init_MPI-LINUX-0.a /local/BLACS/LIB/blacs_MPI-LINUX-0.a
- # SE, I don't have any blacs libs there, although scalapack installer reports that blacs is contained in libscalapack
- SCALAP = /opt/scalapack/lib/libscalapack.a
- # /opt/scalapack/lib/libreflapack.a /opt/scalapack/lib/librefblas.a
- #INCPAR = -I/usr/local/include
- # INCPAR = -I/usr/local/mpich/include
- # SE:
- INCPAR = -I/usr/include
- # LIBPAR = $(SCALAP) -L/usr/local/lib/ -llammpio -llamf77mpi -lmpi -llam -lutil -ldl -lpthread
- # LIBPAR = $(SCALAP) -L/usr/local/mpich/lib/ -lmpich
- # SE:
- LIBPAR = $(SCALAP) # -L/usr/lib/openmpi/ -lmpi
- # See point 17 in the FAQ to have more details on the compilation of mpich with gfortran
- INCSEQ = -I$(topdir)/libseq
- LIBSEQ = -L$(topdir)/libseq -lmpiseq
- #LIBBLAS = -L/usr/lib/xmm/ -lf77blas -latlas
- #LIBBLAS = -L/local/BLAS -lblas
- # SE:
- LIBBLAS = -L/opt/scalapack/lib -lrefblas
- LIBOTHERS = -lpthread
- #Preprocessor defs for calling Fortran from C (-DAdd_ or -DAdd__ or -DUPPER)
- CDEFS = -DAdd_
- #Begin Optimized options
- OPTF = -O -Dintel_ -DALLOW_NON_INIT
- #OPTF = -O -DALLOW_NON_INIT
- OPTL = -O
- OPTC = -O
- #End Optimized options
- INC = $(INCPAR)
- LIB = $(LIBPAR)
- LIBSEQNEEDED =
Add Comment
Please, Sign In to add comment