1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-15 07:56:36 +00:00

New port, science/hypre: Scalable Linear Solvers and Multigrid Methods

WWW: http://www.llnl.gov/casc/hypre/

PR:		219709
Submitted by:	pfg (maintainer)
Differential Revision:	https://reviews.freebsd.org/D11048
This commit is contained in:
Joseph Mingrone 2017-06-08 03:22:39 +00:00
parent fb0bb89695
commit 16600d0c13
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=442906
5 changed files with 143 additions and 0 deletions

View File

@ -63,6 +63,7 @@
SUBDIR += hdf5
SUBDIR += hdf5-18
SUBDIR += hs-bio
SUBDIR += hypre
SUBDIR += iboview
SUBDIR += isaac-cfd
SUBDIR += jstrack

53
science/hypre/Makefile Normal file
View File

@ -0,0 +1,53 @@
# Created by: Pedro Giffuni
# $FreeBSD$
PORTNAME= hypre
DISTVERSION= 2.11.2
CATEGORIES= science
MASTER_SITES= https://computation.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods/download/
MAINTAINER= pfg@FreeBSD.org
COMMENT= Scalable Linear Solvers and Multigrid Methods
LICENSE= LGPL21
LICENSE_FILE= ${WRKDIR}/${DISTNAME}/COPYING.LESSER
USES= blaslapack fortran localbase
USE_LDCONFIG= yes
WRKSRC= ${WRKDIR}/${DISTNAME}/src
HAS_CONFIGURE= yes
CONFIGURE_ARGS= --with-blas --with-blas-lib=${BLASLIB} \
--with-lapack --with-lapack-lib=${LAPACKLIB} \
--enable-shared
CONFIGURE_ENV= CC=mpicc CXX=mpicxx
OPTIONS_DEFINE= DOCS
OPTIONS_SINGLE= MPI
OPTIONS_SINGLE_MPI= MPICH2 OPENMPI
OPTIONS_DEFAULT= MPICH2
MPICH2_LIB_DEPENDS= libmpich.so.8:net/mpich2
OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi
.ifdef MAINTAINER_MODE
TEST_TARGET= check
.endif
do-install:
${INSTALL_DATA} ${WRKSRC}/hypre/include/* ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/hypre/lib/libHYPRE-2.11.2.so \
${STAGEDIR}${PREFIX}/lib/libHYPRE.so.2.11
${RLN} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.2.11 \
${STAGEDIR}${PREFIX}/lib/libHYPRE.so.2
${RLN} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.2.11 \
${STAGEDIR}${PREFIX}/lib/libHYPRE.so
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}/docs/*.pdf \
${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

3
science/hypre/distinfo Normal file
View File

@ -0,0 +1,3 @@
TIMESTAMP = 1496033213
SHA256 (hypre-2.11.2.tar.gz) = 25b6c1226411593f71bb5cf3891431afaa8c3fd487bdfe4faeeb55c6fdfb269e
SIZE (hypre-2.11.2.tar.gz) = 8077407

7
science/hypre/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
HYPRE: Scalable Linear Solvers and Multigrid Methods
HYPRE is a library of high performance preconditioners and solvers featuring
multigrid methods for the solution of large, sparse linear systems of equations
on massively parallel computers.
WWW: http://www.llnl.gov/casc/hypre/

79
science/hypre/pkg-plist Normal file
View File

@ -0,0 +1,79 @@
include/Cnames.h
include/HYPRE.h
include/HYPRE_DistributedMatrixPilutSolver_protos.h
include/HYPRE_DistributedMatrixPilutSolver_types.h
include/HYPRE_FEI.h
include/HYPRE_FEI_includes.h
include/HYPRE_IJ_mv.h
include/HYPRE_LinSysCore.h
include/HYPRE_MatvecFunctions.h
include/HYPRE_config.h
include/HYPRE_error_f.h
include/HYPRE_krylov.h
include/HYPRE_lobpcg.h
include/HYPRE_matrix_matrix_protos.h
include/HYPRE_parcsr_ls.h
include/HYPRE_parcsr_mv.h
include/HYPRE_seq_mv.h
include/HYPRE_sstruct_ls.h
include/HYPRE_sstruct_mv.h
include/HYPRE_struct_ls.h
include/HYPRE_struct_mv.h
include/HYPRE_utilities.h
include/HYPREf.h
include/LLNL_FEI_Fei.h
include/LLNL_FEI_Impl.h
include/LLNL_FEI_LSCore.h
include/LLNL_FEI_Matrix.h
include/LLNL_FEI_Solver.h
include/_hypre_IJ_mv.h
include/_hypre_parcsr_ls.h
include/_hypre_parcsr_mv.h
include/_hypre_sstruct_ls.h
include/_hypre_sstruct_mv.h
include/_hypre_struct_ls.h
include/_hypre_struct_mv.h
include/_hypre_utilities.h
include/cfei-hypre.h
include/cfei.h
include/cfei_hypre.h
include/colamd.h
include/csr_block_matrix.h
include/csr_matmultivec.h
include/distributed_matrix.h
include/fei_Data.hpp
include/fei_LinearSystemCore.hpp
include/fei_Lookup.hpp
include/fei_bool.h
include/fei_defs.h
include/fei_mpi.h
include/fortran.h
include/fortran_matrix.h
include/hypre_cfei.h
include/hypre_hopscotch_hash.h
include/interpreter.h
include/krylov.h
include/lobpcg.h
include/multivector.h
include/old_colamd.h
include/par_csr_block_matrix.h
include/par_csr_matmultivec.h
include/par_csr_pmvcomm.h
include/par_multivector.h
include/seq_multivector.h
include/seq_mv.h
include/slu_Cnames.h
include/slu_cdefs.h
include/slu_dcomplex.h
include/slu_ddefs.h
include/slu_scomplex.h
include/slu_sdefs.h
include/slu_util.h
include/slu_zdefs.h
include/supermatrix.h
include/temp_multivector.h
lib/libHYPRE.so
lib/libHYPRE.so.2
lib/libHYPRE.so.2.11
%%PORTDOCS%%%%DOCSDIR%%/HYPRE_ref_manual.pdf
%%PORTDOCS%%%%DOCSDIR%%/HYPRE_usr_manual.pdf