diff --git a/graphics/glvis/Makefile b/graphics/glvis/Makefile index 1f1dfba1a519..2815a78b624f 100644 --- a/graphics/glvis/Makefile +++ b/graphics/glvis/Makefile @@ -1,42 +1,43 @@ PORTNAME= glvis DISTVERSION= 4.2 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://glvis.github.io/releases/ PKGNAMESUFFIX= -mesh-visualizer # other software also has the name glvis DISTFILES= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight tool for accurate & flexible finite element visualization WWW= https://glvis.org/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= glm>0:math/glm \ xxd:editors/vim LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ libfreetype.so:print/freetype2 \ libHYPRE.so:science/hypre \ libmetis.so:math/metis \ libmfem.so:math/mfem \ libpng.so:graphics/png TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}scikit-image>0:graphics/py-scikit-image@${PY_FLAVOR} USES= cmake:testing gl python:test sdl tar:tgz USE_GL= gl glew USE_SDL= sdl2 USE_GITHUB= nodefault GH_TUPLE= GLVis:data:1fc2954:data/tests/data CMAKE_TESTING_ON= ENABLE_TESTS # 5 tests fail, likely because test baseline is for ubuntu CMAKE_ARGS= -DGLVIS_BASELINE_SYS=ubuntu-20.04 # baseline for tests PLIST_FILES= bin/${PORTNAME} BINARY_ALIAS= python3=${PYTHON_CMD} do-install: # workaround for https://github.com/GLVis/glvis/issues/234 ${INSTALL_PROGRAM} ${BUILD_WRKSRC}/glvis ${STAGEDIR}${PREFIX}/bin .include diff --git a/math/mfem/Makefile b/math/mfem/Makefile index dd7370c51881..2b06334f314c 100644 --- a/math/mfem/Makefile +++ b/math/mfem/Makefile @@ -1,53 +1,53 @@ PORTNAME= mfem DISTVERSIONPREFIX= v DISTVERSION= 4.4 -PORTREVISION= 5 +PORTREVISION= 6 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Lightweight, general, scalable C++ library for finite element methods WWW= https://mfem.org/ LICENSE= LGPL21 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:testing compiler:c++11-lang USE_GITHUB= yes USE_LDCONFIG= yes CMAKE_ON= BUILD_SHARED_LIBS CMAKE_TESTING_ON= MFEM_ENABLE_TESTING # tests are broken, see https://github.com/mfem/mfem/issues/3163 OPTIONS_DEFINE= METIS SUPERLU OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= METIS MPICH SUPERLU # should be the same MPI choice as in science/hypre OPTIONS_SUB= yes NOMPI_DESC= Build without parallel processing support OPENMPI_CMAKE_ON= -DTPL_ENABLE_MPI=OFF MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DTPL_ENABLE_MPI=ON MPICH_LIB_DEPENDS= libHYPRE.so:science/hypre \ libmetis.so:math/metis OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DTPL_ENABLE_MPI=ON OPENMPI_LIB_DEPENDS= libHYPRE.so:science/hypre \ libmetis.so:math/metis METIS_DESC= Build with metis METIS_CMAKE_BOOL= MFEM_USE_METIS METIS_LIB_DEPENDS= libmetis.so:math/metis SUPERLU_DESC= Enable SuperLU use SUPERLU_CMAKE_BOOL= MFEM_USE_SUPERLU SUPERLU_CMAKE_ON= -DSuperLUDist_DIR=${LOCALBASE} -DSuperLUDist_INCLUDE_DIRS=${LOCALBASE}/include/superlu SUPERLU_LIB_DEPENDS= libsuperlu_dist.so:math/superlu-dist SUPERLU_LDFLAGS= -L${LOCALBASE}/lib -lsuperlu_dist # workaround for https://github.com/mfem/mfem/issues/3171#issuecomment-1236591028 post-install-SUPERLU-on: # workaround for https://github.com/mfem/mfem/issues/3191 @${REINPLACE_CMD} -e 's|;${LOCALBASE}/include/superlu||' ${STAGEDIR}${PREFIX}/lib/cmake/mfem/MFEMConfig.cmake .include diff --git a/math/sundials/Makefile b/math/sundials/Makefile index db69d8a7fadd..3b7b8f621442 100644 --- a/math/sundials/Makefile +++ b/math/sundials/Makefile @@ -1,71 +1,72 @@ PORTNAME= sundials DISTVERSION= 6.3.0 +PORTREVISION= 1 CATEGORIES= math MASTER_SITES= https://github.com/LLNL/sundials/releases/download/v${DISTVERSION}/ MAINTAINER= yuri@FreeBSD.org COMMENT= SUite of Nonlinear and DIfferential/ALgebraic Equation Solvers WWW= https://computation.llnl.gov/projects/sundials LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:testing fortran localbase:ldflags python:build USE_LDCONFIG= yes CMAKE_ARGS= -DENABLE_PTHREAD:BOOL=ON \ -DBUILD_STATIC_LIBS:BOOL=OFF \ -DCMAKE_C_STANDARD=99 CMAKE_OFF= EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90 CMAKE_TESTING_ON= SUNDIALS_TEST_UNITTESTS \ EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90 FCFLAGS:= ${FFLAGS} # project checks that these flags are equal OPTIONS_DEFINE= BLAS EXAMPLES LAPACK MPI OPENMP OPTIONS_DEFAULT= LAPACK MPI OPENMP OPTIONS_GROUP= VECTORS OPTIONS_GROUP_VECTORS= HYPRE PETSC VECTORS_DESC= Alternative vector libraries OPTIONS_SUB= yes BLAS_DESC= Enable BLAS support BLAS_CMAKE_BOOL= ENABLE_BLAS BLAS_USES= blaslapack:openblas #EXAMPLES_CMAKE_BOOL= EXAMPLES_ENABLE_C EXAMPLES_ENABLE_CXX EXAMPLES_ENABLE_F77 EXAMPLES_ENABLE_F90 #EXAMPLES_CMAKE_ON= -DEXAMPLES_INSTALL_PATH=${EXAMPLESDIR} #PORTEXAMPLES= * HYPRE_DESC= HYPRE vectors support (also enables MPI) HYPRE_CMAKE_BOOL= ENABLE_HYPRE HYPRE_CMAKE_ON= -DHYPRE_INCLUDE_DIR=${LOCALBASE}/include \ -DHYPRE_LIBRARY_DIR=${LOCALBASE}/lib HYPRE_LIB_DEPENDS= libHYPRE.so:science/hypre # maybe is broken due to https://github.com/hypre-space/hypre/issues/464 HYPRE_IMPLIES= MPI HYPRE_PREVENTS= LAPACK # error: Incompatible sunindextype for LAPACK; disable LAPACK and rebuild HYPRE_BROKEN= ERROR: SUNDIALS interface to HYPRE is not functional. LAPACK_DESC= Use Lapack linear algebra (sets SUNDIALS_INDEX_TYPE=int32) LAPACK_USES= blaslapack:openblas LAPACK_CMAKE_BOOL= ENABLE_LAPACK MPI_CMAKE_BOOL= ENABLE_MPI MPI_LIB_DEPENDS= libmpich.so:net/mpich OPENMP_CMAKE_BOOL= ENABLE_OPENMP PETSC_DESC= PETSc vectors support (also enables MPI) PETSC_CMAKE_BOOL= ENABLE_PETSC PETSC_CMAKE_ON= -DPETSC_DIR=${LOCALBASE} \ -DPETSC_INCLUDE_DIR=${LOCALBASE}/include \ -DPETSC_LIBRARY_DIR=${LOCALBASE}/lib PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc PETSC_IMPLIES= MPI PETSC_PREVENTS= LAPACK # error: Incompatible sunindextype for LAPACK; disable LAPACK and rebuild PETSC_BROKEN= ERROR: PETSc not functional due to index size mismatch: SUNDIALS_INDEX_SIZE=64, but PETSc was built with 32-bit indices post-install: @${RM} ${STAGEDIR}${PREFIX}/include/sundials/LICENSE .include diff --git a/science/code_saturne/Makefile b/science/code_saturne/Makefile index 65c5f58151d5..f26fe6722f13 100644 --- a/science/code_saturne/Makefile +++ b/science/code_saturne/Makefile @@ -1,129 +1,129 @@ PORTNAME= code_saturne PORTVERSION= 7.1.1 DISTVERSIONPREFIX= v -PORTREVISION= 1 +PORTREVISION= 3 CATEGORIES= science parallel MAINTAINER= thierry@FreeBSD.org COMMENT= EDF's general purpose Computational Fluid Dynamics (CFD) software WWW= https://www.code-saturne.org/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= gsed:textproc/gsed LIB_DEPENDS= libsysinfo.so:devel/libsysinfo \ libcgns.so:science/cgnslib \ libhdf5.so:science/hdf5 \ libmedC.so:french/med RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ xmgrace:math/grace \ bash:shells/bash \ xterm:x11/xterm USE_GITHUB= yes GH_ACCOUNT= code-saturne USES= autoreconf bison compiler:c11 fortran gettext gnome gmake \ iconv localbase libtool pyqt:5 python:3.7+ shebangfix xorg USE_GNOME= libxml2 USE_PYQT= pyqt5 sip USE_XORG= x11 SHEBANG_FILES= install_saturne.py tests/unittests.py bin/*.py build-aux/*.py CFLAGS+= -D__XSI_VISIBLE CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2 GNU_CONFIGURE= yes CONFIGURE_ARGS= --without-salome --without-salome-yacs --without-salome-kernel \ --without-salome-gui --enable-python CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed USE_LDCONFIG= yes INSTALL_TARGET= install-strip BINARY_ALIAS= python=${PYTHON_CMD} \ pyrcc5=pyrcc5-${PYTHON_VER} \ pyuic5=pyuic5-${PYTHON_VER} OPTIONS_DEFINE= DOCS EXAMPLES BATCH BLAS HYPRE MPICH MUMPS PETSC SCOTCH OPTIONS_DEFAULT= BATCH BLAS HYPRE METIS MPICH MUMPS PETSC SCOTCH OPTIONS_RADIO= METIS OPTIONS_RADIO_METIS= METIS PARMETIS OPTIONS_SUB= yes BLAS_DESC= Support of BLAS BLAS_USES= blaslapack BLAS_CONFIGURE_ON= --with-blas=yes --with-blas-type=BLAS \ --with-blas-include=${LOCALBASE}/include/cblas \ --with-blas-lib=${LOCALBASE}/lib BLAS_LIB_DEPENDS= libcblas.so:math/cblas BATCH_DESC= Use Torque to submit batches BATCH_RUN_DEPENDS= pbs-config:sysutils/torque HYPRE_DESC= Support of HYPRE HYPRE_BUILD_DEPENDS= hypre>0:science/hypre HYPRE_RUN_DEPENDS= hypre>0:science/hypre HYPRE_CONFIGURE_ON= --with-hypre="${LOCALBASE}" MPICH_USES= mpi MPICH_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} MPICH_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mpi4py>0:net/py-mpi4py@${PY_FLAVOR} MPICH_CONFIGURE_WITH= mpi METIS_DESC= Support of METIS METIS_LIB_DEPENDS= libmetis.so:math/metis METIS_CONFIGURE_ON= --with-metis-include="${LOCALBASE}/include" MUMPS_DESC= Support of MUMPS MUMPS_LIB_DEPENDS= libsmumps.so:math/mumps MUMPS_CONFIGURE_ON= --with-mumps="${LOCALBASE}" MUMPS_CONFIGURE_ENV= MUMPS_LIBS="-lmpiseq -llapack" PARMETIS_DESC= Support of ParMETIS PARMETIS_LIB_DEPENDS= libparmetis.so:math/parmetis PARMETIS_CONFIGURE_ON= --with-metis-include="${LOCALBASE}/include/parmetis" \ --with-metis-lib="${LOCALBASE}/lib/parmetis" PARMETIS_CONFIGURE_ENV= LIBS=-lexecinfo PETSC_DESC= Support of PETSc PETSC_LIB_DEPENDS= libpetsc.so:science/PETSc PETSC_CONFIGURE_ON= --with-petsc="${LOCALBASE}" SCOTCH_DESC= Support of Scotch SCOTCH_LIB_DEPENDS= libscotch.so:cad/scotch SCOTCH_CONFIGURE_ON= --with-scotch-include="${LOCALBASE}/include" TEST_TARGET= check .if defined(PACKAGE_BUILDING) TERM= vt100 # Force for pointyhat to override su .else TERM?= vt100 # Default value needed for tput in jail or tinderbox .endif .include .if ${ARCH} == "i386" # /wrkdirs/usr/ports/science/code_saturne/work/code_saturne-5.3.0/src/apps/.libs # /libsaturne.so: # undefined reference to `__atomic_compare_exchange' CONFIGURE_ARGS+= --disable-openmp .endif .if ${PORT_OPTIONS:MDOCS} USE_TEX= tex:build BUILD_DEPENDS+= fig2dev:print/fig2dev \ doxygen:devel/doxygen \ dot:graphics/graphviz \ dvips:print/tex-dvipsk \ ${PYTHON_PKGNAMEPREFIX}sphinx>=0,1:textproc/py-sphinx@${PY_FLAVOR} BINARY_ALIAS+= sphinx-build=sphinx-build-${PYTHON_VER} ALL_TARGET= all pdf DOCS= AUTHORS ChangeLog README .endif pre-configure: ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/Makefile.am post-install: ${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/code_saturne/cs_solver post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${DOCS:C|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR} .include diff --git a/science/hypre/Makefile b/science/hypre/Makefile index c69c0184e04d..20639f8ce842 100644 --- a/science/hypre/Makefile +++ b/science/hypre/Makefile @@ -1,48 +1,47 @@ PORTNAME= hypre DISTVERSIONPREFIX= v -DISTVERSION= 2.25.0 +DISTVERSION= 2.26.0 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= Scalable Linear Solvers and Multigrid Methods WWW= https://computing.llnl.gov/projects/hypre-scalable-linear-solvers-multigrid-methods LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/../LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/../LICENSE-MIT USES= blaslapack cmake:testing fortran localbase USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= hypre-space WRKSRC_SUBDIR= src CMAKE_ON= HYPRE_ENABLE_SHARED HYPRE_WITH_OPENMP CMAKE_TESTING_ON= HYPRE_BUILD_TESTS # tests are only built and not run, see https://github.com/hypre-space/hypre/issues/502 OPTIONS_DEFINE= DOCS OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= NOMPI MPICH OPENMPI OPTIONS_DEFAULT= MPICH NOMPI_DESC= Build without parallel processing support NOMPI_CMAKE_ON= -DHYPRE_WITH_MPI=OFF -MPICH_LIB_DEPENDS= libmpich.so:net/mpich -MPICH_CONFIGURE_ENV= CC=${LOCALBASE}/bin/mpicc CXX=${LOCALBASE}/bin/mpicxx +MPICH_USES= mpi:mpich +MPICH_CMAKE_ON= -DHYPRE_WITH_MPI=ON -OPENMPI_LIB_DEPENDS= libmpi.so:net/openmpi -OPENMPI_CONFIGURE_ENV= CC=${LOCALBASE}/mpi/openmpi/bin/mpicc \ - CXX=${LOCALBASE}/mpi/openmpi/bin/mpicxx +OPENMPI_USES= mpi:openmpi +OPENMPI_CMAKE_ON= -DHYPRE_WITH_MPI=ON OPENMPI_BROKEN= doesn't switch to openmpi in cmake build, see https://github.com/hypre-space/hypre/issues/720 PORTDOCS= * post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} usr-manual ${STAGEDIR}${DOCSDIR} .include diff --git a/science/hypre/distinfo b/science/hypre/distinfo index d90a595d2534..7f55782639cf 100644 --- a/science/hypre/distinfo +++ b/science/hypre/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1655437893 -SHA256 (hypre-space-hypre-v2.25.0_GH0.tar.gz) = f9fc8371d91239fca694284dab17175bfda3821d7b7a871fd2e8f9d5930f303c -SIZE (hypre-space-hypre-v2.25.0_GH0.tar.gz) = 6671758 +TIMESTAMP = 1665940855 +SHA256 (hypre-space-hypre-v2.26.0_GH0.tar.gz) = c214084bddc61a06f3758d82947f7f831e76d7e3edeac2c78bb82d597686e05d +SIZE (hypre-space-hypre-v2.26.0_GH0.tar.gz) = 6727243 diff --git a/science/hypre/pkg-plist b/science/hypre/pkg-plist index daae88f27054..04e87686f4e8 100644 --- a/science/hypre/pkg-plist +++ b/science/hypre/pkg-plist @@ -1,59 +1,60 @@ include/HYPRE.h include/HYPRE_DistributedMatrixPilutSolver_protos.h include/HYPRE_DistributedMatrixPilutSolver_types.h include/HYPRE_IJ_mv.h include/HYPRE_MatvecFunctions.h include/HYPRE_config.h include/HYPRE_distributed_matrix_mv.h include/HYPRE_distributed_matrix_protos.h include/HYPRE_distributed_matrix_types.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/IJ_matrix.h include/IJ_vector.h include/_hypre_IJ_mv.h include/_hypre_blas.h include/_hypre_lapack.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/_hypre_utilities.hpp include/aux_par_vector.h include/aux_parcsr_matrix.h include/csr_block_matrix.h include/csr_matmultivec.h include/distributed_matrix.h include/f2c.h include/fortran.h include/fortran_matrix.h include/hypre_blas.h include/interpreter.h include/krylov.h include/lobpcg.h include/multivector.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/temp_multivector.h lib/cmake/HYPRE/HYPREConfig.cmake lib/cmake/HYPRE/HYPREConfigVersion.cmake lib/cmake/HYPRE/HYPRETargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/HYPRE/HYPRETargets.cmake lib/libHYPRE.so diff --git a/science/serac/Makefile b/science/serac/Makefile index c9d641545e3b..c5f6acdafe9c 100644 --- a/science/serac/Makefile +++ b/science/serac/Makefile @@ -1,53 +1,54 @@ PORTNAME= serac PORTVERSION= g20220823 +PORTREVISION= 1 CATEGORIES= science MAINTAINER= yuri@FreeBSD.org COMMENT= High order nonlinear thermomechanical simulation code WWW= https://github.com/LLNL/serac LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE LIB_DEPENDS= libaxom.so:science/axom \ libconduit.so:science/conduit \ libhdf5.so:science/hdf5 \ libHYPRE.so:science/hypre \ libmfem.so:math/mfem \ libsiloh5.so:science/silo USES= cmake:testing compiler:c++17-lang USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= LLNL GH_TAGNAME= 07b8ef1 GH_TUPLE= LLNL:blt:49971b88e631aba76a9990c7702ceee47a7c3216:LLNL_blt/cmake/blt \ LLNL:uberenv:2cd030dd8fa9ff381900bfbe12fe1eea44a57bb5:LLNL_uberenv/scripts/uberenv \ LLNL:serac_tests:2fee9739eadeb218e99f7f5549e0800df81ca757:LLNL_serac_tests/tests CMAKE_TESTING_ON= ENABLE_TESTS # tests fail to compile, see https://github.com/LLNL/serac/issues/786 CMAKE_ON= BUILD_SHARED_LIBS CMAKE_OFF= ENABLE_TESTS CMAKE_ARGS= -DAXOM_DIR=${LOCALBASE} \ -DCONDUIT_DIR=${LOCALBASE} \ -DMFEM_DIR=${LOCALBASE} OPTIONS_SINGLE= MPI OPTIONS_SINGLE_MPI= MPICH OPENMPI OPTIONS_DEFAULT= MPICH OPTIONS_SUB= yes MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DENABLE_MPI=ON \ -DMPI_C_COMPILER=${MPICC} \ -DMPI_CXX_COMPILER=${MPICXX} OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DENABLE_MPI=ON \ -DMPI_C_COMPILER=${MPICC} \ -DMPI_CXX_COMPILER=${MPICXX} OPENMPI_BROKEN= mixes OpenMPI and MPICH when both are installed, see https://github.com/LLNL/serac/issues/787 .include