Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Dec 2017 14:29:28 +0100
From:      Jan Beich <jbeich@FreeBSD.org>
To:        Yuri Victorovich <yuri@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r457352 - in head/math: . sundials sundials/files
Message-ID:  <efng-s3if-wny@FreeBSD.org>
In-Reply-To: <201712270747.vBR7lU8T066400@repo.freebsd.org> (Yuri Victorovich's message of "Wed, 27 Dec 2017 07:47:30 %2B0000 (UTC)")
References:  <201712270747.vBR7lU8T066400@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Yuri Victorovich <yuri@FreeBSD.org> writes:

> +HYPRE_DESC=		HYPRE vectors support (also enables MPI)
> +PETSC_DESC=		PETSc vectors support (also enables MPI)
> +SUPERLUMT_DESC=		Sparse matrix factorization through SUPERLUMT
> +OPTIONS_SUB=		yes
[...]
> +HYPRE_CMAKE_BOOL=	HYPRE_ENABLE
> +HYPRE_CMAKE_ON=		-DHYPRE_INCLUDE_DIR=${LOCALBASE}/include \
> +			-DHYPRE_LIBRARY_DIR=${LOCALBASE}/lib \
> +			-DMPI_ENABLE:BOOL=ON
> +HYPRE_LIB_DEPENDS=	libHYPRE.so:science/hypre
[...]
> +MPI_CMAKE_ON=		-DMPI_ENABLE:BOOL=ON
> +
> +PETSC_CMAKE_BOOL=	PETSC_ENABLE
> +PETSC_CMAKE_ON=		-DPETSC_INCLUDE_DIR=${LOCALBASE}/include \
> +			-DPETSC_LIBRARY_DIR=${LOCALBASE}/lib \
> +			-DMPI_ENABLE:BOOL=ON
> +PETSC_LIB_DEPENDS=	libpetsc.so:science/PETSc
[...]
> +.include <bsd.port.options.mk>
> +
> +.if ${PORT_OPTIONS:MMPI} || ${PORT_OPTIONS:MHYPRE} || ${PORT_OPTIONS:MPETSC}
> +LIB_DEPENDS+=	libmpich.so:net/mpich2
> +
> +PLIST_FILES=	include/nvector/nvector_parallel.h \
> +		include/sundials/sundials_mpi_types.h \
> +		lib/libsundials_nvecparallel.so \
> +		lib/libsundials_nvecparallel.so.${DISTVERSION:R:R} \
> +		lib/libsundials_nvecparallel.so.${DISTVERSION}
> +.endif

Read /usr/ports/CHANGES@20150818 and try the following instead

...
HYPRE_IMPLIES=  MPI

MPI_LIB_DEPENDS=libmpich.so:net/mpich2
MPI_CMAKE_BOOL=	MPI_ENABLE
MPI_PLIST_FILES=include/nvector/nvector_parallel.h \
		include/sundials/sundials_mpi_types.h \
		lib/libsundials_nvecparallel.so \
		lib/libsundials_nvecparallel.so.${DISTVERSION:R:R} \
		lib/libsundials_nvecparallel.so.${DISTVERSION}

...
PETSC_IMPLIES=  MPI



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?efng-s3if-wny>