diff options
author | Lucas Heitzmann Gabrielli | 2018-02-05 11:13:44 -0200 |
---|---|---|
committer | Lucas Heitzmann Gabrielli | 2018-02-05 11:13:44 -0200 |
commit | 44badbc98a577af2102e11d83eb6238e262ed4a4 (patch) | |
tree | c7669b41cfc9db44f32861b353eb847e7d6c8831 | |
parent | 98203ba9f07032a07d04d57532d524950b8f9a1c (diff) | |
download | aur-44badbc98a577af2102e11d83eb6238e262ed4a4.tar.gz |
Update
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | Makefile.inc | 47 | ||||
-rwxr-xr-x | PKGBUILD | 6 |
3 files changed, 44 insertions, 17 deletions
@@ -1,6 +1,6 @@ pkgbase = mumps pkgdesc = Sparse solver library using Gaussian elimination - pkgver = 5.1.1 + pkgver = 5.1.2 pkgrel = 1 url = http://mumps.enseeiht.fr arch = i686 @@ -13,10 +13,10 @@ pkgbase = mumps depends = metis depends = zlib depends = bzip2 - source = http://mumps.enseeiht.fr/MUMPS_5.1.1.tar.gz + source = http://mumps.enseeiht.fr/MUMPS_5.1.2.tar.gz source = Makefile.inc - sha256sums = a2a1f89c470f2b66e9982953cbd047d429a002fab9975400cef7190d01084a06 - sha256sums = 556e4c820342cfbb4ee34652aa9a194d57cf047f5964a151afb23c7b36061408 + sha256sums = eb345cda145da9aea01b851d17e54e7eef08e16bfa148100ac1f7f046cd42ae9 + sha256sums = a19770669d0e0f1de47b1173f4aaeca405d93492966078fecc344abc37cc1b67 pkgname = mumps diff --git a/Makefile.inc b/Makefile.inc index 40e1a76de7fc..eda8c83c9ead 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -1,9 +1,33 @@ +# +# This file is part of MUMPS 5.1.2, released +# on Mon Oct 2 07:37:01 UTC 2017 +# +################################################################################ +# +# Makefile.inc.generic +# +# This defines some parameters dependent on your platform; you should +# look for the approriate file in the directory ./Make.inc/ and copy it +# into a file called Makefile.inc. For example, from the MUMPS root +# directory, use +# "cp Make.inc/Makefile.inc.generic ./Makefile.inc" +# (see the main README file for details) +# +# If you do not find any suitable Makefile in Makefile.inc, use this file: +# "cp Make.inc/Makefile.inc.generic ./Makefile.inc" and modify it according +# to the comments given below. If you manage to build MUMPS on a new platform, +# and think that this could be useful to others, you may want to send us +# the corresponding Makefile.inc file. +# +################################################################################ + + ######################################################################## #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. +# NOTE that PORD is distributed within MUMPS by default. It is recommended to +# install other orderings. For that, 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 @@ -13,11 +37,12 @@ # 4/ Compile and install MUMPS # make clean; make (to clean up previous installation) # -# Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 6.0 and later) orderings are now available for MUMPS. +# Metis/ParMetis and SCOTCH/PT-SCOTCH (ver 6.0 and later) orderings are recommended. # 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 @@ -25,7 +50,7 @@ ISCOTCH = -I$(SCOTCHDIR)/include/scotch # line (remember to add -Dptscotch in the ORDERINGSF variable below) LSCOTCH = -L$(SCOTCHDIR)/lib -lesmumps -lbz2 -lz -lscotch -lscotcherr -#LSCOTCH = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr -lscotch +#LSCOTCH = -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptscotcherr LPORDDIR = $(topdir)/PORD/lib/ @@ -46,11 +71,10 @@ LMETIS = -L$(LMETISDIR) -lmetis # The following variables will be used in the compilation process. # Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis respectively. -# If you want to use Metis 4.X or an older version, you should use -Dmetis4 instead of -Dmetis +# If you want to use Metis 4.X or an older version, you should use -Dmetis4 instead of -Dmetis # or in addition with -Dparmetis (if you are using parmetis 3.X or older). #ORDERINGSF = -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis -#ORDERINGSF = -Dpord -ORDERINGSF = -Dscotch -Dmetis -Dpord +ORDERINGSF = -Dscotch -Dmetis -Dpord ORDERINGSC = $(ORDERINGSF) LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH) @@ -86,6 +110,10 @@ AR = ar vr RANLIB = ranlib #RANLIB = echo +# DEFINE HERE YOUR LAPACK LIBRARY + +#LAPACK = -llapack + # SCALAP should define the SCALAPACK and BLACS libraries. SCALAP = -lscalapack -llapack @@ -122,10 +150,9 @@ LIBOTHERS = -lpthread CDEFS = -DAdd_ #COMPILER OPTIONS - OPTF = -DALLOW_NON_INIT ${CFLAGS} -fPIC -OPTL = ${CFLAGS} -fPIC OPTC = ${CFLAGS} -fPIC +OPTL = ${CFLAGS} -fPIC # CHOOSE BETWEEN USING THE SEQUENTIAL OR THE PARALLEL VERSION. @@ -2,7 +2,7 @@ # Contributor: Guillaume Dollé < dolle dot guillaume at gmail dot com > # Contributor: Lucas H. Gabrielli pkgname=mumps -pkgver=5.1.1 +pkgver=5.1.2 pkgrel=1 pkgdesc="Sparse solver library using Gaussian elimination" url="http://mumps.enseeiht.fr" @@ -16,8 +16,8 @@ backup=() arch=('i686' 'x86_64') source=(http://mumps.enseeiht.fr/MUMPS_${pkgver}.tar.gz Makefile.inc) -sha256sums=('a2a1f89c470f2b66e9982953cbd047d429a002fab9975400cef7190d01084a06' - '556e4c820342cfbb4ee34652aa9a194d57cf047f5964a151afb23c7b36061408') +sha256sums=('eb345cda145da9aea01b851d17e54e7eef08e16bfa148100ac1f7f046cd42ae9' + 'a19770669d0e0f1de47b1173f4aaeca405d93492966078fecc344abc37cc1b67') build() { cd "${srcdir}/MUMPS_${pkgver}" |