From nobody Mon Feb 13 04:26:46 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PFWWW47XXz3qTnw; Mon, 13 Feb 2023 04:26:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PFWWW14FKz42qn; Mon, 13 Feb 2023 04:26:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676262407; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fnhXgVOHhy1Tm9GUta5ib6+6aTcxHQcqp0mVvoWJVAw=; b=h8jg6r7/ZYeNCKHWQvHk/asYeHbqRfcDE8t3N2S+kfhBn7wZ6vrIBuGDasCZEPJFBlr1Xj 1vrPragMYj/ZWNx6xX4pxH2+INvdOjV2kcluzM68rO6CwUKCJUeEkG3AVcCCTi+gFgRs58 RfExE17HHMtwFak4c9pdEupLvcYAyVy0i7ZxiI0BMiyASqPp2hP7R/vusOJzk5wF7eftwB DJH10HvYVHvLXwVyNhOJuMl1cCPrbQ/xF5f7lHVm32x4XfF1H5HME0Pt804STfH3w4KuuW xD9neecGTWnRQFi14/YF7XB8Kzlx6X5epmlLxVRomGIpb90+co1NERMUx6/dhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676262407; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=fnhXgVOHhy1Tm9GUta5ib6+6aTcxHQcqp0mVvoWJVAw=; b=MxhzXkNy94xfAHSXQenR2VSs+f4vhwUQcBNDAZzH3v9wAGqEn7Qjlor19YBp/2oU7lz1Md uxQD+r49/XEKUlWwn+OTRCZGmNQQFc63qLgxZYsPJEjwPusfoKIk5K/3ZKlRsPS2z7EoGz oevJtjZ2Qlmgi0ri9XattvwgnoWjcWt0OJy6htSAS6empzQ/FHAc+xoUK6BZbsQixBn8Dr mfEfRG06tDDYf/msBL26Zf3IjJ/EUtkF8LdDbMJjQdZQAtYu2+o1G2ox6STHXOaS5NRoOl Lqo+u6mT65GT1/ndA5L5pTgU01eG3v0HB2YUa850qT5JuzIDVwjbRpylWwBebA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676262407; a=rsa-sha256; cv=none; b=GKenj5rqTE78XDaLwWigUUcVqTdkPrZnP1q2daIDQuZ6+UY6cL5qVHIOg8NgABHPkMltFb PkD5asoprXqic2JVe0uqXBf/FK1M29K9Z4//VSoUQDdXkWwLa2DrJOd7bY+Nc1CUw/ZLkt gKcLD/MyzJgrOpUQG63/Nz+ZEqA/rzzJI7rG5WEPBRY+QptKdfdA2AZG/1Cc2n6nXnLfJ0 BvnleMWoEXQq2c1pzV7KN6LY/+rONW9UTx3EYUvpwW+TYHTnX8tT/w4TfU94rgVcdVT5l8 NkWByJJXAp6oLiDnOIAHe4nrb/4SS4tswAbInKXSvYJC2n9TPMX5XqdXtCVJvA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PFWWW0BKjz14fp; Mon, 13 Feb 2023 04:26:47 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 31D4Qk2a024969; Mon, 13 Feb 2023 04:26:46 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31D4QkgD024968; Mon, 13 Feb 2023 04:26:46 GMT (envelope-from git) Date: Mon, 13 Feb 2023 04:26:46 GMT Message-Id: <202302130426.31D4QkgD024968@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: 945af585e732 - main - science/PETSc: Change to 64-bit indices; Add METIS option List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 945af585e732e163757c4973d8a8e24eb993509f Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=945af585e732e163757c4973d8a8e24eb993509f commit 945af585e732e163757c4973d8a8e24eb993509f Author: Yuri Victorovich AuthorDate: 2023-02-13 04:25:08 +0000 Commit: Yuri Victorovich CommitDate: 2023-02-13 04:26:37 +0000 science/PETSc: Change to 64-bit indices; Add METIS option By default PETSc uses 32-bit indices. --- math/petiga/Makefile | 1 + math/py-petsc4py/Makefile | 1 + math/py-slepc4py/Makefile | 1 + math/slepc/Makefile | 1 + science/PETSc/Makefile | 9 +++++++++ science/bout++/Makefile | 6 ++---- science/code_saturne/Makefile | 2 +- 7 files changed, 16 insertions(+), 5 deletions(-) diff --git a/math/petiga/Makefile b/math/petiga/Makefile index d473c9d8907d..5bb862f9f480 100644 --- a/math/petiga/Makefile +++ b/math/petiga/Makefile @@ -1,5 +1,6 @@ PORTNAME= petiga DISTVERSION= g20221208 +PORTREVISION= 1 CATEGORIES= math python MAINTAINER= yuri@FreeBSD.org diff --git a/math/py-petsc4py/Makefile b/math/py-petsc4py/Makefile index 8b9353736664..9435289a63e2 100644 --- a/math/py-petsc4py/Makefile +++ b/math/py-petsc4py/Makefile @@ -1,5 +1,6 @@ PORTNAME= petsc4py DISTVERSION= 3.18.3 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/math/py-slepc4py/Makefile b/math/py-slepc4py/Makefile index 076b0e55330d..f2ef98e42d80 100644 --- a/math/py-slepc4py/Makefile +++ b/math/py-slepc4py/Makefile @@ -1,5 +1,6 @@ PORTNAME= slepc4py DISTVERSION= 3.18.2 +PORTREVISION= 1 CATEGORIES= math python MASTER_SITES= PYPI PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/math/slepc/Makefile b/math/slepc/Makefile index 6ca2eab4a840..f6cbdc245f1f 100644 --- a/math/slepc/Makefile +++ b/math/slepc/Makefile @@ -1,5 +1,6 @@ PORTNAME= slepc DISTVERSION= 3.18.2 +PORTREVISION= 1 CATEGORIES= math devel MASTER_SITES= http://slepc.upv.es/download/distrib/ diff --git a/science/PETSc/Makefile b/science/PETSc/Makefile index c6d6d7bff073..5067cf1ff2a2 100644 --- a/science/PETSc/Makefile +++ b/science/PETSc/Makefile @@ -1,5 +1,6 @@ PORTNAME= PETSc DISTVERSION= 3.18.4 +PORTREVISION= 1 CATEGORIES= science devel MASTER_SITES= https://ftp.mcs.anl.gov/pub/petsc/release-snapshots/ DISTNAME= ${PORTNAME:tl}-${DISTVERSION} @@ -25,6 +26,7 @@ CONFIGURE_ARGS= --with-shared-libraries=1 \ MAKEFLAGS="${MAKEFLAGS}" LDFLAGS="${LDFLAGS}" LIBS="" CONFIGURE_ARGS_amd64= CFLAGS="${CFLAGS} -msse2" CXXFLAGS="${CXXFLAGS} -msse2" CONFIGURE_ARGS_i386= CFLAGS="${CFLAGS} -msse2" CXXFLAGS="${CXXFLAGS} -msse2" +CONFIGURE_ARGS= --with-64-bit-indices # as opposed to 32-bit indices that are default CONFIGURE_LOG= configure.log USE_XORG= x11 MAKEFILE= makefile @@ -39,6 +41,13 @@ LDFLAGS+= ${LOCALBASE}/lib/libmpi.so DATADIR= ${PREFIX}/share/${PORTNAME:tl} PLIST_SUB= SHLIB=${DISTVERSION} SHL=${DISTVERSION:C/\.[0-9]$//} +OPTIONS_DEFINE= METIS +OPTIONS_DEFAULT= METIS + +METIS_DESC= Enable metis support for graph partitioning algorithms +METIS_CONFIGURE_ON= --with-metis=1 # --with-parmetis=1 to use include/parmetis.h +METIS_LIB_DEPENDS= libmetis.so:math/metis + post-install: @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/libpetsc.so.${DISTVERSION} @${FIND} ${STAGEDIR}${PREFIX} -name "*.html" -delete diff --git a/science/bout++/Makefile b/science/bout++/Makefile index c00c2823ea8a..b901aa12150f 100644 --- a/science/bout++/Makefile +++ b/science/bout++/Makefile @@ -1,7 +1,7 @@ PORTNAME= bout++ DISTVERSIONPREFIX= v DISTVERSION= 4.4.2 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= science math # physics MAINTAINER= yuri@FreeBSD.org @@ -49,7 +49,7 @@ OPTIONS_MULTI= FORMAT OPTIONS_MULTI_FORMAT= HDF5 NETCDF OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= MPICH OPENMPI -OPTIONS_DEFAULT= MPICH NETCDF PETSC SLEPC +OPTIONS_DEFAULT= MPICH NETCDF # PETSC SLEPC: not compatible with the latest petsc-3.18.4 FORMAT_DESC= File format support @@ -68,8 +68,6 @@ OPRNMP_BROKEN= SEGV when OpenMP is enabled, see https://github.com/boutproject/ OPENMPI_USES= mpi:openmpi -PETSC_CMAKE_BOOL= BOUT_USE_PETSC - PETSC_DESC= Build with PETSc support PETSC_CMAKE_BOOL= BOUT_USE_PETSC PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc diff --git a/science/code_saturne/Makefile b/science/code_saturne/Makefile index f4c0d88a3ffc..cb86252933d8 100644 --- a/science/code_saturne/Makefile +++ b/science/code_saturne/Makefile @@ -1,7 +1,7 @@ PORTNAME= code_saturne PORTVERSION= 7.1.1 DISTVERSIONPREFIX= v -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= science parallel MAINTAINER= thierry@FreeBSD.org