Skip to content

Commit

Permalink
Release: 23.09 (#187)
Browse files Browse the repository at this point in the history
* Release: 23.09

The September release :)

* Update Stub Files

* Update setup.py

---------

Co-authored-by: ax3l <[email protected]>
  • Loading branch information
ax3l and ax3l authored Sep 6, 2023
1 parent 2808142 commit 923c655
Show file tree
Hide file tree
Showing 12 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -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)

Expand Down
4 changes: 2 additions & 2 deletions cmake/dependencies/AMReX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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)")

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
Expand Down
4 changes: 2 additions & 2 deletions src/Particle/ParticleContainer_ImpactX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Particle<0, 0>, 5, 0>(m); // ImpactX 22.07 - 23.08
make_ParticleContainer_and_Iterators<SoAParticle<8, 2>, 8, 2>(m); // ImpactX 23.09+
make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0>(m); // ImpactX 22.07 - 23.09
make_ParticleContainer_and_Iterators<SoAParticle<8, 2>, 8, 2>(m); // ImpactX 23.10+
}
4 changes: 2 additions & 2 deletions src/Particle/ParticleContainer_WarpX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<Particle<0, 0>, 4, 0>(m); // WarpX 22.07 - 23.08 1D-3D
//make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0> (m); // WarpX 22.07 - 23.08 RZ
make_ParticleContainer_and_Iterators<Particle<0, 0>, 4, 0>(m); // WarpX 22.07 - 23.09 1D-3D
//make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0> (m); // WarpX 22.07 - 23.09 RZ
}
4 changes: 2 additions & 2 deletions src/Particle/StructOfArrays.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
2 changes: 1 addition & 1 deletion src/amrex/space1d/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions src/amrex/space1d/amrex_1d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
2 changes: 1 addition & 1 deletion src/amrex/space2d/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions src/amrex/space2d/amrex_2d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
2 changes: 1 addition & 1 deletion src/amrex/space3d/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions src/amrex/space3d/amrex_3d_pybind/__init__.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"

0 comments on commit 923c655

Please sign in to comment.