diff --git a/math/sundials/Makefile b/math/sundials/Makefile index 77491cbb4459..7fb7edbf9c2c 100644 --- a/math/sundials/Makefile +++ b/math/sundials/Makefile @@ -1,88 +1,94 @@ PORTNAME= sundials -DISTVERSION= 7.5.0 -PORTREVISION= 3 +DISTVERSION= 7.7.0 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 +OPTIONS_DEFINE= BLAS EXAMPLES KLU LAPACK MPI OPENMP SUPERLUMT +OPTIONS_DEFAULT= KLU LAPACK MPI OPENMP SUPERLUMT # 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 +SUPERLUMT_DESC= Use SuperLU_MT sparse linear solver +SUPERLUMT_CMAKE_BOOL= ENABLE_SUPERLUMT +SUPERLUMT_CMAKE_ON= -DSUPERLUMT_INCLUDE_DIR=${LOCALBASE}/include/superlu_mt \ + -DSUPERLUMT_LIBRARY_DIR=${LOCALBASE}/lib +SUPERLUMT_LIB_DEPENDS= libsuperlu_mt_PTHREAD.so:math/superlu-mt + + 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/math/sundials/distinfo b/math/sundials/distinfo index 416edf7db310..d8f8b504bbb0 100644 --- a/math/sundials/distinfo +++ b/math/sundials/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1761757690 -SHA256 (sundials-7.5.0.tar.gz) = 089ac659507def738b7a65b574ffe3a900d38569e3323d9709ebed3e445adecc -SIZE (sundials-7.5.0.tar.gz) = 92920912 +TIMESTAMP = 1780704301 +SHA256 (sundials-7.7.0.tar.gz) = 115bebf25ad0380428e389b8a1a7896725f33cd7c98bbaec8ce2a9ae13812c46 +SIZE (sundials-7.7.0.tar.gz) = 25610795 diff --git a/math/sundials/pkg-plist b/math/sundials/pkg-plist index e14f29f9e485..5cca22ee4b3a 100644 --- a/math/sundials/pkg-plist +++ b/math/sundials/pkg-plist @@ -1,215 +1,243 @@ include/arkode/arkode.h +include/arkode/arkode.hpp include/arkode/arkode_arkstep.h +include/arkode/arkode_arkstep.hpp +include/arkode/arkode_arkstep_deprecated.h include/arkode/arkode_bandpre.h include/arkode/arkode_bbdpre.h include/arkode/arkode_butcher.h include/arkode/arkode_butcher_dirk.h include/arkode/arkode_butcher_erk.h include/arkode/arkode_erkstep.h +include/arkode/arkode_erkstep.hpp +include/arkode/arkode_erkstep_deprecated.h include/arkode/arkode_forcingstep.h +include/arkode/arkode_forcingstep.hpp include/arkode/arkode_ls.h include/arkode/arkode_lsrkstep.h +include/arkode/arkode_lsrkstep.hpp include/arkode/arkode_mristep.h +include/arkode/arkode_mristep.hpp +include/arkode/arkode_mristep_deprecated.h include/arkode/arkode_splittingstep.h +include/arkode/arkode_splittingstep.hpp include/arkode/arkode_sprk.h include/arkode/arkode_sprkstep.h +include/arkode/arkode_sprkstep.hpp +include/arkode/arkode_sprkstep_deprecated.h include/cvode/cvode.h +include/cvode/cvode.hpp include/cvode/cvode_bandpre.h include/cvode/cvode_bbdpre.h include/cvode/cvode_diag.h include/cvode/cvode_ls.h include/cvode/cvode_proj.h include/cvodes/cvodes.h +include/cvodes/cvodes.hpp include/cvodes/cvodes_bandpre.h include/cvodes/cvodes_bbdpre.h include/cvodes/cvodes_diag.h include/cvodes/cvodes_ls.h include/cvodes/cvodes_proj.h include/ida/ida.h +include/ida/ida.hpp include/ida/ida_bbdpre.h include/ida/ida_ls.h include/idas/idas.h +include/idas/idas.hpp include/idas/idas_bbdpre.h include/idas/idas_ls.h include/kinsol/kinsol.h +include/kinsol/kinsol.hpp include/kinsol/kinsol_bbdpre.h include/kinsol/kinsol_ls.h include/nvector/nvector_manyvector.h %%MPI%%include/nvector/nvector_mpimanyvector.h %%MPI%%include/nvector/nvector_mpiplusx.h %%OPENMP%%include/nvector/nvector_openmp.h %%MPI%%include/nvector/nvector_parallel.h %%HYPRE%%include/nvector/nvector_parhyp.h %%PETSC%%include/nvector/nvector_petsc.h include/nvector/nvector_pthreads.h include/nvector/nvector_serial.h include/sunadaptcontroller/sunadaptcontroller_imexgus.h include/sunadaptcontroller/sunadaptcontroller_mrihtol.h include/sunadaptcontroller/sunadaptcontroller_soderlind.h include/sunadjointcheckpointscheme/sunadjointcheckpointscheme_fixed.h include/sunadjointcheckpointscheme/sundials_adjointcheckpointscheme.h include/sunadjointcheckpointscheme/sundials_adjointstepper.h include/sundials/NOTICE include/sundials/priv/sundials_context_impl.h include/sundials/priv/sundials_errors_impl.h include/sundials/priv/sundials_logger_macros.h %%MPI%%include/sundials/priv/sundials_mpi_errors_impl.h include/sundials/sundials_adaptcontroller.h +include/sundials/sundials_adaptcontroller.hpp include/sundials/sundials_adjointcheckpointscheme.h +include/sundials/sundials_adjointcheckpointscheme.hpp include/sundials/sundials_adjointstepper.h +include/sundials/sundials_adjointstepper.hpp include/sundials/sundials_band.h include/sundials/sundials_base.hpp +include/sundials/sundials_classview.hpp include/sundials/sundials_config.h include/sundials/sundials_context.h include/sundials/sundials_context.hpp include/sundials/sundials_convertibleto.hpp include/sundials/sundials_core.h include/sundials/sundials_core.hpp include/sundials/sundials_dense.h include/sundials/sundials_direct.h include/sundials/sundials_domeigestimator.h +include/sundials/sundials_domeigestimator.hpp include/sundials/sundials_errors.h include/sundials/sundials_export.h include/sundials/sundials_futils.h include/sundials/sundials_iterative.h include/sundials/sundials_linearsolver.h include/sundials/sundials_linearsolver.hpp include/sundials/sundials_logger.h +include/sundials/sundials_logger.hpp include/sundials/sundials_math.h include/sundials/sundials_matrix.h include/sundials/sundials_matrix.hpp include/sundials/sundials_memory.h include/sundials/sundials_memory.hpp %%MPI%%include/sundials/sundials_mpi_errors.h %%MPI%%include/sundials/sundials_mpi_types.h include/sundials/sundials_nonlinearsolver.h include/sundials/sundials_nonlinearsolver.hpp include/sundials/sundials_nvector.h include/sundials/sundials_nvector.hpp include/sundials/sundials_profiler.h include/sundials/sundials_profiler.hpp include/sundials/sundials_stepper.h +include/sundials/sundials_stepper.hpp include/sundials/sundials_types.h include/sundials/sundials_types_deprecated.h include/sundials/sundials_version.h include/sundomeigest/sundomeigest_arnoldi.h include/sundomeigest/sundomeigest_power.h include/sunlinsol/sunlinsol_band.h include/sunlinsol/sunlinsol_dense.h %%KLU%%include/sunlinsol/sunlinsol_klu.h %%LAPACK%%include/sunlinsol/sunlinsol_lapackband.h %%LAPACK%%include/sunlinsol/sunlinsol_lapackdense.h include/sunlinsol/sunlinsol_pcg.h include/sunlinsol/sunlinsol_spbcgs.h include/sunlinsol/sunlinsol_spfgmr.h include/sunlinsol/sunlinsol_spgmr.h include/sunlinsol/sunlinsol_sptfqmr.h +%%SUPERLUMT%%include/sunlinsol/sunlinsol_superlumt.h include/sunmatrix/sunmatrix_band.h include/sunmatrix/sunmatrix_dense.h include/sunmatrix/sunmatrix_sparse.h include/sunmemory/sunmemory_system.h include/sunnonlinsol/sunnonlinsol_fixedpoint.h include/sunnonlinsol/sunnonlinsol_newton.h lib/cmake/sundials/SUNDIALSConfig.cmake lib/cmake/sundials/SUNDIALSConfigVersion.cmake lib/cmake/sundials/SUNDIALSTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/sundials/SUNDIALSTargets.cmake lib/libsundials_arkode.so lib/libsundials_arkode.so.6 -lib/libsundials_arkode.so.6.5.0 +lib/libsundials_arkode.so.6.7.0 lib/libsundials_core.so lib/libsundials_core.so.7 -lib/libsundials_core.so.7.5.0 +lib/libsundials_core.so.7.7.0 lib/libsundials_cvode.so lib/libsundials_cvode.so.7 -lib/libsundials_cvode.so.7.5.0 +lib/libsundials_cvode.so.7.7.0 lib/libsundials_cvodes.so lib/libsundials_cvodes.so.7 -lib/libsundials_cvodes.so.7.5.0 +lib/libsundials_cvodes.so.7.7.0 lib/libsundials_ida.so lib/libsundials_ida.so.7 -lib/libsundials_ida.so.7.5.0 +lib/libsundials_ida.so.7.7.0 lib/libsundials_idas.so lib/libsundials_idas.so.6 -lib/libsundials_idas.so.6.5.0 +lib/libsundials_idas.so.6.7.0 lib/libsundials_kinsol.so lib/libsundials_kinsol.so.7 -lib/libsundials_kinsol.so.7.5.0 +lib/libsundials_kinsol.so.7.7.0 lib/libsundials_nvecmanyvector.so lib/libsundials_nvecmanyvector.so.7 -lib/libsundials_nvecmanyvector.so.7.5.0 +lib/libsundials_nvecmanyvector.so.7.7.0 %%MPI%%lib/libsundials_nvecmpimanyvector.so %%MPI%%lib/libsundials_nvecmpimanyvector.so.7 -%%MPI%%lib/libsundials_nvecmpimanyvector.so.7.5.0 +%%MPI%%lib/libsundials_nvecmpimanyvector.so.7.7.0 %%MPI%%lib/libsundials_nvecmpiplusx.so %%MPI%%lib/libsundials_nvecmpiplusx.so.7 -%%MPI%%lib/libsundials_nvecmpiplusx.so.7.5.0 +%%MPI%%lib/libsundials_nvecmpiplusx.so.7.7.0 %%OPENMP%%lib/libsundials_nvecopenmp.so %%OPENMP%%lib/libsundials_nvecopenmp.so.7 -%%OPENMP%%lib/libsundials_nvecopenmp.so.7.5.0 +%%OPENMP%%lib/libsundials_nvecopenmp.so.7.7.0 %%MPI%%lib/libsundials_nvecparallel.so %%MPI%%lib/libsundials_nvecparallel.so.7 -%%MPI%%lib/libsundials_nvecparallel.so.7.5.0 +%%MPI%%lib/libsundials_nvecparallel.so.7.7.0 %%HYPRE%%lib/libsundials_nvecparhyp.so %%HYPRE%%lib/libsundials_nvecparhyp.so.7 -%%HYPRE%%lib/libsundials_nvecparhyp.so.7.5.0 +%%HYPRE%%lib/libsundials_nvecparhyp.so.7.7.0 %%PETSC%%lib/libsundials_nvecpetsc.so %%PETSC%%lib/libsundials_nvecpetsc.so.7 -%%PETSC%%lib/libsundials_nvecpetsc.so.7.5.0 +%%PETSC%%lib/libsundials_nvecpetsc.so.7.7.0 lib/libsundials_nvecpthreads.so lib/libsundials_nvecpthreads.so.7 -lib/libsundials_nvecpthreads.so.7.5.0 +lib/libsundials_nvecpthreads.so.7.7.0 lib/libsundials_nvecserial.so lib/libsundials_nvecserial.so.7 -lib/libsundials_nvecserial.so.7.5.0 +lib/libsundials_nvecserial.so.7.7.0 lib/libsundials_sundomeigestarnoldi.so lib/libsundials_sundomeigestarnoldi.so.1 -lib/libsundials_sundomeigestarnoldi.so.1.0.0 +lib/libsundials_sundomeigestarnoldi.so.1.2.0 lib/libsundials_sundomeigestpower.so lib/libsundials_sundomeigestpower.so.1 -lib/libsundials_sundomeigestpower.so.1.0.0 +lib/libsundials_sundomeigestpower.so.1.2.0 lib/libsundials_sunlinsolband.so lib/libsundials_sunlinsolband.so.5 -lib/libsundials_sunlinsolband.so.5.5.0 +lib/libsundials_sunlinsolband.so.5.7.0 lib/libsundials_sunlinsoldense.so lib/libsundials_sunlinsoldense.so.5 -lib/libsundials_sunlinsoldense.so.5.5.0 +lib/libsundials_sunlinsoldense.so.5.7.0 %%KLU%%lib/libsundials_sunlinsolklu.so %%KLU%%lib/libsundials_sunlinsolklu.so.5 -%%KLU%%lib/libsundials_sunlinsolklu.so.5.5.0 +%%KLU%%lib/libsundials_sunlinsolklu.so.5.7.0 %%LAPACK%%lib/libsundials_sunlinsollapackband.so %%LAPACK%%lib/libsundials_sunlinsollapackband.so.5 -%%LAPACK%%lib/libsundials_sunlinsollapackband.so.5.5.0 +%%LAPACK%%lib/libsundials_sunlinsollapackband.so.5.7.0 %%LAPACK%%lib/libsundials_sunlinsollapackdense.so %%LAPACK%%lib/libsundials_sunlinsollapackdense.so.5 -%%LAPACK%%lib/libsundials_sunlinsollapackdense.so.5.5.0 +%%LAPACK%%lib/libsundials_sunlinsollapackdense.so.5.7.0 lib/libsundials_sunlinsolpcg.so lib/libsundials_sunlinsolpcg.so.5 -lib/libsundials_sunlinsolpcg.so.5.5.0 +lib/libsundials_sunlinsolpcg.so.5.7.0 lib/libsundials_sunlinsolspbcgs.so lib/libsundials_sunlinsolspbcgs.so.5 -lib/libsundials_sunlinsolspbcgs.so.5.5.0 +lib/libsundials_sunlinsolspbcgs.so.5.7.0 lib/libsundials_sunlinsolspfgmr.so lib/libsundials_sunlinsolspfgmr.so.5 -lib/libsundials_sunlinsolspfgmr.so.5.5.0 +lib/libsundials_sunlinsolspfgmr.so.5.7.0 lib/libsundials_sunlinsolspgmr.so lib/libsundials_sunlinsolspgmr.so.5 -lib/libsundials_sunlinsolspgmr.so.5.5.0 +lib/libsundials_sunlinsolspgmr.so.5.7.0 lib/libsundials_sunlinsolsptfqmr.so lib/libsundials_sunlinsolsptfqmr.so.5 -lib/libsundials_sunlinsolsptfqmr.so.5.5.0 +lib/libsundials_sunlinsolsptfqmr.so.5.7.0 +%%SUPERLUMT%%lib/libsundials_sunlinsolsuperlumt.so +%%SUPERLUMT%%lib/libsundials_sunlinsolsuperlumt.so.5 +%%SUPERLUMT%%lib/libsundials_sunlinsolsuperlumt.so.5.7.0 lib/libsundials_sunmatrixband.so lib/libsundials_sunmatrixband.so.5 -lib/libsundials_sunmatrixband.so.5.5.0 +lib/libsundials_sunmatrixband.so.5.7.0 lib/libsundials_sunmatrixdense.so lib/libsundials_sunmatrixdense.so.5 -lib/libsundials_sunmatrixdense.so.5.5.0 +lib/libsundials_sunmatrixdense.so.5.7.0 lib/libsundials_sunmatrixsparse.so lib/libsundials_sunmatrixsparse.so.5 -lib/libsundials_sunmatrixsparse.so.5.5.0 +lib/libsundials_sunmatrixsparse.so.5.7.0 lib/libsundials_sunnonlinsolfixedpoint.so lib/libsundials_sunnonlinsolfixedpoint.so.4 -lib/libsundials_sunnonlinsolfixedpoint.so.4.5.0 +lib/libsundials_sunnonlinsolfixedpoint.so.4.7.0 lib/libsundials_sunnonlinsolnewton.so lib/libsundials_sunnonlinsolnewton.so.4 -lib/libsundials_sunnonlinsolnewton.so.4.5.0 +lib/libsundials_sunnonlinsolnewton.so.4.7.0