<pre style='margin:0'>
Takeshi Enomoto (tenomoto) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/17e34e378303f3ce037c708d52d62676c2646dc7">https://github.com/macports/macports-ports/commit/17e34e378303f3ce037c708d52d62676c2646dc7</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 17e34e37830 petsc: update to 3.13.4. fix +superlu_dist
</span>17e34e37830 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 17e34e378303f3ce037c708d52d62676c2646dc7
</span>Author: Takeshi Enomoto <takeshi@macports.org>
AuthorDate: Sun Aug 23 22:30:34 2020 +0900
<span style='display:block; white-space:pre;color:#404040;'> petsc: update to 3.13.4. fix +superlu_dist
</span>---
math/petsc/Portfile | 11 +++---
...-impls-aij-mpi-superlu_dist-superlu_dist.c.diff | 40 ++++++++++++++++++++++
2 files changed, 47 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/petsc/Portfile b/math/petsc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 57ec8833a43..09e8c6f0fc8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/petsc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/petsc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup mpi 1.0
</span> PortGroup muniversal 1.0
name petsc
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 3.13.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 3.13.4
</span> revision 0
categories math science
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,9 +24,9 @@ homepage https://www.mcs.anl.gov/petsc/
</span> master_sites http://ftp.mcs.anl.gov/pub/petsc/release-snapshots \
https://www.mcs.anl.gov/petsc/mirror/release-snapshots
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 28d88079db37f9cade6c0d5acbadec459bb6a946 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 1797737ea51e27fd2ff84b03c5a8e6a7b70e34a459150c70a23edb9b1601265f \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 35097687
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 a7264f8a7ce23868bd8a955c318dc6f9efc55f24 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 2cf8abd70ec332510b17bff7dc8a465bf1eb053e17e2a0451a4a0256385657d8 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 35171999
</span>
mpi.setup default
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -46,6 +46,9 @@ patchfiles-append patch-sundials.py.diff
</span> # allow later versions of SUNDIALS version 2 to satisfy dependency
patchfiles-append patch-sundials_version.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# API change https://github.com/xiaoyeli/superlu_dist/issues/59
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-src-mat-impls-aij-mpi-superlu_dist-superlu_dist.c.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
reinplace -W ${worksrcpath} "s,#!/usr/bin/env python,#!${prefix}/bin/python${python_ver_dot}," configure
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/petsc/files/patch-src-mat-impls-aij-mpi-superlu_dist-superlu_dist.c.diff b/math/petsc/files/patch-src-mat-impls-aij-mpi-superlu_dist-superlu_dist.c.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0483d76c485
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/petsc/files/patch-src-mat-impls-aij-mpi-superlu_dist-superlu_dist.c.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,40 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/mat/impls/aij/mpi/superlu_dist/superlu_dist.c.orig 2020-06-03 12:45:35.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/mat/impls/aij/mpi/superlu_dist/superlu_dist.c 2020-08-23 22:09:58.000000000 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -432,8 +432,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case LargeDiag_MC64:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ierr = PetscViewerASCIIPrintf(viewer," Row permutation LargeDiag_MC64\n");CHKERRQ(ierr);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case LargeDiag_AWPM:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- ierr = PetscViewerASCIIPrintf(viewer," Row permutation LargeDiag_AWPM\n");CHKERRQ(ierr);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case LargeDiag_HWPM:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ ierr = PetscViewerASCIIPrintf(viewer," Row permutation LargeDiag_HWPM\n");CHKERRQ(ierr);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case MY_PERMR:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ierr = PetscViewerASCIIPrintf(viewer," Row permutation MY_PERMR\n");CHKERRQ(ierr);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -504,7 +504,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ superlu_dist_options_t options;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PetscBool flg;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const char *colperm[] = {"NATURAL","MMD_AT_PLUS_A","MMD_ATA","METIS_AT_PLUS_A","PARMETIS"};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- const char *rowperm[] = {"NOROWPERM","LargeDiag_MC64","LargeDiag_AWPM","MY_PERMR"};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ const char *rowperm[] = {"NOROWPERM","LargeDiag_MC64","LargeDiag_HWPM","MY_PERMR"};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ const char *factPattern[] = {"SamePattern","SamePattern_SameRowPerm","DOFACT"};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PetscBool set;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -579,7 +579,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ options.RowPerm = LargeDiag_MC64;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case 2:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- options.RowPerm = LargeDiag_AWPM;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ options.RowPerm = LargeDiag_HWPM;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ break;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ case 3:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ options.RowPerm = MY_PERMR;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -691,7 +691,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ + -mat_superlu_dist_r <n> - number of rows in processor partition
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . -mat_superlu_dist_c <n> - number of columns in processor partition
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . -mat_superlu_dist_equil - equilibrate the matrix
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-. -mat_superlu_dist_rowperm <NOROWPERM,LargeDiag_MC64,LargeDiag_AWPM,MY_PERMR> - row permutation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++. -mat_superlu_dist_rowperm <NOROWPERM,LargeDiag_MC64,LargeDiag_HWPM,MY_PERMR> - row permutation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . -mat_superlu_dist_colperm <NATURAL,MMD_AT_PLUS_A,MMD_ATA,METIS_AT_PLUS_A,PARMETIS> - column permutation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . -mat_superlu_dist_replacetinypivot - replace tiny pivots
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ . -mat_superlu_dist_fact <SamePattern> - (choose one of) SamePattern SamePattern_SameRowPerm DOFACT
</span></pre><pre style='margin:0'>
</pre>