summaryrefslogtreecommitdiff
path: root/math/mumps/files/patch-Make.inc+Makefile.inc.generic
diff options
context:
space:
mode:
Diffstat (limited to 'math/mumps/files/patch-Make.inc+Makefile.inc.generic')
-rw-r--r--math/mumps/files/patch-Make.inc+Makefile.inc.generic51
1 files changed, 27 insertions, 24 deletions
diff --git a/math/mumps/files/patch-Make.inc+Makefile.inc.generic b/math/mumps/files/patch-Make.inc+Makefile.inc.generic
index 464e45902abe..60a3228312b2 100644
--- a/math/mumps/files/patch-Make.inc+Makefile.inc.generic
+++ b/math/mumps/files/patch-Make.inc+Makefile.inc.generic
@@ -1,30 +1,33 @@
---- Make.inc/Makefile.inc.generic.orig Fri Apr 14 08:00:50 2006
-+++ Make.inc/Makefile.inc.generic Fri May 26 10:28:02 2006
-@@ -39,20 +39,20 @@
- # Metis is now available as an internal ordering for MUMPS.
-
-
--#LSCOTCHDIR = $(HOME)/JY/emilio/bin/generic
-+#LSCOTCHDIR = @LOCALBASE@/lib
- #LSCOTCH = -L$(LSCOTCHDIR) -lesmumps -lfax -lorder -lscotch -lsymbol -ldof -lgraph -lcommon -lm
+--- Make.inc/Makefile.inc.generic.orig 2011-05-10 14:56:32.000000000 +0200
++++ Make.inc/Makefile.inc.generic 2013-08-11 17:41:51.000000000 +0200
+@@ -39,7 +39,7 @@
+ # Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 5.1 and later) orderings are now available for MUMPS.
+ #
- LPORDDIR = ../PORD/lib/
- IPORD = -I../PORD/include/
+-#SCOTCHDIR = ${HOME}/scotch_5.1_esmumps
++#SCOTCHDIR = @LOCALBASE@
+ #ISCOTCH = -I$(SCOTCHDIR)/include
+ # 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
+@@ -55,7 +55,7 @@
+ IPORD = -I$(topdir)/PORD/include/
LPORD = -L$(LPORDDIR) -lpord
--#LMETISDIR = Directory containing Metis library
-+LMETISDIR = @LOCALBASE@/lib
- #IMETIS = # Metis doesn't need include files (Fortran interface avail.)
- #LMETIS = -L$(LMETISDIR) -lmetis
+-#LMETISDIR = /local/metis/
++#LMETISDIR = @LOCALBASE@/lib
+ #IMETIS = # Should be provided if you use parmetis
- # Corresponding variables reused later
- #ORDERINGS = -Dmetis -Dpord
+ # You have to choose one among the following two lines depending on
+@@ -70,7 +70,7 @@
+ # 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
-ORDERINGSF = -Dpord
+ORDERINGSF += -Dpord
ORDERINGSC = $(ORDERINGSF)
+
LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH)
- IORDERINGS = $(IMETIS) $(IPORD) $(ISCOTCH)
-@@ -66,11 +66,11 @@
+@@ -91,11 +91,11 @@
# RM : remove files
RM = /bin/rm -f
# CC : C compiler
@@ -37,9 +40,9 @@
-FL = f90
+FL = @FC@
# AR : Archive object in a library
- AR = ar vr
- # RANLIB : generate index of an archive file
-@@ -79,13 +79,13 @@
+ # keep a space at the end if options have to be separated from lib name
+ AR = ar vr
+@@ -105,13 +105,13 @@
#RANLIB = echo
# SCALAP should define the SCALAPACK and BLACS libraries.
@@ -56,7 +59,7 @@
# The parallel version is not concerned by the next two lines.
# They are related to the sequential library provided by MUMPS,
-@@ -95,10 +95,10 @@
+@@ -121,10 +121,10 @@
# DEFINE HERE YOUR BLAS LIBRARY
@@ -69,7 +72,7 @@
# FORTRAN/C COMPATIBILITY:
# Use:
-@@ -111,11 +111,11 @@
+@@ -137,11 +137,11 @@
# leave empty if your Fortran compiler does not change the symbols.
#