git: 410bc966c644 - main - science/parthenon: update 24.08 → 25.12.700

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Sun, 04 Oct 2026 09:21:15 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=410bc966c64450b72015c220a71b68fc3e30c75a

commit 410bc966c64450b72015c220a71b68fc3e30c75a
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2026-10-04 03:25:50 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2026-10-04 09:20:47 +0000

    science/parthenon: update 24.08 → 25.12.700
---
 science/parthenon/Makefile                         | 18 ++++--
 science/parthenon/distinfo                         |  6 +-
 science/parthenon/files/patch-CMakeLists.txt       | 13 -----
 .../parthenon/files/patch-cmake_Provenance.cmake   | 65 +++++++++++++++++++++
 science/parthenon/pkg-plist                        | 67 ++++++++++++++++++----
 5 files changed, 138 insertions(+), 31 deletions(-)

diff --git a/science/parthenon/Makefile b/science/parthenon/Makefile
index 319cb880088c..ed4790ff4242 100644
--- a/science/parthenon/Makefile
+++ b/science/parthenon/Makefile
@@ -1,12 +1,13 @@
 PORTNAME=	parthenon
 DISTVERSIONPREFIX=	v
-DISTVERSION=	24.08
-PORTREVISION=	8
+DISTVERSION=	25.12-700 # includes latest kokkos release support
+DISTVERSIONSUFFIX=	-g2ddc3e3c3
 CATEGORIES=	science
 
 MAINTAINER=	yuri@FreeBSD.org
 COMMENT=	Portable block-structured Adaptive Mesh Refinement (AMR) framework
-WWW=		https://parthenon-hpc-lab.github.io/parthenon/develop/index.html
+WWW=		https://parthenon-hpc-lab.github.io/parthenon/develop/index.html \
+		https://github.com/parthenon-hpc-lab/parthenon
 
 LICENSE=	BSD3CLAUSE
 LICENSE_FILE=	${WRKSRC}/LICENSE
@@ -25,7 +26,8 @@ GH_TUPLE=	catchorg:Catch2:216713a:catch2/external/Catch2
 
 CMAKE_ON=	BUILD_SHARED_LIBS \
 		PARTHENON_IMPORT_KOKKOS \
-		PARTHENON_DISABLE_EXAMPLES
+		PARTHENON_DISABLE_EXAMPLES \
+		PARTHENON_USE_SYSTEM_PACKAGES
 CMAKE_OFF=	PARTHENON_ENABLE_TESTING
 CMAKE_TESTING_ON=	PARTHENON_ENABLE_TESTING \
 			PARTHENON_ENABLE_UNIT_TESTS \
@@ -49,6 +51,12 @@ ASCENT_LIB_DEPENDS=	libascent_mpi.so:science/ascent \
 HDF5_CMAKE_OFF=		-DPARTHENON_DISABLE_HDF5=ON
 HDF5_BROKEN=		configure fails: Both MPI and HDF5 are enabled but only a serial version of HDF5 was found.
 
-# few tests don't find some test files
+# tests as of 25.12: 91% tests passed, 6 tests failed out of 70 (the 6 failures are the
+# advection_performance/particle_leapfrog regression tests, which require HDF5 restart I/O;
+# HDF5 is disabled by default here since combining it with MPI is currently broken, see
+# HDF5_BROKEN above; these regression tests also trip over an unrelated kokkos-threads
+# command-line argument parsing issue in this parthenon release)
+
+# tests as of 25.12-700: 95% tests passed, 6 tests failed out of 121 (2 tests timed out, others failed due to wrong kokkos argument, and missing HDF5 parallel support)
 
 .include <bsd.port.mk>
diff --git a/science/parthenon/distinfo b/science/parthenon/distinfo
index dbfb7eb2ae5d..dd80bea8537b 100644
--- a/science/parthenon/distinfo
+++ b/science/parthenon/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1725895216
-SHA256 (parthenon-hpc-lab-parthenon-v24.08_GH0.tar.gz) = f90091c34aab814bb9f253439ad2bab5e2d00d7d60a37efd193b7950049317a4
-SIZE (parthenon-hpc-lab-parthenon-v24.08_GH0.tar.gz) = 2102958
+TIMESTAMP = 1791074654
+SHA256 (parthenon-hpc-lab-parthenon-v25.12-700-g2ddc3e3c3_GH0.tar.gz) = d7e8a6d2a7b2521be2dfa7cda7fb7f1492e0695ad9525bac148b9c0ccc4c3c65
+SIZE (parthenon-hpc-lab-parthenon-v25.12-700-g2ddc3e3c3_GH0.tar.gz) = 6995754
 SHA256 (catchorg-Catch2-216713a_GH0.tar.gz) = 66e1045a3b551a579b3f041150ce5b0064e100cadcf5d2a35b7df22128434745
 SIZE (catchorg-Catch2-216713a_GH0.tar.gz) = 661701
diff --git a/science/parthenon/files/patch-CMakeLists.txt b/science/parthenon/files/patch-CMakeLists.txt
deleted file mode 100644
index 74b13fc6060f..000000000000
--- a/science/parthenon/files/patch-CMakeLists.txt
+++ /dev/null
@@ -1,13 +0,0 @@
-- https://github.com/parthenon-hpc-lab/parthenon/issues/1169
-
---- CMakeLists.txt.orig	2024-09-07 18:42:31 UTC
-+++ CMakeLists.txt
-@@ -367,7 +367,7 @@ if (PARTHENON_ENABLE_ASCENT)
- endif()
- 
- if (PARTHENON_ENABLE_ASCENT)
--  find_package(Ascent REQUIRED NO_DEFAULT_PATH)
-+  find_package(Ascent REQUIRED)
- endif()
- 
- # Installation configuration
diff --git a/science/parthenon/files/patch-cmake_Provenance.cmake b/science/parthenon/files/patch-cmake_Provenance.cmake
new file mode 100644
index 000000000000..4038349434e3
--- /dev/null
+++ b/science/parthenon/files/patch-cmake_Provenance.cmake
@@ -0,0 +1,65 @@
+-- disable git invocation because we don't have a git repo here
+
+--- cmake/Provenance.cmake.orig	2025-12-17 19:20:45 UTC
++++ cmake/Provenance.cmake
+@@ -28,38 +28,14 @@ set(post_configure_file ${post_configure_dir}/provenan
+ set(pre_configure_file ${pre_configure_dir}/provenance.cpp.in)
+ set(post_configure_file ${post_configure_dir}/provenance.cpp)
+ 
+-function(CheckGitWrite git_hash)
+-    file(WRITE ${CMAKE_BINARY_DIR}/git-state-parthenon.txt ${git_hash})
+-endfunction()
+-
+-function(CheckGitRead git_hash)
+-    if (EXISTS ${CMAKE_BINARY_DIR}/git-state-parthenon.txt)
+-        file(STRINGS ${CMAKE_BINARY_DIR}/git-state-parthenon.txt CONTENT)
+-        LIST(GET CONTENT 0 var)
+-
+-        set(${git_hash} ${var} PARENT_SCOPE)
+-    endif ()
+-endfunction()
+-
+ function(CheckGitVersion)
+     # Get the latest abbreviated commit hash of the working branch
+-    execute_process(
+-        COMMAND git log -1 --format=%h
+-        WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
+-        OUTPUT_VARIABLE PARTH_GIT_HASH
+-        OUTPUT_STRIP_TRAILING_WHITESPACE
+-        )
++    set(PARTH_GIT_HASH "01234567890123456789012345678901234567890123456789")
+ 
+     # Get the git branch
+-    execute_process(
+-        COMMAND git rev-parse --abbrev-ref HEAD
+-        WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR}
+-        OUTPUT_VARIABLE PARTH_GIT_BRANCH
+-        OUTPUT_STRIP_TRAILING_WHITESPACE
+-    )
++    set(PARTH_GIT_BRANCH "master")
+     
+     set(PARTH_GIT_HASH_CACHE "INVALID")
+-    CheckGitRead(PARTH_GIT_HASH_CACHE)
+     if (NOT EXISTS ${post_configure_dir})
+         file(MAKE_DIRECTORY ${post_configure_dir})
+     endif ()
+@@ -73,7 +49,6 @@ function(CheckGitVersion)
+     if (NOT ${PARTH_GIT_HASH} STREQUAL ${PARTH_GIT_HASH_CACHE} OR NOT EXISTS ${post_configure_file})
+         # Set the PARTH_GIT_HASH_CACHE variable the next build won't have
+         # to regenerate the source file.
+-        CheckGitWrite(${PARTH_GIT_HASH})
+ 
+         configure_file(${pre_configure_file} ${post_configure_file} @ONLY)
+     endif ()
+@@ -97,11 +72,6 @@ endfunction()
+ 
+     CheckGitVersion()
+ endfunction()
+-
+-# This is used to run this function from an external cmake process.
+-if (RUN_CHECK_GIT_VERSION)
+-    CheckGitVersion()
+-endif ()
+ 
+ # Other information:
+ # Compiler
diff --git a/science/parthenon/pkg-plist b/science/parthenon/pkg-plist
index a967f36249ef..b354601c996a 100644
--- a/science/parthenon/pkg-plist
+++ b/science/parthenon/pkg-plist
@@ -6,43 +6,56 @@ include/parthenon/basic_types.hpp
 include/parthenon/bvals/boundary_conditions.hpp
 include/parthenon/bvals/boundary_conditions_generic.hpp
 include/parthenon/bvals/bvals.hpp
+include/parthenon/bvals/comms/bnd_id.hpp
 include/parthenon/bvals/comms/bnd_info.hpp
 include/parthenon/bvals/comms/bvals_in_one.hpp
 include/parthenon/bvals/comms/bvals_utils.hpp
+include/parthenon/bvals/comms/coalesced_buffers.hpp
 include/parthenon/bvals/comms/tag_map.hpp
 include/parthenon/bvals/neighbor_block.hpp
 include/parthenon/config.hpp
 include/parthenon/coordinates/coordinates.hpp
 include/parthenon/coordinates/uniform_cartesian.hpp
+include/parthenon/coordinates/uniform_coordinates.hpp
+include/parthenon/coordinates/uniform_cylindrical.hpp
+include/parthenon/coordinates/uniform_spherical.hpp
 include/parthenon/defs.hpp
 include/parthenon/driver/driver.hpp
 include/parthenon/driver/multistage.hpp
 include/parthenon/globals.hpp
 include/parthenon/interface/data_collection.hpp
-include/parthenon/interface/make_pack_descriptor.hpp
-include/parthenon/interface/make_swarm_pack_descriptor.hpp
 include/parthenon/interface/mesh_data.hpp
+include/parthenon/interface/mesh_data_descriptor.hpp
 include/parthenon/interface/meshblock_data.hpp
 include/parthenon/interface/metadata.hpp
-include/parthenon/interface/pack_utils.hpp
 include/parthenon/interface/packages.hpp
 include/parthenon/interface/params.hpp
-include/parthenon/interface/sparse_pack.hpp
-include/parthenon/interface/sparse_pack_base.hpp
 include/parthenon/interface/sparse_pool.hpp
 include/parthenon/interface/state_descriptor.hpp
 include/parthenon/interface/swarm.hpp
 include/parthenon/interface/swarm_container.hpp
-include/parthenon/interface/swarm_default_names.hpp
 include/parthenon/interface/swarm_device_context.hpp
-include/parthenon/interface/swarm_pack.hpp
-include/parthenon/interface/swarm_pack_base.hpp
 include/parthenon/interface/update.hpp
 include/parthenon/interface/var_id.hpp
 include/parthenon/interface/variable.hpp
 include/parthenon/interface/variable_pack.hpp
 include/parthenon/interface/variable_state.hpp
 include/parthenon/kokkos_abstraction.hpp
+include/parthenon/kokkos_types.hpp
+include/parthenon/loop_abstraction/base.hpp
+include/parthenon/loop_abstraction/flux_view.hpp
+include/parthenon/loop_abstraction/halo.hpp
+include/parthenon/loop_abstraction/index_space.hpp
+include/parthenon/loop_abstraction/inner_range.hpp
+include/parthenon/loop_abstraction/kokkos.hpp
+include/parthenon/loop_abstraction/loop_abstraction.hpp
+include/parthenon/loop_abstraction/pack_view.hpp
+include/parthenon/loop_abstraction/raw.hpp
+include/parthenon/loop_abstraction/scratch.hpp
+include/parthenon/loop_abstraction/scratch_indexed.hpp
+include/parthenon/loop_abstraction/types.hpp
+include/parthenon/loop_abstraction/view.hpp
+include/parthenon/loop_bounds.hpp
 include/parthenon/mesh/domain.hpp
 include/parthenon/mesh/forest/block_ownership.hpp
 include/parthenon/mesh/forest/forest.hpp
@@ -52,19 +65,41 @@ include/parthenon/mesh/forest/logical_coordinate_transformation.hpp
 include/parthenon/mesh/forest/logical_location.hpp
 include/parthenon/mesh/forest/tree.hpp
 include/parthenon/mesh/mesh.hpp
+include/parthenon/mesh/mesh_neighbors.hpp
 include/parthenon/mesh/mesh_refinement.hpp
 include/parthenon/mesh/meshblock.hpp
 include/parthenon/mesh/meshblock_pack.hpp
+include/parthenon/mesh/swarm_amr_remesh.hpp
 include/parthenon/outputs/io_wrapper.hpp
+include/parthenon/outputs/output_attr.hpp
 include/parthenon/outputs/output_parameters.hpp
 include/parthenon/outputs/output_utils.hpp
 include/parthenon/outputs/outputs.hpp
+include/parthenon/outputs/outputs_package.hpp
 include/parthenon/outputs/parthenon_hdf5.hpp
 include/parthenon/outputs/parthenon_hdf5_base.hpp
 include/parthenon/outputs/parthenon_hdf5_types.hpp
+include/parthenon/outputs/parthenon_opmd.hpp
 include/parthenon/outputs/parthenon_xdmf.hpp
 include/parthenon/outputs/restart.hpp
 include/parthenon/outputs/restart_hdf5.hpp
+include/parthenon/outputs/restart_opmd.hpp
+include/parthenon/pack/block_selector.hpp
+include/parthenon/pack/default_names.hpp
+include/parthenon/pack/pack_utils.hpp
+include/parthenon/pack/scratch_variables.hpp
+include/parthenon/pack/sparse_pack/make_pack_descriptor.hpp
+include/parthenon/pack/sparse_pack/pack_descriptor.hpp
+include/parthenon/pack/sparse_pack/sparse_pack.hpp
+include/parthenon/pack/sparse_pack/sparse_pack_base.hpp
+include/parthenon/pack/sparse_pack/sparse_pack_cache.hpp
+include/parthenon/pack/subpack.hpp
+include/parthenon/pack/swarm_pack/make_swarm_pack_descriptor.hpp
+include/parthenon/pack/swarm_pack/swarm_pack.hpp
+include/parthenon/pack/swarm_pack/swarm_pack_base.hpp
+include/parthenon/pack/swarm_pack/swarm_pack_cache.hpp
+include/parthenon/pack/swarm_pack/swarm_pack_descriptor.hpp
+include/parthenon/pack/swarm_pack/swarm_pack_types.hpp
 include/parthenon/parameter_input.hpp
 include/parthenon/parthenon/driver.hpp
 include/parthenon/parthenon/package.hpp
@@ -77,24 +112,34 @@ include/parthenon/parthenon_mpi.hpp
 include/parthenon/prolong_restrict/pr_loops.hpp
 include/parthenon/prolong_restrict/pr_ops.hpp
 include/parthenon/prolong_restrict/prolong_restrict.hpp
+include/parthenon/provenance.hpp
 include/parthenon/reconstruct/dc_inline.hpp
 include/parthenon/reconstruct/plm_inline.hpp
 include/parthenon/solvers/bicgstab_solver.hpp
+include/parthenon/solvers/cg_solver.hpp
+include/parthenon/solvers/internal_prolongation.hpp
 include/parthenon/solvers/mg_solver.hpp
+include/parthenon/solvers/solver_base.hpp
 include/parthenon/solvers/solver_utils.hpp
+include/parthenon/solvers/tridiag_solver.hpp
+include/parthenon/sparse/sparse_management.hpp
+include/parthenon/tasks/task_timing.hpp
 include/parthenon/tasks/tasks.hpp
 include/parthenon/tasks/thread_pool.hpp
 include/parthenon/time_integration/staged_integrator.hpp
 include/parthenon/utils/alias_method.hpp
 include/parthenon/utils/array_to_tuple.hpp
 include/parthenon/utils/bit_hacks.hpp
-include/parthenon/utils/buffer_utils.hpp
+include/parthenon/utils/bump_arena.hpp
+include/parthenon/utils/byte_utils.hpp
+include/parthenon/utils/calc_spectrum.hpp
 include/parthenon/utils/cell_center_offsets.hpp
 include/parthenon/utils/cleantypes.hpp
 include/parthenon/utils/communication_buffer.hpp
 include/parthenon/utils/concepts_lite.hpp
 include/parthenon/utils/constants.hpp
 include/parthenon/utils/error_checking.hpp
+include/parthenon/utils/fft_manager.hpp
 include/parthenon/utils/hash.hpp
 include/parthenon/utils/index_split.hpp
 include/parthenon/utils/indexer.hpp
@@ -110,7 +155,9 @@ include/parthenon/utils/reductions.hpp
 include/parthenon/utils/robust.hpp
 include/parthenon/utils/sort.hpp
 include/parthenon/utils/string_utils.hpp
+include/parthenon/utils/summable_array.hpp
 include/parthenon/utils/type_list.hpp
+include/parthenon/utils/uniform_grid_helper.hpp
 include/parthenon/utils/unique_id.hpp
 include/parthenon/utils/utils.hpp
 lib/cmake/FindFilesystem.cmake
@@ -118,5 +165,5 @@ lib/cmake/parthenon/parthenonConfig.cmake
 lib/cmake/parthenon/parthenonTargets-%%CMAKE_BUILD_TYPE%%.cmake
 lib/cmake/parthenon/parthenonTargets.cmake
 lib/libparthenon.so
-lib/libparthenon.so.24.08
+lib/libparthenon.so.25.12
 @dir include/parthenon/pgen