From owner-svn-ports-all@freebsd.org Mon Dec 28 16:09:54 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1BE804B9BB7; Mon, 28 Dec 2020 16:09:54 +0000 (UTC) (envelope-from thierry@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 "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4D4MvQ0H3Hz3tx9; Mon, 28 Dec 2020 16:09:54 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E65581C5FB; Mon, 28 Dec 2020 16:09:53 +0000 (UTC) (envelope-from thierry@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0BSG9rHH078195; Mon, 28 Dec 2020 16:09:53 GMT (envelope-from thierry@FreeBSD.org) Received: (from thierry@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0BSG9rSj078192; Mon, 28 Dec 2020 16:09:53 GMT (envelope-from thierry@FreeBSD.org) Message-Id: <202012281609.0BSG9rSj078192@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: thierry set sender to thierry@FreeBSD.org using -f From: Thierry Thomas Date: Mon, 28 Dec 2020 16:09:53 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r559497 - in head/math/blacs: . files X-SVN-Group: ports-head X-SVN-Commit-Author: thierry X-SVN-Commit-Paths: in head/math/blacs: . files X-SVN-Commit-Revision: 559497 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2020 16:09:54 -0000 Author: thierry Date: Mon Dec 28 16:09:52 2020 New Revision: 559497 URL: https://svnweb.freebsd.org/changeset/ports/559497 Log: - Set the license; - Switch to MPICH 3, so that BLACS can be installed together with ScaLAPACK. Modified: head/math/blacs/Makefile head/math/blacs/files/Bmake.inc-mpich.diff head/math/blacs/files/pkg-message.in Modified: head/math/blacs/Makefile ============================================================================== --- head/math/blacs/Makefile Mon Dec 28 15:57:34 2020 (r559496) +++ head/math/blacs/Makefile Mon Dec 28 16:09:52 2020 (r559497) @@ -3,7 +3,7 @@ PORTNAME= blacs PORTVERSION= 1.7 -PORTREVISION= 37 +PORTREVISION= 38 CATEGORIES= math MASTER_SITES= NETLIB/blacs DISTNAME= BLACS @@ -14,8 +14,11 @@ EXTRACT_ONLY= mpiblacs.tgz blacstester.tgz mpiblacs-pa MAINTAINER= ports@FreeBSD.org COMMENT= BLACS (Basic Linear Algebra Communication Subprograms) +# See http://icl.cs.utk.edu/lapack-forum/archives/lapack/msg01200.html +LICENSE= BSD3CLAUSE + SUB_FILES= pkg-message -USES= fortran gmake +USES= fortran gmake localbase USE_LDCONFIG= yes OPTIONS_DEFINE= DOCS @@ -29,7 +32,7 @@ DOCS_DISTFILES= blacs_install.ps f77blacsqref.ps lawn9 OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi OPENMPI_EXTRA_PATCHES= ${FILESDIR}/Bmake.inc-openmpi.diff -MPICH_LIB_DEPENDS= libmpich.so:net/mpich2 +MPICH_LIB_DEPENDS= libmpi.so:net/mpich MPICH_EXTRA_PATCHES= ${FILESDIR}/Bmake.inc-mpich.diff .include Modified: head/math/blacs/files/Bmake.inc-mpich.diff ============================================================================== --- head/math/blacs/files/Bmake.inc-mpich.diff Mon Dec 28 15:57:34 2020 (r559496) +++ head/math/blacs/files/Bmake.inc-mpich.diff Mon Dec 28 16:09:52 2020 (r559497) @@ -35,7 +35,7 @@ MPILIBdir = $(MPIdir)/lib/ MPIINCdir = $(MPIdir)/include - MPILIB = $(MPILIBdir)/libmpich.a -+ MPILIB = $(MPILIBdir)/libmpich.a $(MPILIBdir)/libmpl.a -pthread ++ MPILIB = -lmpi -lmpifort -pthread # ------------------------------------- # All libraries required by the tester. Modified: head/math/blacs/files/pkg-message.in ============================================================================== --- head/math/blacs/files/pkg-message.in Mon Dec 28 15:57:34 2020 (r559496) +++ head/math/blacs/files/pkg-message.in Mon Dec 28 16:09:52 2020 (r559497) @@ -6,10 +6,8 @@ Example: % cd %%PREFIX%%/share/BLACS/TESTING - % %%LOCALBASE%%/bin/mpd & % %%LOCALBASE%%/bin/mpirun -np 4 ./xCbtest_MPI-FreeBSD % %%LOCALBASE%%/bin/mpirun -np 4 ./xFbtest_MPI-FreeBSD - % %%LOCALBASE%%/bin/mpdallexit Or, if you're using OpenMPI: % cd %%PREFIX%%/share/BLACS/TESTING