diff --git a/math/mfem/Makefile b/math/mfem/Makefile index fee19a30aa87..517c90f35c8a 100644 --- a/math/mfem/Makefile +++ b/math/mfem/Makefile @@ -1,53 +1,53 @@ PORTNAME= mfem DISTVERSIONPREFIX= v DISTVERSION= 4.4 -PORTREVISION= 10 +PORTREVISION= 11 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/superlu-dist/Makefile b/math/superlu-dist/Makefile index fe8bb05c42ee..296b54e7f418 100644 --- a/math/superlu-dist/Makefile +++ b/math/superlu-dist/Makefile @@ -1,58 +1,57 @@ PORTNAME= superlu-dist DISTVERSIONPREFIX= v -DISTVERSION= 8.2.1 -PORTREVISION= 2 +DISTVERSION= 9.0.0 CATEGORIES= math MAINTAINER= yuri@FreeBSD.org COMMENT= Distributed memory, MPI based SuperLU WWW= https://portal.nersc.gov/project/sparse/superlu/ LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/License.txt USES= cmake:testing fortran pkgconfig USE_LDCONFIG= yes USE_GITHUB= yes GH_ACCOUNT= xiaoyeli GH_PROJECT= superlu_dist CMAKE_ON= USE_XSDK_DEFAULTS BUILD_SHARED_LIBS CMAKE_OFF= enable_tests enable_examples TPL_ENABLE_PARMETISLIB CMAKE_TESTING_ON= enable_tests # many tests fail, see https://github.com/xiaoyeli/superlu_dist/issues/113 OPTIONS_DEFINE= DOCS FORTRAN OPTIONS_SINGLE= BLAS MPI OPTIONS_SINGLE_BLAS= ATLAS OPENBLAS REFERENCE OPTIONS_SINGLE_MPI= MPICH OPENMPI OPTIONS_DEFAULT= FORTRAN MPICH REFERENCE OPTIONS_SUB= yes # all BLAS-related options ATLAS_USES= blaslapack:atlas ATLAS_CMAKE_ON= -DBLA_VENDOR:STRING="ATLAS" OPENBLAS_USES= blaslapack:openblas OPENBLAS_CMAKE_ON= -DBLA_VENDOR:STRING="OpenBLAS" REFERENCE_DESC= Reference blas implementation REFERENCE_USES= blaslapack REFERENCE_CMAKE_ON= -DBLA_VENDOR:STRING="Generic" # other options FORTRAN_CMAKE_BOOL= XSDK_ENABLE_Fortran MPICH_USES= mpi:mpich OPENMPI_USES= mpi:openmpi post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/DOC && ${COPYTREE_SHARE} "ug.pdf" ${STAGEDIR}${DOCSDIR} post-install-FORTRAN-on: # workaround for https://github.com/xiaoyeli/superlu_dist/issues/112 @${RM} -r ${STAGEDIR}${PREFIX}/include/FORTRAN/CMakeFiles # move .mod files to a proper location @cd ${STAGEDIR}${PREFIX}/include && \ ${MV} FORTRAN/* . && \ ${RMDIR} FORTRAN .include diff --git a/math/superlu-dist/distinfo b/math/superlu-dist/distinfo index 61b0ec0f7e5a..e8158ca4ce4a 100644 --- a/math/superlu-dist/distinfo +++ b/math/superlu-dist/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1700379755 -SHA256 (xiaoyeli-superlu_dist-v8.2.1_GH0.tar.gz) = b77d065cafa6bc1a1dcc15bf23fd854f54b05762b165badcffc195835ad2bddf -SIZE (xiaoyeli-superlu_dist-v8.2.1_GH0.tar.gz) = 2322034 +TIMESTAMP = 1720986562 +SHA256 (xiaoyeli-superlu_dist-v9.0.0_GH0.tar.gz) = aa43d33d4b1b0f5f7b5ad7685e9a6bc25088832c6c74d2ab8f75a2c9f4e9e955 +SIZE (xiaoyeli-superlu_dist-v9.0.0_GH0.tar.gz) = 2913310 diff --git a/math/superlu-dist/pkg-plist b/math/superlu-dist/pkg-plist index 7189925e40cd..1f35793c4c3b 100644 --- a/math/superlu-dist/pkg-plist +++ b/math/superlu-dist/pkg-plist @@ -1,31 +1,58 @@ +include/anc25d-GPU_impl.hpp +include/anc25d.hpp +include/anc25d_impl.hpp +include/batch_block_copy.h +include/batch_factorize.h +include/batch_factorize_marshall.h +include/commWrapper.hpp +include/cublas_cusolver_wrappers.hpp +include/dAncestorFactor_impl.hpp include/dcomplex.h include/dlustruct_gpu.h +include/dsparseTreeFactorGPU_impl.hpp include/gpu_api_utils.h include/gpu_wrapper.h +include/l_panels_impl.hpp +include/luAuxStructTemplated.hpp +include/lu_common.hpp +include/lupanels.hpp +include/lupanelsComm3dGPU_impl.hpp +include/lupanels_GPU.cuh +include/lupanels_GPU_impl.hpp +include/lupanels_comm3d_impl.hpp +include/lupanels_impl.hpp include/machines.h +include/oneside.h include/psymbfact.h +include/schurCompUpdate_impl.cuh include/slustruct_gpu.h +include/sparseTreeFactor_impl.hpp include/superlu_FCnames.h include/superlu_FortranCInterface.h +include/superlu_blas.hpp include/superlu_ddefs.h include/superlu_defs.h -%%FORTRAN%%include/superlu_dist_config.fh +include/superlu_dist_config.fh include/superlu_dist_config.h include/superlu_enum_consts.h -%%FORTRAN%%include/superlu_mod.mod +include/superlu_mod.mod include/superlu_sdefs.h +include/superlu_upacked.h include/superlu_zdefs.h -%%FORTRAN%%include/superlupara_mod.mod +include/superlupara_mod.mod include/supermatrix.h +include/u_panels_impl.hpp include/util_dist.h +include/xlupanels.hpp +include/xlupanels_GPU.cuh include/zlustruct_gpu.h lib/libsuperlu_dist.a lib/libsuperlu_dist.so -lib/libsuperlu_dist.so.8 -lib/libsuperlu_dist.so.8.2.1 +lib/libsuperlu_dist.so.9 +lib/libsuperlu_dist.so.9.0.0 %%FORTRAN%%lib/libsuperlu_dist_fortran.a %%FORTRAN%%lib/libsuperlu_dist_fortran.so -%%FORTRAN%%lib/libsuperlu_dist_fortran.so.8 -%%FORTRAN%%lib/libsuperlu_dist_fortran.so.8.2.1 +%%FORTRAN%%lib/libsuperlu_dist_fortran.so.9 +%%FORTRAN%%lib/libsuperlu_dist_fortran.so.9.0.0 libdata/pkgconfig/superlu_dist.pc %%PORTDOCS%%%%DOCSDIR%%/ug.pdf