A suite of data structures and routines for the scalable (parallel) solution of
scientific applications modeled by partial differential equations. It supports
MPI, and GPUs through CUDA or OpenCL, as well as hybrid MPI-GPU parallelism.
PETSc (sometimes called PETSc/Tao) also contains the Tao optimization software
library.
===> The following configuration options are available for PETSc-3.26.1:
HPDDM=on: Support HP domain decomposition methods
HYPRE=on: Enable Hypre Scalable Linear Solvers
LONGINDEX=off: Set indexes to 64 bits
METIS=on: Enable metis support for graph partitioning algorithms
MUMPS=on: Enable the MUMPS solver
SOWING=on: Enable text processing with Sowing
SUPERLU=on: Enable SuperLU for sparse factorization
===> Use 'make config' to modify these settings
science/PETSc: fix HPDDM and enable MUMPS
Since HPDDM depends on MUMPS, it’s also possible to enable its
interface.
Remark: building the interface hpddm_petsc requires SLEPc, and it
would cause a circular dependency. Therefore it will be built in a
separate port. A separate file is provided to register its version.
PR: 299998
Approved by: yuri (maintainer)
science/PETSc: upgrade to 3.26.0 and add dependencies for Code_Aster
Recent Code_Aster recommand these options:
- HPDDM
- SLEPc (math/slepc) but problem of circular dependency
- SuperLU (math/superlu)
- hypre (science/hypre)
- ml (ML, trilinos-ml: science/trilinos)
. trilinos-ml is deprecated
see https://github.com/trilinos/ML
. Trilinos is not supported
see https://gitlab.com/petsc/petsc/-/work_items/1943
- sowing (textproc/sowing)
Also replace BLAS + BLIS by OpenBLAS,
- use MPI helper,
- don’t build in debug mode by default,
- fix graphical tests.
PR: 299017
Approved by: yuri (maintainer)
all: remove explicit versions in USES=python for "3.x+"
The logic in USES=python will automatically convert this to 3.8+ by
itself.
Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.
finance/quickfix: mark BROKEN with PYTHON
libtool: compile: c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++
-DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable
-Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong
-fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi
-Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings
-Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x
-MT _quickfix_la-QuickfixPython.lo -MD -MP -MF
.deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp -fPIC -DPIC -o
.libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean
'-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
^~~~~~~~~~
1 warning and 1 error generated.
Reviewed by: portmgr, vishwin, yuri
Differential Revision: <https://reviews.freebsd.org/D40568>
*/*: Update path set in BUILD_DEPENDS for CMake
Commit b23ea4e2d2f51b53d8915fe9fd7b4efbdd575e38 changed its location to
devel/cmake-core
Approved by: portmgr (blanket)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
Fix math/openblas and bump dependent ports
* Fix build on i386 [1]
* Fix science/code_saturne build with new openblas [2]
* Avoid installing private headers [3]
* Prevent build from optimizing for host by correcting build confg [4]
* Bump portrevision of dependent ports [5]
This is correcting issues from r523749 [1][2][4] and r515970 [3]
PR: 231371
Reported by: build cluster [1]
Reported by: Dima Pasechnik <dimpase+freebsd@gmail.com> [2]
Reported by: many [5]
Reviewed by: mat, bapt
Approved by: implicit, since this is a build fix
Add USES=xorg USES=gl, ports categories s
Add USES=xorg and USES=gl to ports in categories starting with 's'
While here, try to sprinkle other USES (mostly gnome and sdl) as needed.
Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.
PR: 238330
science/PETSc: fix build with non-x86
Only i386 and amd64 have SSE, don't use it on other platforms.
It probably also builds on ARM platforms with this patch, but someone would have
to test it.
PR: 238631
Approved by: yuri (maintainer timeout), mat (mentor)
Differential Revision: https://reviews.freebsd.org/D20821
Related to revision 499061 bump ports with USES=fortran to have them
benefit from the improved situation where libgcc_s is only used when
absolutely necessary.
Suggested by: tijl
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
science/PETSc: Update 3.9.4->3.10.1; math/py-petsc4py: Update 3.9.1->3.10.0;
math/slepc: Update 3.9.2->3.10.0; math/py-slepc4py: Update 3.9.0->3.10.0
Bump math/sundials and math/petiga.
On commit because they depend on each other and don't build unless versions
match.
Change 10 ports from net/mpich2 to net/mpich
mpich2 is the obsolete version 2.x, mpich is at the current version 3.x
science/triqs science/PETSc math/py-slepc4py math/slepc math/py-petsc4py
math/petiga math/sundials cad/elmerfem math/blocksolve95 math/spooles
Bump PORTREVISION for ports depending on the canonical version of GCC
in the ports tree (via Mk/bsd.default-versions.mk and lang/gcc) which
has now moved from GCC 6 to GCC 7 by default.
This includes ports
- featuring USE_GCC=yes or USE_GCC=any,
- featuring USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and those
- with USES=compiler specifying one of openmp, nestedfct, c11, c++0x,
c++11-lib, c++11-lang, c++14-lang, c++17-lang, or gcc-c++11-lib.
PR: 222542
e-added port: science/PETSc: Suite of data structures and routines from Argonne
National Laboratory (existed 2004/11/21-2014/09/01, deleted in r366959)
Replacing the identical version committed by me as a new port in r456696.
The old math/petsc port also had a slave port math/petsc-mpich that has also
been deleted.
Original differential revision is https://reviews.freebsd.org/D13527
Submitted by: myself
Reported by: thierry that math/petsc and math/petsc-mpich existed before
Approved by: adamw (mentor)
New port: science/PETSc: Suite of data structures and routines from Argonne
National Laboratory
Approved by: adamw (mentor)
Differential Revision: https://reviews.freebsd.org/D13527