X-Original-To: alpine-aports@lists.alpinelinux.org Received: from mail-wm1-f68.google.com (lists.alpinelinux.org [74.117.189.116]) by lists.alpinelinux.org (Postfix) with ESMTP id 89463F84F64 for ; Mon, 10 Dec 2018 12:59:38 +0000 (UTC) Received: by mail-wm1-f68.google.com with SMTP id a62so3407232wmh.4 for ; Mon, 10 Dec 2018 04:59:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=M5A5VZX82BFv5hK/bw391QpfoRzgmrOUHUPjjmPfbhM=; b=B1i9Z8htcF1oHT77sw+gbpsgRTbJPUkViO1UDeLDW33UpjJ01SdijT4IDvbOkr0AWY UxB9kw/EIJ0japTYhoE/4l8s9Vv3RP9+StIS33CqUcWNJXF54O72DBh0hC9P4O/IqKhn 4zmYO4rnZPzbIZlpdlmbwLO/ZiDWhosGtD/62WhGJZlSiwlAtSLkVpQh/Uhl1JLZ0TDb Z2D8DILxNt4SeNVwcB8892KLaPBp9V2UQP+ObXlEjdm5XFYxlJ18ZHWyaC3L8uJix/OG oIu+IP9AWZT52slHW+YIyOp522mvoyjfrAXshOitklNq6brjvJjC+Sdsg2iH2xg/EjPp 78cg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=M5A5VZX82BFv5hK/bw391QpfoRzgmrOUHUPjjmPfbhM=; b=baEz2hybhVBFW4iaLOp2D66tAIUs3k1I4VkOH0K+9YRNvAXekZjKcsl7jvSiUNBa2i 63XyXF85eiWaiaY8qBalKJtd3X+2N/NyjOu5j1LaMp9hWn+8Tl1Zb90lVuarK9mhDb7X BtLWM7ABgAGjehv4AESkhjKOd1zOyZ4weOAfdFrqJAmUfkT7ywVfiCpVBb2UBhaZVVeL cS3xo1R1JqKA2zVk7vOATNrRrZ8XXvcfJqUQie4TOOut/9lFElSA4LkmMZERN4kPwhJY bLaW9lxnTWzsnadu22B0x9UEVDdIMmglS32idW9adQa5PMhJDRVCihTZBKCa4ihoy5xI JvxQ== X-Gm-Message-State: AA+aEWZ94VWmv1s2rgikCml/U2JJ3CrZxROPi6poBOU4N2ka7lsvLwny oC4l90vJHLMqoqAsSpA761JdSSp3ls68/FsUTn0= X-Google-Smtp-Source: AFSGD/U4Nb8hP3kH8m6GQND7Nwwu5e1d4A8Cv8vo4pVr02IAtV2TSgEy5C1awaYwROmeQ2Yrb1y4RsarJG0J3UFG34Q= X-Received: by 2002:a1c:6a09:: with SMTP id f9mr11048479wmc.150.1544446777495; Mon, 10 Dec 2018 04:59:37 -0800 (PST) X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 References: <20171121061554.7165-1-josemaria.alkala@gmail.com> In-Reply-To: <20171121061554.7165-1-josemaria.alkala@gmail.com> From: Carlo Landmeter Date: Mon, 10 Dec 2018 13:59:26 +0100 Message-ID: Subject: Re: [alpine-aports] [PATCH] testing/mumps: new aport To: josemaria.alkala@gmail.com Cc: alpine-aports Content-Type: multipart/alternative; boundary="0000000000008c1653057caa8916" --0000000000008c1653057caa8916 Content-Type: text/plain; charset="UTF-8" Hi, I was going over some old patches on our list (sorry for a huge delay) and came across some of yours. It looks like many of your patches have incorrect white-space handling (we used tabs) and lots of commented lines. Also there are multiple incorrect license usages. Please use an identifiers from https://spdx.org/licenses/ Thanks! -carlo On Tue, 21 Nov 2017 at 07:16, Jose Maria Garcia wrote: > http://mumps.enseeiht.fr/index.php?page=home > MUMPS: MUltifrontal Massively Parallel sparse direct Solver > --- > testing/mumps/APKBUILD | 69 ++++++++++++++++++++ > testing/mumps/Makefile.inc | 158 > +++++++++++++++++++++++++++++++++++++++++++++ > 2 files changed, 227 insertions(+) > create mode 100644 testing/mumps/APKBUILD > create mode 100644 testing/mumps/Makefile.inc > > diff --git a/testing/mumps/APKBUILD b/testing/mumps/APKBUILD > new file mode 100644 > index 0000000000..a1ea166c31 > --- /dev/null > +++ b/testing/mumps/APKBUILD > @@ -0,0 +1,69 @@ > +# Contributor: Jose Maria Garcia > +# Maintainer: Jose Maria Garcia > +pkgname=mumps > +pkgver=5.1.1 > +pkgrel=0 > +pkgdesc="MUMPS: MUltifrontal Massively Parallel sparse direct Solver" > +url="http://mumps.enseeiht.fr/index.php?page=home" > +arch="all" > +license="CeCILL-C" > +depends="metis lapack scotch scotch lapack" > +makedepends="python2 py2-numpy lapack-dev gfortran metis-dev scotch-dev" > +install="" > +subpackages="$pkgname-dev $pkgname-examples" > + > +source="http://mumps.enseeiht.fr/MUMPS_${pkgver}.tar.gz" > +builddir="$srcdir/MUMPS_${pkgver}" > + > +build() { > + cd "${builddir}" > + cp ../../Makefile.inc "${builddir}/Makefile.inc" > + #sed s/OPTF = -O/OPTF = -DALLOW_NON_INIT ${CFLAGS} -O > -fPIC/g > + make clean > + make -j1 all FC=gfortran FL=gfortran > +} > + > +package() { > + # https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=mumps > + cd "${builddir}/lib/" > + echo "Creating package....$pkgname" > + install -m 755 -d "${pkgdir}/usr/lib/" > + # Convert static libraries into shareables > + for _FILE in `ls *.a | sed "s|\.a||"`; do > + echo " $_FILE" > + ld -Bshareable -o ${_FILE}.so.${pkgver} -x -soname > ${_FILE}.so --whole-archive ${_FILE}.a > + install -m 644 -D ${_FILE}.a ${pkgdir}/usr/lib/${_FILE}.a > + install -m 755 ${_FILE}.so.${pkgver} ${pkgdir}/usr/lib > + ln -sf ${_FILE}.so.${pkgver} > ${pkgdir}/usr/lib/${_FILE}.so.${pkgver:0:1} > + done > + echo "$builddir....... DONE" > +} > + > +dev() { > + pkgdesc="$pkgname - Headers" > + subpkgdir=${pkgdir}-dev > + # Installing headers > + echo "Creating package....$pkgname-dev" > + cd "${builddir}/include/" > + echo "${subpkgdir}" > + install -m 755 -d "${subpkgdir}/usr/include" > + install -D -m644 *.h "${subpkgdir}/usr/include" > + echo "Package......DONE" > +} > + > + > +examples() { > + pkgdesc="$pkgname - Examples" > + subpkgdir=${pkgdir}-examples > + echo "Creating package....$pkgname-examples" > + install -m 755 -d "${subpkgdir}/usr/share/${pkgname}/examples" > + > + cd "${builddir}/examples" > + # Install examples > + install -m 644 * "${subpkgdir}/usr/share/${pkgname}/examples" > + for _FILE in ssimpletest dsimpletest csimpletest zsimpletest > c_example; do > + chmod 0755 > "${subpkgdir}/usr/share/${pkgname}/examples/${_FILE}" > + done > + echo "Package......DONE" > +} > +sha512sums="145dd61c9164bc50d07c2baf48345a2aca200332c4e359ea8b5b64fbb2027a6556f622a5620585b4852f785ba8e210267585c53634564f712828add2939901a9 > MUMPS_5.1.1.tar.gz" > diff --git a/testing/mumps/Makefile.inc b/testing/mumps/Makefile.inc > new file mode 100644 > index 0000000000..4afea6720a > --- /dev/null > +++ b/testing/mumps/Makefile.inc > @@ -0,0 +1,158 @@ > +# > +# This file is part of MUMPS 5.1.1, released > +# on Mon Mar 20 14:34:33 UTC 2017 > +# > > +################################################################################ > +# > +# Makefile.inc.generic.SEQ > +# > +# Generic Makefile.inc for sequential (MPI free, Scalapack free) > version > +# > +# > +# 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.SEQ ./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. 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 > +# 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 6.0 and later) > orderings are recommended. > +# > + > +#SCOTCHDIR = ${HOME}/scotch_6.0 > +#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 > +# 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 = /opt/metis-5.1.0/build/Linux-x86_64/libmetis > +#IMETIS = /opt/metis-5.1.0/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 > +# 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. > +# 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 > +ORDERINGSC = $(ORDERINGSF) > + > +LORDERINGS = $(LMETIS) $(LPORD) $(LSCOTCH) > +IORDERINGSF = $(ISCOTCH) > +IORDERINGSC = $(IMETIS) $(IPORD) $(ISCOTCH) > + > +#End orderings > +######################################################################## > + > +######################################################################## > +# DEFINE HERE SOME COMMON COMMANDS, THE COMPILER NAMES, ETC... > + > +# PLAT : use it to add a default suffix to the generated libraries > +PLAT = > +# Library extension, + C and Fortran "-o" option > +# may be different under Windows > +LIBEXT = .a > +OUTC = -o > +OUTF = -o > +# RM : remove files > +RM = /bin/rm -f > +# CC : C compiler > +CC = cc > +# FC : Fortran 90 compiler > +FC = f90 > +# FL : Fortran linker > +FL = f90 > +# AR : Archive object in a library > +# keep a space at the end if options have to be separated from lib > name > +AR = ar vr > +# RANLIB : generate index of an archive file > +# (optionnal use "RANLIB = echo" in case of problem) > +RANLIB = ranlib > +#RANLIB = echo > + > +# DEFINE HERE YOUR LAPACK LIBRARY > + > +LAPACK = -llapack > +# The next two lines should not be modified. They concern > +# the sequential library provided by MUMPS, to use instead > +# of ScaLAPACK and MPI. > +INCSEQ = -I$(topdir)/libseq > +LIBSEQ = $(LAPACK) -L$(topdir)/libseq -lmpiseq > + > +# DEFINE HERE YOUR BLAS LIBRARY > + > +LIBBLAS = -lblas > + > +# DEFINE HERE YOUR PTHREAD LIBRARY > +LIBOTHERS = -lpthread > + > +# FORTRAN/C COMPATIBILITY: > +# Use: > +# -DAdd_ if your Fortran compiler adds an underscore at the end > +# of symbols, > +# -DAdd__ if your Fortran compiler adds 2 underscores, > +# > +# -DUPPER if your Fortran compiler uses uppercase symbols > +# > +# leave empty if your Fortran compiler does not change the symbols. > +# > + > +CDEFS = -DAdd_ > + > +#COMPILER OPTIONS > +#OPTF = -O > +#OPTC = -O -I. > +#OPTL = -O > +OPTF = -DALLOW_NON_INIT ${CFLAGS} -O -fPIC > +OPTL = ${CFLAGS} -fPIC > +OPTC = ${CFLAGS} -fPIC > + > + > +#Sequential: > + > +INCS = $(INCSEQ) > +LIBS = $(LIBSEQ) > +LIBSEQNEEDED = libseqneeded > -- > 2.15.0 > > > > --- > Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org > Help: alpine-aports+help@lists.alpinelinux.org > --- > > --0000000000008c1653057caa8916 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi,

I was going over s= ome old patches on our list (sorry for a huge delay) and came across some o= f yours.
It looks like many of your patches have incorrect white-= space handling (we used tabs) and lots of commented lines.

Also there are multiple incorrect license usages. Please use an id= entifiers from=C2=A0https://spdx.org= /licenses/

Thanks!

-c= arlo

On Tue, 21 Nov 2017= at 07:16, Jose Maria Garcia <josemaria.alkala@gmail.com> wrote:
http://mumps.enseeiht.fr= /index.php?page=3Dhome
MUMPS: MUltifrontal Massively Parallel sparse direct Solver
---
=C2=A0testing/mumps/APKBUILD=C2=A0 =C2=A0 =C2=A0|=C2=A0 69 ++++++++++++++++= ++++
=C2=A0testing/mumps/Makefile.inc | 158 ++++++++++++++++++++++++++++++++++++= +++++++++
=C2=A02 files changed, 227 insertions(+)
=C2=A0create mode 100644 testing/mumps/APKBUILD
=C2=A0create mode 100644 testing/mumps/Makefile.inc

diff --git a/testing/mumps/APKBUILD b/testing/mumps/APKBUILD
new file mode 100644
index 0000000000..a1ea166c31
--- /dev/null
+++ b/testing/mumps/APKBUILD
@@ -0,0 +1,69 @@
+# Contributor: Jose Maria Garcia <josemaria.alkala@gmail.com>
+# Maintainer: Jose Maria Garcia <josemaria.alkala@gmail.com>
+pkgname=3Dmumps
+pkgver=3D5.1.1
+pkgrel=3D0
+pkgdesc=3D"MUMPS: MUltifrontal Massively Parallel sparse direct Solve= r"
+url=3D"http://mumps.enseeiht.fr/index.php?page= =3Dhome"
+arch=3D"all"
+license=3D"CeCILL-C"
+depends=3D"metis lapack scotch scotch lapack"
+makedepends=3D"python2 py2-numpy lapack-dev gfortran metis-dev scotch= -dev"
+install=3D""
+subpackages=3D"$pkgname-dev $pkgname-examples"
+
+source=3D"http://mumps.enseeiht.fr/MUMPS_${= pkgver}.tar.gz"
+builddir=3D"$srcdir/MUMPS_${pkgver}"
+
+build() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "${builddir}"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 cp ../../Makefile.inc "${builddir}/Makefi= le.inc"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0#sed s/OPTF=C2=A0 =C2=A0 =3D -O/OPTF=C2=A0 =C2= =A0 =3D -DALLOW_NON_INIT ${CFLAGS} -O -fPIC/g=C2=A0 =C2=A0 =C2=A0
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 make clean
+=C2=A0 =C2=A0 =C2=A0 =C2=A0make -j1 all FC=3Dgfortran FL=3Dgfortran
+}
+
+package() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 # https:/= /aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=3Dmumps
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "${builddir}/lib/"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "Creating package....$pkgname" +=C2=A0 =C2=A0 =C2=A0 =C2=A0 install -m 755 -d "${pkgdir}/usr/lib/&quo= t;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0# Convert static libraries into shareables
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 for _FILE in `ls *.a | sed "s|\.a||"= `; do
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 echo "=C2=A0 =C2=A0 $_FILE&= quot;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ld -Bshareable -o ${_FILE}.so.${= pkgver} -x -soname ${_FILE}.so --whole-archive ${_FILE}.a
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 install -m 644 -D ${_FILE}.a ${p= kgdir}/usr/lib/${_FILE}.a
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 install -m 755 ${_FILE}.so.${pkg= ver} ${pkgdir}/usr/lib
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 ln -sf ${_FILE}.so.${pkgver} ${p= kgdir}/usr/lib/${_FILE}.so.${pkgver:0:1}
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 done
+=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "$builddir....... DONE"
+}
+
+dev() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 pkgdesc=3D"$pkgname - Headers"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0subpkgdir=3D${pkgdir}-dev
+=C2=A0 =C2=A0 =C2=A0 =C2=A0# Installing headers
+=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "Creating package....$pkgname-dev&quo= t;
+=C2=A0 =C2=A0 =C2=A0 =C2=A0cd "${builddir}/include/"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "${subpkgdir}"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 install -m 755 -d "${subpkgdir}/usr/inclu= de"=C2=A0 =C2=A0 =C2=A0
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 install -D -m644 *.h "${subpkgdir}/usr/in= clude"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "Package......DONE"
+}
+
+
+examples() {
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 pkgdesc=3D"$pkgname - Examples"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0subpkgdir=3D${pkgdir}-examples
+=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "Creating package....$pkgname-example= s"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 install -m 755 -d "${subpkgdir}/usr/share= /${pkgname}/examples"
+
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 cd "${builddir}/examples"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 # Install examples
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 install -m 644 * "${subpkgdir}/usr/share/= ${pkgname}/examples"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 for _FILE in ssimpletest dsimpletest csimplete= st zsimpletest c_example; do
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 chmod 0755 "${subpkgdir}/us= r/share/${pkgname}/examples/${_FILE}"
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 done
+=C2=A0 =C2=A0 =C2=A0 =C2=A0echo "Package......DONE"=C2=A0 =C2=A0= =C2=A0 =C2=A0
+}
+sha512sums=3D"145dd61c9164bc50d07c2baf48345a2aca200332c4e359ea8b5b64f= bb2027a6556f622a5620585b4852f785ba8e210267585c53634564f712828add2939901a9= =C2=A0 MUMPS_5.1.1.tar.gz"
diff --git a/testing/mumps/Makefile.inc b/testing/mumps/Makefile.inc
new file mode 100644
index 0000000000..4afea6720a
--- /dev/null
+++ b/testing/mumps/Makefile.inc
@@ -0,0 +1,158 @@
+#
+#=C2=A0 This file is part of MUMPS 5.1.1, released
+#=C2=A0 on Mon Mar 20 14:34:33 UTC 2017
+#
+##########################################################################= ######
+#
+#=C2=A0 =C2=A0Makefile.inc.generic.SEQ
+#
+#=C2=A0 =C2=A0 Generic Makefile.inc for sequential (MPI free, Scalapack fr= ee) version
+#
+#
+#=C2=A0 =C2=A0This defines some parameters dependent on your platform; you= should
+#=C2=A0 =C2=A0look for the approriate file in the directory ./Make.inc/ an= d copy it
+#=C2=A0 =C2=A0into a file called Makefile.inc. For example, from the MUMPS= root
+#=C2=A0 =C2=A0directory, use
+#=C2=A0 =C2=A0"cp Make.inc/Makefile.inc.generic.SEQ ./Makefile.inc&qu= ot;
+#=C2=A0 =C2=A0(see the main README file for details)
+#
+#=C2=A0 =C2=A0If you do not find any suitable Makefile in Makefile.inc, us= e this file:
+#=C2=A0 =C2=A0"cp Make.inc/Makefile.inc.generic ./Makefile.inc" = and modify it according
+#=C2=A0 =C2=A0to the comments given below. If you manage to build MUMPS on= a new platform,
+#=C2=A0 =C2=A0and think that this could be useful to others, you may want = to send us
+#=C2=A0 =C2=A0the corresponding Makefile.inc file.
+#
+##########################################################################= ######
+
+
+######################################################################## +#Begin orderings
+#
+# 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:
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1/ download Metis and compile it
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 2/ uncomment (suppress # in first colu= mn) lines
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0starting with LMETISDIR,= =C2=A0 LMETIS
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 3/ add -Dmetis in line ORDERINGSF
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0ORDERINGSF=C2=A0 =3D -Dpo= rd -Dmetis
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 4/ Compile and install MUMPS
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0make clean; make=C2=A0 = =C2=A0(to clean up previous installation)
+#
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 Metis/ParMetis and SCOTCH/PT-SCOTCH (v= er 6.0 and later) orderings are recommended.
+#
+
+#SCOTCHDIR=C2=A0 =3D ${HOME}/scotch_6.0
+#ISCOTCH=C2=A0 =C2=A0 =3D -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 +# sequential analysis choose the first (remember to add -Dscotch in the OR= DERINGSF
+# variable below); for both parallel and sequential analysis choose the se= cond
+# line (remember to add -Dptscotch in the ORDERINGSF variable below)
+
+#LSCOTCH=C2=A0 =C2=A0 =3D -L$(SCOTCHDIR)/lib -lesmumps -lscotch -lscotcher= r
+#LSCOTCH=C2=A0 =C2=A0 =3D -L$(SCOTCHDIR)/lib -lptesmumps -lptscotch -lptsc= otcherr
+
+
+LPORDDIR =3D $(topdir)/PORD/lib/
+IPORD=C2=A0 =C2=A0 =3D -I$(topdir)/PORD/include/
+LPORD=C2=A0 =C2=A0 =3D -L$(LPORDDIR) -lpord
+
+#LMETISDIR =3D /opt/metis-5.1.0/build/Linux-x86_64/libmetis
+#IMETIS=C2=A0 =C2=A0 =3D /opt/metis-5.1.0/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 +# sequential analysis choose the first (remember to add -Dmetis in the ORD= ERINGSF
+# variable below); for both parallel and sequential analysis choose the se= cond
+# line (remember to add -Dparmetis in the ORDERINGSF variable below)
+
+#LMETIS=C2=A0 =C2=A0 =3D -L$(LMETISDIR) -lmetis
+#LMETIS=C2=A0 =C2=A0 =3D -L$(LMETISDIR) -lparmetis -lmetis
+
+# The following variables will be used in the compilation process.
+# Please note that -Dptscotch and -Dparmetis imply -Dscotch and -Dmetis re= spectively.
+# If you want to use Metis 4.X or an older version, you should use -Dmetis= 4 instead of -Dmetis
+# or in addition with -Dparmetis (if you are using parmetis 3.X or older).=
+#ORDERINGSF =3D -Dscotch -Dmetis -Dpord -Dptscotch -Dparmetis
+ORDERINGSF=C2=A0 =3D -Dpord
+ORDERINGSC=C2=A0 =3D $(ORDERINGSF)
+
+LORDERINGS =3D $(LMETIS) $(LPORD) $(LSCOTCH)
+IORDERINGSF =3D $(ISCOTCH)
+IORDERINGSC =3D $(IMETIS) $(IPORD) $(ISCOTCH)
+
+#End orderings
+######################################################################## +
+######################################################################## +# DEFINE HERE SOME COMMON COMMANDS, THE COMPILER NAMES, ETC...
+
+# PLAT : use it to add a default suffix to the generated libraries
+PLAT=C2=A0 =C2=A0 =3D
+# Library extension, + C and Fortran "-o" option
+# may be different under Windows
+LIBEXT=C2=A0 =3D .a
+OUTC=C2=A0 =C2=A0 =3D -o
+OUTF=C2=A0 =C2=A0 =3D -o
+# RM : remove files
+RM=C2=A0 =C2=A0 =C2=A0 =3D /bin/rm -f
+# CC : C compiler
+CC=C2=A0 =C2=A0 =C2=A0 =3D cc
+# FC : Fortran 90 compiler
+FC=C2=A0 =C2=A0 =C2=A0 =3D f90
+# FL : Fortran linker
+FL=C2=A0 =C2=A0 =C2=A0 =3D f90
+# AR : Archive object in a library
+#=C2=A0 =C2=A0 =C2=A0 keep a space at the end if options have to be separa= ted from lib name
+AR=C2=A0 =C2=A0 =C2=A0 =3D ar vr
+# RANLIB : generate index of an archive file
+#=C2=A0 =C2=A0(optionnal use "RANLIB =3D echo" in case of proble= m)
+RANLIB=C2=A0 =3D ranlib
+#RANLIB=C2=A0 =3D echo
+
+# DEFINE HERE YOUR LAPACK LIBRARY
+
+LAPACK =3D -llapack
+# The next two lines should not be modified. They concern
+# the sequential library provided by MUMPS, to use instead
+# of ScaLAPACK and MPI.
+INCSEQ=C2=A0 =3D -I$(topdir)/libseq
+LIBSEQ=C2=A0 =3D $(LAPACK) -L$(topdir)/libseq -lmpiseq
+
+# DEFINE HERE YOUR BLAS LIBRARY
+
+LIBBLAS =3D -lblas
+
+# DEFINE HERE YOUR PTHREAD LIBRARY
+LIBOTHERS =3D -lpthread
+
+# FORTRAN/C COMPATIBILITY:
+#=C2=A0 Use:
+#=C2=A0 =C2=A0 -DAdd_ if your Fortran compiler adds an underscore at the e= nd
+#=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 of symbols,
+#=C2=A0 =C2=A0 =C2=A0-DAdd__ if your Fortran compiler adds 2 underscores,<= br> +#
+#=C2=A0 =C2=A0 =C2=A0-DUPPER if your Fortran compiler uses uppercase symbo= ls
+#
+#=C2=A0 =C2=A0 =C2=A0leave empty if your Fortran compiler does not change = the symbols.
+#
+
+CDEFS =3D -DAdd_
+
+#COMPILER OPTIONS
+#OPTF=C2=A0 =C2=A0 =3D -O
+#OPTC=C2=A0 =C2=A0 =3D -O -I.
+#OPTL=C2=A0 =C2=A0 =3D -O
+OPTF=C2=A0 =C2=A0 =3D -DALLOW_NON_INIT ${CFLAGS} -O -fPIC
+OPTL=C2=A0 =C2=A0 =3D ${CFLAGS} -fPIC
+OPTC=C2=A0 =C2=A0 =3D ${CFLAGS} -fPIC
+
+
+#Sequential:
+
+INCS =3D $(INCSEQ)
+LIBS =3D $(LIBSEQ)
+LIBSEQNEEDED =3D libseqneeded
--
2.15.0



---
Unsubscribe:=C2=A0 alpine-aports+unsubscribe@lists.alpinelinux.= org
Help:=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0alpine-aports+help@lists.alpine= linux.org
---

--0000000000008c1653057caa8916-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---