From owner-svn-ports-all@freebsd.org Thu Nov 24 15:13:24 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 370BCC534DE; Thu, 24 Nov 2016 15:13:24 +0000 (UTC) (envelope-from danilo@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 mx1.freebsd.org (Postfix) with ESMTPS id 119BB1A7; Thu, 24 Nov 2016 15:13:23 +0000 (UTC) (envelope-from danilo@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uAOFDNW5092391; Thu, 24 Nov 2016 15:13:23 GMT (envelope-from danilo@FreeBSD.org) Received: (from danilo@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uAOFDNxE092389; Thu, 24 Nov 2016 15:13:23 GMT (envelope-from danilo@FreeBSD.org) Message-Id: <201611241513.uAOFDNxE092389@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danilo set sender to danilo@FreeBSD.org using -f From: Danilo Egea Gondolfo Date: Thu, 24 Nov 2016 15:13:23 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r427025 - head/net/openmpi2 X-SVN-Group: ports-head 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.23 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: Thu, 24 Nov 2016 15:13:24 -0000 Author: danilo Date: Thu Nov 24 15:13:22 2016 New Revision: 427025 URL: https://svnweb.freebsd.org/changeset/ports/427025 Log: - Use the libevent from ports. This solves a segfault reported by an user [1] - Enable c++ bindings and "mpi thread multiple" support [1] - Add DEBUG option Reported by: Otacilio Neto [1] Modified: head/net/openmpi2/Makefile head/net/openmpi2/pkg-plist Modified: head/net/openmpi2/Makefile ============================================================================== --- head/net/openmpi2/Makefile Thu Nov 24 15:06:50 2016 (r427024) +++ head/net/openmpi2/Makefile Thu Nov 24 15:13:22 2016 (r427025) @@ -2,6 +2,7 @@ PORTNAME= openmpi PORTVERSION= 2.0.1 +PORTREVISION= 1 CATEGORIES= net parallel MASTER_SITES= http://www.open-mpi.org/software/ompi/v${PORTVERSION:R}/downloads/ PKGNAMESUFFIX= 2 @@ -11,6 +12,7 @@ COMMENT= High Performance Message Passin LIB_DEPENDS= libhwloc.so:devel/hwloc \ libltdl.so:devel/libltdl \ + libevent.so:devel/libevent2 \ libmunge.so:security/munge HAS_CONFIGURE= yes @@ -31,6 +33,12 @@ CONFIGURE_ARGS+= --prefix=${PREFIX}/${MP --with-hwloc=${LOCALBASE} \ --with-libltdl=${LOCALBASE} \ --enable-mpi-fortran=usempi \ + --enable-mpi-cxx \ + --enable-cxx-exceptions \ + --enable-heterogeneous \ + --enable-mpi-thread-multiple \ + --with-libevent=${LOCALBASE}/include \ + --with-libevent-libdir=${LOCALBASE}/lib \ ompi_cv_fortran_ignore_tkr_data=0 LDFLAGS+= -L${LOCALBASE}/lib @@ -39,12 +47,14 @@ USE_LDCONFIG= ${PREFIX}/${MPIDIR}/lib \ MANPREFIX= ${PREFIX}/${MPIDIR} -OPTIONS_DEFINE= IPV6 SLURM TORQUE +OPTIONS_DEFINE= DEBUG IPV6 SLURM TORQUE TORQUE_DESC= Enable Torque support SLURM_DESC= Enable SLURM support OPTIONS_DEFAULT= SLURM OPTIONS_SUB= yes +DEBUG_CONFIGURE_ENABLE= debug + IPV6_CONFIGURE_ENABLE= ipv6 TORQUE_CONFIGURE_ON= --with-tm=${LOCALBASE} Modified: head/net/openmpi2/pkg-plist ============================================================================== --- head/net/openmpi2/pkg-plist Thu Nov 24 15:06:50 2016 (r427024) +++ head/net/openmpi2/pkg-plist Thu Nov 24 15:13:22 2016 (r427025) @@ -42,6 +42,37 @@ %%MPIDIR%%/include/mpif-sentinels.h %%MPIDIR%%/include/mpif-sizeof.h %%MPIDIR%%/include/mpif.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/comm.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/comm_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/constants.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/datatype.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/datatype_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/errhandler.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/errhandler_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/exception.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/file.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/file_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/functions.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/functions_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/group.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/group_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/info.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/info_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/intercomm.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/intercomm_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/intracomm.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/intracomm_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/mpicxx.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/op.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/op_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/request.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/request_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/status.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/status_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/topology.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/topology_inln.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/win.h +%%MPIDIR%%/include/openmpi/ompi/mpi/cxx/win_inln.h %%MPIDIR%%/include/openmpi/ompi/mpiext/affinity/c/mpiext_affinity_c.h %%MPIDIR%%/include/openmpi/ompi/mpiext/cuda/c/mpiext_cuda_c.h %%MPIDIR%%/lib/libmca_common_sm.la @@ -52,6 +83,10 @@ %%MPIDIR%%/lib/libmpi.so %%MPIDIR%%/lib/libmpi.so.20 %%MPIDIR%%/lib/libmpi.so.20.0.1 +%%MPIDIR%%/lib/libmpi_cxx.la +%%MPIDIR%%/lib/libmpi_cxx.so +%%MPIDIR%%/lib/libmpi_cxx.so.20 +%%MPIDIR%%/lib/libmpi_cxx.so.20.0.0 %%MPIDIR%%/lib/libmpi_mpifh.la %%MPIDIR%%/lib/libmpi_mpifh.so %%MPIDIR%%/lib/libmpi_mpifh.so.20