diff --git a/science/pastix/Makefile b/science/pastix/Makefile index 2b1935197e7c..e0b31dba7f1d 100644 --- a/science/pastix/Makefile +++ b/science/pastix/Makefile @@ -1,50 +1,55 @@ PORTNAME= pastix -PORTVERSION= 6.3.0 +PORTVERSION= 6.3.1 CATEGORIES= science MASTER_SITES= https://gitlab.inria.fr/solverstack/pastix/uploads/${GL_TAG}/ MAINTAINER= thierry@FreeBSD.org COMMENT= PaStiX: a sparse direct solver WWW= https://solverstack.gitlabpages.inria.fr/pastix/ LICENSE= LGPL3 BUILD_DEPENDS= bash:shells/bash \ ${PYNUMPY} -LIB_DEPENDS= libcblas.so:math/cblas \ - libmetis.so:math/metis \ +LIB_DEPENDS= libmetis.so:math/metis \ + libjulia.so:lang/julia \ libscotch.so:cad/scotch \ - liblapacke.so:math/lapacke \ libhwloc.so:devel/hwloc2 RUN_DEPENDS= bash:shells/bash \ ${PYNUMPY} USES= cmake blaslapack:openblas fortran pkgconfig python #USE_GITLAB= yes #GL_SITE= https://gitlab.inria.fr/ #GL_ACCOUNT= solverstack #GL_PROJECT= pastix spm:s morse_cmake:m #GL_TAGNAME= 6e35c2ba179013b058f5d4e1afd4b451953149c6 \ # 14e36c1586c9ba13f938b1a89f51c080d6551392:s \ # 31cd2bbb0d76f2b9fd83011d8f079d97540b0ba8:m #GL_SUBDIR= spm:s cmake_modules/morse_cmake:m -GL_TAG= 87c0b910dce3d81667e760c720e706d1 # tarball with submodules +GL_TAG= ad8f528a3f6c012762e9a903b28315f8 # tarball with submodules LDFLAGS+= -lm CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \ -DPASTIX_ORDERING_METIS:BOOL=ON USE_LDCONFIG= yes TEST_TARGET= test +PLIST_SUB= VER=${PORTVERSION} + OPTIONS_DEFINE= EXAMPLES -EX2FIX= example spm/examples spm/wrappers/fortran90 spm/wrappers/python \ - wrappers/fortran90 wrappers/python example/old +EX2FIX= spm/examples spm/wrappers/fortran90 spm/wrappers/python +EX2FIX2= example example/old wrappers/julia wrappers/fortran90 wrappers/python pre-configure: .for ex in ${EX2FIX} ${REINPLACE_CMD} -e 's|DESTINATION examples|DESTINATION ${EXAMPLESDIR}/${ex:C/examples//:C/example//}|' \ ${WRKSRC}/${ex}/CMakeLists.txt .endfor +.for ex in ${EX2FIX2} + ${REINPLACE_CMD} -e 's|share/doc/pastix/examples|share/examples/pastix|' \ + ${WRKSRC}/${ex}/CMakeLists.txt +.endfor .include diff --git a/science/pastix/distinfo b/science/pastix/distinfo index 1af5d7a0b116..2eae997ae617 100644 --- a/science/pastix/distinfo +++ b/science/pastix/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1690458490 -SHA256 (pastix-6.3.0.tar.gz) = a6bfec32a3279d7b24c5fc05885c6632d177e467f1584707c6fd7c42a8703c3e -SIZE (pastix-6.3.0.tar.gz) = 2052136 +TIMESTAMP = 1700222960 +SHA256 (pastix-6.3.1.tar.gz) = 290464d73b7d43356e4735a29932bf6f23a88e94ec7139ba7744c21e42c52681 +SIZE (pastix-6.3.1.tar.gz) = 2065915 diff --git a/science/pastix/pkg-plist b/science/pastix/pkg-plist index 5f59b335c94b..7e1d8259c2cd 100644 --- a/science/pastix/pkg-plist +++ b/science/pastix/pkg-plist @@ -1,149 +1,157 @@ bin/pastix_completion.sh bin/pastix_env.sh include/pastix.h include/pastix/api.h include/pastix/cblas.h include/pastix/config.h include/pastix/datatypes.h include/pastix/graph.h include/pastix/lapacke.h include/pastix/old_api.h include/pastix/order.h +include/pastix/pastixf.mod +include/pastix/pastixf_bindings.mod +include/pastix/pastixf_enums.mod +include/pastix/pastixf_interfaces.mod +include/pastix/spmf.mod +include/pastix/spmf_bindings.mod +include/pastix/spmf_enums.mod +include/pastix/spmf_interfaces.mod include/pastixf.mod include/pastixf_bindings.mod include/pastixf_enums.mod include/pastixf_interfaces.mod include/spm.h include/spm/c_spm.h include/spm/config.h include/spm/const.h include/spm/d_spm.h include/spm/datatypes.h include/spm/mpi.h include/spm/p_spm.h include/spm/s_spm.h include/spm/z_spm.h include/spmf.mod include/spmf_bindings.mod include/spmf_enums.mod include/spmf_interfaces.mod lib/cmake/pastix/PASTIXConfig.cmake lib/cmake/pastix/PASTIXConfigVersion.cmake lib/cmake/pastix/cblasTargets.cmake lib/cmake/pastix/lapackeTargets.cmake lib/cmake/pastix/mTargets.cmake lib/cmake/pastix/pastixTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/pastix/pastixTargets.cmake lib/cmake/pastix/pastix_kernelsTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/pastix/pastix_kernelsTargets.cmake lib/cmake/pastix/pastixfTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/pastix/pastixfTargets.cmake lib/cmake/spm/SPMConfig.cmake lib/cmake/spm/SPMConfigVersion.cmake lib/cmake/spm/spmTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/spm/spmTargets.cmake lib/cmake/spm/spmfTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/spm/spmfTargets.cmake lib/julia/PaStiX/Project.toml -lib/julia/PaStiX/examples/schur.jl -lib/julia/PaStiX/examples/simple.jl -lib/julia/PaStiX/examples/step-by-step.jl lib/julia/PaStiX/src/PaStiX.jl lib/julia/PaStiX/src/pastix_enums.jl lib/julia/spm/Project.toml lib/julia/spm/examples/spm_driver.jl lib/julia/spm/examples/spm_user.jl lib/julia/spm/src/spm.jl lib/julia/spm/src/spm_enums.jl lib/libpastix.so lib/libpastix.so.6.3 -lib/libpastix.so.6.3.0 +lib/libpastix.so.%%VER%% lib/libpastix_kernels.so lib/libpastixf.so lib/libpastixf.so.6 -lib/libpastixf.so.6.3.0 +lib/libpastixf.so.%%VER%% lib/libspm.so lib/libspm.so.1 lib/libspm.so.1.2.0 lib/libspmf.so lib/libspmf.so.1 lib/libspmf.so.1.2.0 lib/python/pypastix/__init__.py lib/python/pypastix/__pastix__.py lib/python/pypastix/enum.py lib/python/pypastix/pastix.py lib/python/pypastix/solver.py lib/python/spm/__init__.py lib/python/spm/__spm__.py lib/python/spm/enum.py lib/python/spm/spm.py libdata/pkgconfig/pastix.pc libdata/pkgconfig/pastixf.pc libdata/pkgconfig/spm.pc libdata/pkgconfig/spmf.pc %%PORTEXAMPLES%%%%EXAMPLESDIR%%/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/analyze %%PORTEXAMPLES%%%%EXAMPLESDIR%%/analyze.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bench_facto %%PORTEXAMPLES%%%%EXAMPLESDIR%%/bench_facto.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress %%PORTEXAMPLES%%%%EXAMPLESDIR%%/compress.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/flaplacian +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/flaplacian.F90 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/fmultidof +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/fmultidof.F90 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/fmultilap +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/fmultilap.F90 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/fsimple +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/fsimple.F90 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/fstep-by-step +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/fstep-by-step.F90 +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/test_mt.in +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/fortran/test_seq.in +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/julia/schur.jl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/julia/simple.jl +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/julia/step-by-step.jl %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multidof %%PORTEXAMPLES%%%%EXAMPLESDIR%%/multidof.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/old/Makefile -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/old/old_simple -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/old/old_step-by-step -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/old/simple.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/old/step-by-step.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/Makefile +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/old_simple +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/old_step-by-step +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/simple.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/old/step-by-step.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/personal %%PORTEXAMPLES%%%%EXAMPLESDIR%%/personal.c +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/schur.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/schur_obj.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/simple.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/simple_obj.py +%%PORTEXAMPLES%%%%EXAMPLESDIR%%/python/step-by-step.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/reentrant %%PORTEXAMPLES%%%%EXAMPLESDIR%%/reentrant.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/refinement %%PORTEXAMPLES%%%%EXAMPLESDIR%%/refinement.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/schur %%PORTEXAMPLES%%%%EXAMPLESDIR%%/schur.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_solve_and_refine %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_solve_and_refine.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_trans %%PORTEXAMPLES%%%%EXAMPLESDIR%%/simple_trans.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/Makefile %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_drivers %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_drivers.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_lap1 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_lap1.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_lap2 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_lap2.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_mdof1 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_mdof1.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_mdof2 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/example_mdof2.c %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/wrappers/fortran90/spmf_driver %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/wrappers/fortran90/spmf_driver.F90 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/wrappers/fortran90/spmf_rebalance %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/wrappers/fortran90/spmf_rebalance.F90 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/wrappers/fortran90/spmf_user %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/wrappers/fortran90/spmf_user.F90 %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/wrappers/python/spm_driver.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/spm/wrappers/python/spm_scipy.py %%PORTEXAMPLES%%%%EXAMPLESDIR%%/step-by-step %%PORTEXAMPLES%%%%EXAMPLESDIR%%/step-by-step.c -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/flaplacian -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/flaplacian.F90 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/fmultidof -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/fmultidof.F90 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/fmultilap -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/fmultilap.F90 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/fsimple -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/fsimple.F90 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/fstep-by-step -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/fstep-by-step.F90 -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/test_mt.in -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/fortran90/test_seq.in -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/python/python/schur.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/python/python/schur_obj.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/python/python/simple.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/python/python/simple_obj.py -%%PORTEXAMPLES%%%%EXAMPLESDIR%%/wrappers/python/python/step-by-step.py