Skip to content

Commit 02e2bcb

Browse files
authored
Release: 24.02 (#246)
1 parent 32481f1 commit 02e2bcb

File tree

9 files changed

+31
-30
lines changed

9 files changed

+31
-30
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Preamble ####################################################################
22
#
33
cmake_minimum_required(VERSION 3.20.0)
4-
project(pyAMReX VERSION 24.01)
4+
project(pyAMReX VERSION 24.02)
55

66
include(${pyAMReX_SOURCE_DIR}/cmake/pyAMReXFunctions.cmake)
77

cmake/dependencies/AMReX.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ macro(find_amrex)
7070
elseif(NOT pyAMReX_amrex_internal)
7171
message(STATUS "Searching for pre-installed AMReX ...")
7272
# https://amrex-codes.github.io/amrex/docs_html/BuildingAMReX.html#importing-amrex-into-your-cmake-project
73-
find_package(AMReX 24.01 CONFIG REQUIRED COMPONENTS PARTICLES PIC)
73+
find_package(AMReX 24.02 CONFIG REQUIRED COMPONENTS PARTICLES PIC)
7474
message(STATUS "AMReX: Found version '${AMReX_VERSION}'")
7575
endif()
7676
endmacro()
@@ -85,7 +85,7 @@ option(pyAMReX_amrex_internal "Download & build AMReX" ON)
8585
set(pyAMReX_amrex_repo "https://github.com/AMReX-Codes/amrex.git"
8686
CACHE STRING
8787
"Repository URI to pull and build AMReX from if(pyAMReX_amrex_internal)")
88-
set(pyAMReX_amrex_branch "24.01"
88+
set(pyAMReX_amrex_branch "24.02"
8989
CACHE STRING
9090
"Repository branch for pyAMReX_amrex_repo if(pyAMReX_amrex_internal)")
9191

docs/source/conf.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,9 @@
7272
# built documents.
7373
#
7474
# The short X.Y version.
75-
version = "24.01"
75+
version = "24.02"
7676
# The full version, including alpha/beta/rc tags.
77-
release = "24.01"
77+
release = "24.02"
7878

7979
# The language for content autogenerated by Sphinx. Refer to documentation
8080
# for a list of supported languages.

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,6 +190,7 @@ def build_extension(self, ext):
190190
cmdclass = dict(build=CopyPreBuild)
191191
# CMake: build pyAMReX ourselves
192192
else:
193+
# TODO: modernize into a single build
193194
cmdclass = dict(build_ext=CMakeBuild)
194195
for dim in [x.lower() for x in AMReX_SPACEDIM.split(";")]:
195196
name = dim + "d"
@@ -207,7 +208,7 @@ def build_extension(self, ext):
207208
setup(
208209
name="amrex",
209210
# note PEP-440 syntax: x.y.zaN but x.y.z.devN
210-
version="24.01",
211+
version="24.02",
211212
packages=["amrex"],
212213
# Python sources:
213214
package_dir={"": "src"},

src/Particle/Particle.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,8 +327,8 @@ void init_Particle(py::module& m) {
327327
make_Particle< 3, 2 > (m);
328328
make_Particle< 4, 0 > (m); // HiPACE++ 22.07
329329
make_Particle< 5, 0 > (m); // ImpactX 22.07
330-
make_Particle< 6, 0 > (m); // WarpX 24.02+
331-
//make_Particle< 7, 0 > (m); // WarpX 24.02+
332-
make_Particle< 8, 0 > (m); // ImpactX 24.02+
330+
make_Particle< 6, 0 > (m); // WarpX 24.03+
331+
//make_Particle< 7, 0 > (m); // WarpX 24.03+
332+
make_Particle< 8, 0 > (m); // ImpactX 24.03+
333333
make_Particle< 37, 1> (m); // HiPACE++ 22.07
334334
}

src/Particle/ParticleContainer_ImpactX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ void init_ParticleContainer_ImpactX(py::module& m) {
1414

1515
// TODO: we might need to move all or most of the defines in here into a
1616
// test/example submodule, so they do not collide with downstream projects
17-
make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0>(m); // ImpactX 22.07 - 24.01
18-
make_ParticleContainer_and_Iterators<SoAParticle<8, 0>, 8, 0>(m); // ImpactX 24.02+
17+
make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0>(m); // ImpactX 22.07 - 24.02
18+
make_ParticleContainer_and_Iterators<SoAParticle<8, 0>, 8, 0>(m); // ImpactX 24.03+
1919
}

src/Particle/ParticleContainer_WarpX.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ void init_ParticleContainer_WarpX(py::module& m) {
1313

1414
// TODO: we might need to move all or most of the defines in here into a
1515
// test/example submodule, so they do not collide with downstream projects
16-
make_ParticleContainer_and_Iterators<Particle<0, 0>, 4, 0>(m); // WarpX 22.07 - 24.01 1D-3D
17-
//make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0> (m); // WarpX 22.07 - 24.01 RZ
16+
make_ParticleContainer_and_Iterators<Particle<0, 0>, 4, 0>(m); // WarpX 22.07 - 24.02 1D-3D
17+
//make_ParticleContainer_and_Iterators<Particle<0, 0>, 5, 0> (m); // WarpX 22.07 - 24.02 RZ
1818

1919
#if AMREX_SPACEDIM == 1
20-
make_ParticleContainer_and_Iterators<SoAParticle<5, 0>, 5, 0>(m); // WarpX 24.02+ 1D
20+
make_ParticleContainer_and_Iterators<SoAParticle<5, 0>, 5, 0>(m); // WarpX 24.03+ 1D
2121
#elif AMREX_SPACEDIM == 2
22-
make_ParticleContainer_and_Iterators<SoAParticle<6, 0>, 6, 0>(m); // WarpX 24.02+ 2D
23-
make_ParticleContainer_and_Iterators<SoAParticle<7, 0>, 7, 0>(m); // WarpX 24.02+ RZ
22+
make_ParticleContainer_and_Iterators<SoAParticle<6, 0>, 6, 0>(m); // WarpX 24.03+ 2D
23+
make_ParticleContainer_and_Iterators<SoAParticle<7, 0>, 7, 0>(m); // WarpX 24.03+ RZ
2424
#elif AMREX_SPACEDIM == 3
25-
make_ParticleContainer_and_Iterators<SoAParticle<7, 0>, 7, 0>(m); // WarpX 24.02+ 3D
25+
make_ParticleContainer_and_Iterators<SoAParticle<7, 0>, 7, 0>(m); // WarpX 24.03+ 3D
2626
#endif
2727
}

src/Particle/ParticleTile.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,13 +210,13 @@ void init_ParticleTile(py::module& m) {
210210
make_ParticleTile<ParticleType_0_0, 4, 0> (m); // HiPACE++ 22.07
211211
make_ParticleTile<ParticleType_0_0, 5, 0> (m); // ImpactX 22.07
212212
#if AMREX_SPACEDIM == 1
213-
make_ParticleTile<SoAParticleType_5_0, 5, 0> (m); // WarpX 24.02+ 1D
213+
make_ParticleTile<SoAParticleType_5_0, 5, 0> (m); // WarpX 24.03+ 1D
214214
#elif AMREX_SPACEDIM == 2
215-
make_ParticleTile<SoAParticleType_6_0, 6, 0> (m); // WarpX 24.02+ 2D
216-
make_ParticleTile<SoAParticleType_7_0, 7, 0> (m); // WarpX 24.02+ RZ
215+
make_ParticleTile<SoAParticleType_6_0, 6, 0> (m); // WarpX 24.03+ 2D
216+
make_ParticleTile<SoAParticleType_7_0, 7, 0> (m); // WarpX 24.03+ RZ
217217
#elif AMREX_SPACEDIM == 3
218-
make_ParticleTile<SoAParticleType_7_0, 7, 0> (m); // WarpX 24.02+ 3D
218+
make_ParticleTile<SoAParticleType_7_0, 7, 0> (m); // WarpX 24.03+ 3D
219219
#endif
220-
make_ParticleTile<SoAParticleType_8_0, 8, 0> (m); // ImpactX 24.02+
220+
make_ParticleTile<SoAParticleType_8_0, 8, 0> (m); // ImpactX 24.03+
221221
make_ParticleTile<ParticleType_0_0, 37, 1> (m); // HiPACE++ 22.07
222222
}

src/Particle/StructOfArrays.cpp

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -99,16 +99,16 @@ void make_StructOfArrays(py::module &m)
9999

100100
void init_StructOfArrays(py::module& m) {
101101
make_StructOfArrays< 2, 1>(m);
102-
make_StructOfArrays< 4, 0>(m); // HiPACE++ 22.08 - 24.01
103-
make_StructOfArrays< 5, 0>(m); // ImpactX 22.07 - 24.01
102+
make_StructOfArrays< 4, 0>(m); // HiPACE++ 22.08 - 24.02
103+
make_StructOfArrays< 5, 0>(m); // ImpactX 22.07 - 24.02
104104
#if AMREX_SPACEDIM == 1
105-
make_StructOfArrays< 5, 0, true>(m); // WarpX 24.02+ 1D
105+
make_StructOfArrays< 5, 0, true>(m); // WarpX 24.03+ 1D
106106
#elif AMREX_SPACEDIM == 2
107-
make_StructOfArrays< 6, 0, true>(m); // WarpX 24.02+ 2D
108-
make_StructOfArrays< 7, 0, true>(m); // WarpX 24.02+ RZ
107+
make_StructOfArrays< 6, 0, true>(m); // WarpX 24.03+ 2D
108+
make_StructOfArrays< 7, 0, true>(m); // WarpX 24.03+ RZ
109109
#elif AMREX_SPACEDIM == 3
110-
make_StructOfArrays< 7, 0, true>(m); // WarpX 24.02+ 3D
110+
make_StructOfArrays< 7, 0, true>(m); // WarpX 24.03+ 3D
111111
#endif
112-
make_StructOfArrays< 8, 0, true>(m); // ImpactX 24.02+
113-
make_StructOfArrays<37, 1>(m); // HiPACE++ 22.09 - 23.12
112+
make_StructOfArrays< 8, 0, true>(m); // ImpactX 24.03+
113+
make_StructOfArrays<37, 1>(m); // HiPACE++ 22.09 - 24.02
114114
}

0 commit comments

Comments
 (0)