Skip to content

Commit 0fb3089

Browse files
authored
AMReX: 21.03 (#1749)
Update the internal references & dependencies to AMReX 21.03. Also update PICSAR (no new commits).
1 parent faf15f0 commit 0fb3089

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

cmake/dependencies/AMReX.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ macro(find_amrex)
171171
endif()
172172
set(COMPONENT_PRECISION ${WarpX_PRECISION} P${WarpX_PRECISION})
173173

174-
find_package(AMReX 21.02 CONFIG REQUIRED COMPONENTS ${COMPONENT_ASCENT} ${COMPONENT_DIM} ${COMPONENT_EB} PARTICLES ${COMPONENT_PIC} ${COMPONENT_PRECISION} TINYP LSOLVERS)
174+
find_package(AMReX 21.03 CONFIG REQUIRED COMPONENTS ${COMPONENT_ASCENT} ${COMPONENT_DIM} ${COMPONENT_EB} PARTICLES ${COMPONENT_PIC} ${COMPONENT_PRECISION} TINYP LSOLVERS)
175175
message(STATUS "AMReX: Found version '${AMReX_VERSION}'")
176176
endif()
177177
endmacro()
@@ -185,7 +185,7 @@ set(WarpX_amrex_src ""
185185
set(WarpX_amrex_repo "https://github.com/AMReX-Codes/amrex.git"
186186
CACHE STRING
187187
"Repository URI to pull and build AMReX from if(WarpX_amrex_internal)")
188-
set(WarpX_amrex_branch "47389357d5de37d84be69d9b06a294e64cb2a96b"
188+
set(WarpX_amrex_branch "21.03"
189189
CACHE STRING
190190
"Repository branch for WarpX_amrex_repo if(WarpX_amrex_internal)")
191191

cmake/dependencies/PICSAR.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ function(find_picsar)
7777
#message(STATUS "PICSAR: Using version '${PICSAR_VERSION}'")
7878
else()
7979
# not supported by PICSAR (yet)
80-
#find_package(PICSAR 21.02 CONFIG REQUIRED QED)
80+
#find_package(PICSAR 21.03 CONFIG REQUIRED QED)
8181
#message(STATUS "PICSAR: Found version '${PICSAR_VERSION}'")
8282
message(FATAL_ERROR "PICSAR: Cannot be used as externally installed "
8383
"library yet. "

run_test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ echo "cd $PWD"
5151

5252
# Clone PICSAR and AMReX
5353
git clone https://github.com/AMReX-Codes/amrex.git
54-
cd amrex && git checkout 47389357d5de37d84be69d9b06a294e64cb2a96b && cd -
54+
cd amrex && git checkout 21.03 && cd -
5555
# Use QED brach for QED tests
5656
git clone https://github.com/ECP-WarpX/picsar.git
5757
cd picsar && git checkout b35f07243c51ac35d47857fe36f0aafb6b517955 && cd -

0 commit comments

Comments
 (0)