From 923c655ddf736995384aec3f7063218b8ca2ca49 Mon Sep 17 00:00:00 2001 From: Axel Huebl Date: Wed, 6 Sep 2023 15:52:00 -0500 Subject: [PATCH] Release: 23.09 (#187) * Release: 23.09 The September release :) * Update Stub Files * Update setup.py --------- Co-authored-by: ax3l --- CMakeLists.txt | 2 +- cmake/dependencies/AMReX.cmake | 4 ++-- setup.py | 2 +- src/Particle/ParticleContainer_ImpactX.cpp | 4 ++-- src/Particle/ParticleContainer_WarpX.cpp | 4 ++-- src/Particle/StructOfArrays.cpp | 4 ++-- src/amrex/space1d/__init__.pyi | 2 +- src/amrex/space1d/amrex_1d_pybind/__init__.pyi | 4 ++-- src/amrex/space2d/__init__.pyi | 2 +- src/amrex/space2d/amrex_2d_pybind/__init__.pyi | 4 ++-- src/amrex/space3d/__init__.pyi | 2 +- src/amrex/space3d/amrex_3d_pybind/__init__.pyi | 4 ++-- 12 files changed, 19 insertions(+), 19 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index af41a817..3c9c8fdd 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,7 +1,7 @@ # Preamble #################################################################### # cmake_minimum_required(VERSION 3.20.0) -project(pyAMReX VERSION 23.08) +project(pyAMReX VERSION 23.09) include(${pyAMReX_SOURCE_DIR}/cmake/pyAMReXFunctions.cmake) diff --git a/cmake/dependencies/AMReX.cmake b/cmake/dependencies/AMReX.cmake index d6adc64a..771a0fb0 100644 --- a/cmake/dependencies/AMReX.cmake +++ b/cmake/dependencies/AMReX.cmake @@ -70,7 +70,7 @@ macro(find_amrex) elseif(NOT pyAMReX_amrex_internal) message(STATUS "Searching for pre-installed AMReX ...") # https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html#importing-amrex-into-your-cmake-project - find_package(AMReX 23.08 CONFIG REQUIRED COMPONENTS PARTICLES PIC) + find_package(AMReX 23.09 CONFIG REQUIRED COMPONENTS PARTICLES PIC) message(STATUS "AMReX: Found version '${AMReX_VERSION}'") endif() endmacro() @@ -85,7 +85,7 @@ option(pyAMReX_amrex_internal "Download & build AMReX" ON) set(pyAMReX_amrex_repo "https://github.com/AMReX-Codes/amrex.git" CACHE STRING "Repository URI to pull and build AMReX from if(pyAMReX_amrex_internal)") -set(pyAMReX_amrex_branch "23.08" +set(pyAMReX_amrex_branch "23.09" CACHE STRING "Repository branch for pyAMReX_amrex_repo if(pyAMReX_amrex_internal)") diff --git a/setup.py b/setup.py index f81afff7..945eba66 100644 --- a/setup.py +++ b/setup.py @@ -211,7 +211,7 @@ def build_extension(self, ext): setup( name="amrex", # note PEP-440 syntax: x.y.zaN but x.y.z.devN - version="23.06", + version="23.09", packages=["amrex"], # Python sources: package_dir={"": "src"}, diff --git a/src/Particle/ParticleContainer_ImpactX.cpp b/src/Particle/ParticleContainer_ImpactX.cpp index bc4e0c0d..9e43d34f 100644 --- a/src/Particle/ParticleContainer_ImpactX.cpp +++ b/src/Particle/ParticleContainer_ImpactX.cpp @@ -14,6 +14,6 @@ void init_ParticleContainer_ImpactX(py::module& m) { // TODO: we might need to move all or most of the defines in here into a // test/example submodule, so they do not collide with downstream projects - make_ParticleContainer_and_Iterators, 5, 0>(m); // ImpactX 22.07 - 23.08 - make_ParticleContainer_and_Iterators, 8, 2>(m); // ImpactX 23.09+ + make_ParticleContainer_and_Iterators, 5, 0>(m); // ImpactX 22.07 - 23.09 + make_ParticleContainer_and_Iterators, 8, 2>(m); // ImpactX 23.10+ } diff --git a/src/Particle/ParticleContainer_WarpX.cpp b/src/Particle/ParticleContainer_WarpX.cpp index ed85f7af..07a43a2c 100644 --- a/src/Particle/ParticleContainer_WarpX.cpp +++ b/src/Particle/ParticleContainer_WarpX.cpp @@ -13,6 +13,6 @@ void init_ParticleContainer_WarpX(py::module& m) { // TODO: we might need to move all or most of the defines in here into a // test/example submodule, so they do not collide with downstream projects - make_ParticleContainer_and_Iterators, 4, 0>(m); // WarpX 22.07 - 23.08 1D-3D - //make_ParticleContainer_and_Iterators, 5, 0> (m); // WarpX 22.07 - 23.08 RZ + make_ParticleContainer_and_Iterators, 4, 0>(m); // WarpX 22.07 - 23.09 1D-3D + //make_ParticleContainer_and_Iterators, 5, 0> (m); // WarpX 22.07 - 23.09 RZ } diff --git a/src/Particle/StructOfArrays.cpp b/src/Particle/StructOfArrays.cpp index 14a213c7..13d017db 100644 --- a/src/Particle/StructOfArrays.cpp +++ b/src/Particle/StructOfArrays.cpp @@ -88,7 +88,7 @@ void make_StructOfArrays(py::module &m) void init_StructOfArrays(py::module& m) { make_StructOfArrays< 2, 1>(m); make_StructOfArrays< 4, 0>(m); // HiPACE++ 22.08 - 23.06 - make_StructOfArrays< 5, 0>(m); // ImpactX 22.07 - 23.08 - make_StructOfArrays< 8, 2>(m); // ImpactX 23.09+ + make_StructOfArrays< 5, 0>(m); // ImpactX 22.07 - 23.09 + make_StructOfArrays< 8, 2>(m); // ImpactX 23.10+ make_StructOfArrays<37, 1>(m); // HiPACE++ 22.09 - 23.06 } diff --git a/src/amrex/space1d/__init__.pyi b/src/amrex/space1d/__init__.pyi index e155fa3d..3db28536 100644 --- a/src/amrex/space1d/__init__.pyi +++ b/src/amrex/space1d/__init__.pyi @@ -471,4 +471,4 @@ def d_decl(x, y, z): ... __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "23.08" +__version__: str = "23.09" diff --git a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi index 8a2ebf48..3fad5b46 100644 --- a/src/amrex/space1d/amrex_1d_pybind/__init__.pyi +++ b/src/amrex/space1d/amrex_1d_pybind/__init__.pyi @@ -1468,7 +1468,7 @@ class BoxArray: def size(self) -> int: ... class Config: - amrex_version: typing.ClassVar[str] = "23.08" + amrex_version: typing.ClassVar[str] = "23.09" gpu_backend = None have_gpu: typing.ClassVar[bool] = False have_mpi: typing.ClassVar[bool] = True @@ -7764,4 +7764,4 @@ def write_single_level_plotfile( __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "23.08" +__version__: str = "23.09" diff --git a/src/amrex/space2d/__init__.pyi b/src/amrex/space2d/__init__.pyi index 7c33b372..a0297ffa 100644 --- a/src/amrex/space2d/__init__.pyi +++ b/src/amrex/space2d/__init__.pyi @@ -471,4 +471,4 @@ def d_decl(x, y, z): ... __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "23.08" +__version__: str = "23.09" diff --git a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi index 40d7f7f4..caa2fb81 100644 --- a/src/amrex/space2d/amrex_2d_pybind/__init__.pyi +++ b/src/amrex/space2d/amrex_2d_pybind/__init__.pyi @@ -1468,7 +1468,7 @@ class BoxArray: def size(self) -> int: ... class Config: - amrex_version: typing.ClassVar[str] = "23.08" + amrex_version: typing.ClassVar[str] = "23.09" gpu_backend = None have_gpu: typing.ClassVar[bool] = False have_mpi: typing.ClassVar[bool] = True @@ -7781,4 +7781,4 @@ def write_single_level_plotfile( __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "23.08" +__version__: str = "23.09" diff --git a/src/amrex/space3d/__init__.pyi b/src/amrex/space3d/__init__.pyi index 17ea1466..a3fc466d 100644 --- a/src/amrex/space3d/__init__.pyi +++ b/src/amrex/space3d/__init__.pyi @@ -471,4 +471,4 @@ def d_decl(x, y, z): ... __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "23.08" +__version__: str = "23.09" diff --git a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi index 4504471d..6805f9dd 100644 --- a/src/amrex/space3d/amrex_3d_pybind/__init__.pyi +++ b/src/amrex/space3d/amrex_3d_pybind/__init__.pyi @@ -1468,7 +1468,7 @@ class BoxArray: def size(self) -> int: ... class Config: - amrex_version: typing.ClassVar[str] = "23.08" + amrex_version: typing.ClassVar[str] = "23.09" gpu_backend = None have_gpu: typing.ClassVar[bool] = False have_mpi: typing.ClassVar[bool] = True @@ -7805,4 +7805,4 @@ def write_single_level_plotfile( __author__: str = "Axel Huebl, Ryan T. Sandberg, Shreyas Ananthan, David P. Grote, Revathi Jambunathan, Edoardo Zoni, Remi Lehe, Andrew Myers, Weiqun Zhang" __license__: str = "BSD-3-Clause-LBNL" -__version__: str = "23.08" +__version__: str = "23.09"