diff --git a/math/sundials/Makefile b/math/sundials/Makefile index 530f2a1d9ea4..132598b618a8 100644 --- a/math/sundials/Makefile +++ b/math/sundials/Makefile @@ -1,88 +1,88 @@ PORTNAME= sundials DISTVERSION= 7.5.0 -PORTREVISION= 1 +PORTREVISION= 2 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://computing.llnl.gov/projects/sundials \ https://github.com/LLNL/sundials LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:testing fortran localbase:ldflags python:build # 4 tests fail, see https://github.com/LLNL/sundials/issues/220 USE_LDCONFIG= yes CMAKE_ARGS= -DCMAKE_C_STANDARD=99 CMAKE_ON= ENABLE_PTHREAD CMAKE_OFF= BUILD_STATIC_LIBS \ 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 KLU LAPACK MPI OPENMP OPTIONS_DEFAULT= KLU LAPACK MPI OPENMP # no OpenMP on armv7 .if !exists(/usr/include/omp.h) OPTIONS_EXCLUDE= OPENMP .endif 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. KLU_DESC= Use KLU package that is part of suitesparse KLU_CMAKE_BOOL= ENABLE_KLU KLU_CMAKE_ON= -DKLU_INCLUDE_DIR=${LOCALBASE}/include/suitesparse -DKLU_LIBRARY_DIR=${LOCALBASE}/lib KLU_LIB_DEPENDS= libamd.so:math/suitesparse-amd \ libbtf.so:math/suitesparse-btf \ libcolamd.so:math/suitesparse-colamd \ libklu.so:math/suitesparse-klu \ libsuitesparseconfig.so:math/suitesparse-config 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 # tests as of 7.5.0: 97% tests passed, 5 tests failed out of 190, see https://github.com/LLNL/sundials/issues/792 .include diff --git a/science/code_saturne/Makefile b/science/code_saturne/Makefile index df0c580f7cb3..1827ed1891fb 100644 --- a/science/code_saturne/Makefile +++ b/science/code_saturne/Makefile @@ -1,119 +1,119 @@ PORTNAME= code_saturne PORTVERSION= 8.1.1 -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= science parallel MASTER_SITES= https://www.code-saturne.org/releases/ 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= ${MPI4PY} \ gsed:textproc/gsed LIB_DEPENDS= libsysinfo.so:devel/libsysinfo \ libcgns.so:science/cgnslib \ libpetsc.so:science/PETSc \ libHYPRE.so:science/hypre \ libhdf5.so:science/hdf5 \ libscotch.so:cad/scotch \ libsmumps.so:math/mumps \ libcblas.so:math/cblas \ libmedC.so:french/med RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:math/py-matplotlib@${PY_FLAVOR} \ ${MPI4PY} \ xmgrace:math/grace \ bash:shells/bash \ xterm:x11/xterm USES= autoreconf bison blaslapack compiler:c11 fortran gettext gnome gmake \ iconv localbase libtool mpi pyqt:5 python shebangfix xorg USE_GNOME= libxml2 USE_PYQT= pyqt5 USE_XORG= x11 SHEBANG_FILES= install_saturne.py tests/unittests.py build-aux/*.py CFLAGS+= -D__XSI_VISIBLE -Wno-error=incompatible-function-pointer-types 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 \ --with-blas=yes --with-blas-type=BLAS \ --with-blas-include=${LOCALBASE}/include/cblas \ --with-blas-lib=${LOCALBASE}/lib \ --with-hypre="${LOCALBASE}" --with-mpi \ --with-mumps="${LOCALBASE}" --with-petsc="${LOCALBASE}" \ --with-scotch-include="${LOCALBASE}/include" CONFIGURE_ENV= ac_cv_path_SED=${LOCALBASE}/bin/gsed ldflags_rpath="-R" \ MUMPS_LIBS="-lmpiseq -llapack" GNU_CONFIGURE_MANPREFIX=${PREFIX}/share USE_LDCONFIG= yes INSTALL_TARGET= install-strip BINARY_ALIAS= python=${PYTHON_CMD} \ pyrcc5=pyrcc5-${PYTHON_VER} \ pyuic5=pyuic5-${PYTHON_VER} OPTIONS_DEFINE= DOCS OPTIONS_DEFAULT= METIS OPTIONS_RADIO= METIS OPTIONS_RADIO_METIS= METIS PARMETIS OPTIONS_SUB= yes METIS_DESC= Support of METIS METIS_LIB_DEPENDS= libmetis.so:math/metis METIS_CONFIGURE_ON= --with-metis-include="${LOCALBASE}/include" 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_CONFIGURE_ENV= LIBS=-lexecinfo 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 .else CONFIGURE_ARGS+= --enable-openmp .endif .if ${PORT_OPTIONS:MDOCS} USES+= tex 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 PORTDOCS= * .endif pre-configure: ${REINPLACE_CMD} -e 's|/usr/bin/env python|${PYTHON_CMD}|' \ ${WRKSRC}/Makefile.am ${REINPLACE_CMD} -e 's|make -s|${GMAKE} -s|' ${WRKSRC}/m4/cs_petsc.m4 .for cs in config/cs_auto_flags.sh libple/config/ple_auto_flags.sh ${REINPLACE_CMD} -e 's|fopenmp=libomp|fopenmp|' ${WRKSRC}/${cs} .endfor 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} .include diff --git a/science/hypre/Makefile b/science/hypre/Makefile index 631946cb119a..51e952013434 100644 --- a/science/hypre/Makefile +++ b/science/hypre/Makefile @@ -1,74 +1,73 @@ PORTNAME= hypre DISTVERSIONPREFIX= v -DISTVERSION= 2.33.0 -PORTREVISION= 2 +DISTVERSION= 3.1.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 \ https://github.com/hypre-space/hypre LICENSE= APACHE20 MIT LICENSE_COMB= dual LICENSE_FILE_APACHE20= ${WRKSRC}/../LICENSE-APACHE LICENSE_FILE_MIT= ${WRKSRC}/../LICENSE-MIT .if !exists(/usr/include/omp.h) BROKEN= requires OpenMP support that is missing on this architecture .endif LIB_DEPENDS= libsuperlu.so:math/superlu USES= blaslapack:openblas cmake:testing fortran localbase USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= hypre-space WRKSRC_SUBDIR= src CMAKE_ON= BUILD_SHARED_LIBS HYPRE_ENABLE_OPENMP HYPRE_ENABLE_SUPERLU CMAKE_OFF= HYPRE_ENABLE_HYPRE_BLAS HYPRE_ENABLE_HYPRE_LAPACK CMAKE_ARGS= -DTPL_BLAS_LIBRARIES="${_BLASLIB}" \ -DTPL_SUPERLU_LIBRARIES="${LOCALBASE}/lib/libsuperlu.so" \ -DTPL_SUPERLU_INCLUDE_DIRS="${LOCALBASE}/include/superlu" 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_ENABLE_MPI=OFF MPICH_USES= mpi:mpich MPICH_CMAKE_ON= -DHYPRE_ENABLE_MPI=ON OPENMPI_USES= mpi:openmpi OPENMPI_CMAKE_ON= -DHYPRE_ENABLE_MPI=ON OPENMPI_BROKEN= doesn't switch to openmpi in cmake build, see https://github.com/hypre-space/hypre/issues/720 PORTDOCS= * xpost-install: ${MV} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so \ ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.0 ${RLN} ${STAGEDIR}${PREFIX}/lib/libHYPRE.so.0 \ ${STAGEDIR}${PREFIX}/lib/libHYPRE.so post-install-DOCS-on: ${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/docs && ${COPYTREE_SHARE} usr-manual ${STAGEDIR}${DOCSDIR} post-test: # run tests; unclear how to to run tests, see https://github.com/hypre-space/hypre/issues/502 .for t in ij ij_assembly ij_mv maxwell_unscaled @cd ${WRKSRC}/test && \ ${ECHO} "==> running test ${t}" && \ ${BUILD_WRKSRC}/test/${t} .endfor # the test ij_mv fails, see https://github.com/hypre-space/hypre/issues/1161 .include diff --git a/science/hypre/distinfo b/science/hypre/distinfo index 3f0d432f595c..92fd9ac323e4 100644 --- a/science/hypre/distinfo +++ b/science/hypre/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1743709698 -SHA256 (hypre-space-hypre-v2.33.0_GH0.tar.gz) = 0f9103c34bce7a5dcbdb79a502720fc8aab4db9fd0146e0791cde7ec878f27da -SIZE (hypre-space-hypre-v2.33.0_GH0.tar.gz) = 7514919 +TIMESTAMP = 1774904308 +SHA256 (hypre-space-hypre-v3.1.0_GH0.tar.gz) = a6879ae9375d95c26afd97141d61e7a8092807333bf40cd180b385aed7351b2d +SIZE (hypre-space-hypre-v3.1.0_GH0.tar.gz) = 8047241 diff --git a/science/hypre/pkg-plist b/science/hypre/pkg-plist index 1480e7981071..e7bf6506006a 100644 --- a/science/hypre/pkg-plist +++ b/science/hypre/pkg-plist @@ -1,59 +1,47 @@ 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_fortran.h +include/_hypre_fortran_matrix.h +include/_hypre_krylov.h +include/_hypre_lobpcg.h +include/_hypre_lobpcg_csr_matmultivec.h +include/_hypre_lobpcg_interpreter.h +include/_hypre_lobpcg_multivector.h +include/_hypre_lobpcg_par_csr_matmultivec.h +include/_hypre_lobpcg_par_csr_pmvcomm.h +include/_hypre_lobpcg_par_multivector.h +include/_hypre_lobpcg_seq_multivector.h +include/_hypre_lobpcg_temp_multivector.h +include/_hypre_parcsr_block_mv.h include/_hypre_parcsr_ls.h include/_hypre_parcsr_mv.h include/_hypre_seq_block_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_struct_mv.hpp 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/fortran.h -include/fortran_matrix.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 -lib/libHYPRE.so.2.33.0 -lib/libHYPRE.so.233 +lib/libHYPRE.so.3.1.0 +lib/libHYPRE.so.301