-
Notifications
You must be signed in to change notification settings - Fork 356
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Summary This PR completes the work of @andrewcombs and @c-wetterer-nelson from #3444 by adding a docker image that includes ParaView and can be used for testing. It also adds a minor fix a02c1a5 discovered when testing these changes with the current master of WarpX. ## Additional background Supersedes and closes #3444 ## Checklist The proposed changes: - [x] fix a bug or incorrect behavior in AMReX - [x] add new capabilities to AMReX - [ ] changes answers in the test suite to more than roundoff level - [ ] are likely to significantly affect the results of downstream AMReX users - [ ] include documentation in the code and/or rst files, if appropriate --------- Co-authored-by: Andrew Combs <[email protected]> Co-authored-by: Corey Wetterer-Nelson <[email protected]>
- Loading branch information
1 parent
a8c5255
commit 83ecf62
Showing
13 changed files
with
108 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: 🐧 Catalyst | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.head_ref }}-insituvis-catalyst | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
catalyst: | ||
name: Catalyst | ||
runs-on: ubuntu-22.04 | ||
if: github.event.pull_request.draft == false | ||
env: | ||
CXX: g++ | ||
CC: gcc | ||
CMAKE_PREFIX: "/opt/conduit;/opt/catalyst" | ||
container: | ||
image: kitware/paraview:ci-catalyst-amrex-warpx-20240701 | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Configure | ||
run: | | ||
cmake -S . -B build \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DAMReX_ENABLE_TESTS=ON \ | ||
-DAMReX_FORTRAN=OFF \ | ||
-DAMReX_CATALYST=ON \ | ||
-DAMReX_CONDUIT=ON | ||
- name: Build | ||
run: | | ||
cmake --build build -j 4 | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
######################################################### | ||
# Catalyst (https://gitlab.kitware.com/paraview/catalyst) Support | ||
######################################################### | ||
|
||
CPPFLAGS += -DAMREX_USE_CATALYST | ||
|
||
ifdef CATALYST_DIR | ||
INCLUDE_LOCATIONS += $(CATALYST_DIR)/include | ||
VPATH_LOCATIONS += $(CATALYST_DIR)/include | ||
LIBRARY_LOCATIONS += $(CATALYST_DIR)/lib | ||
LIBRARIES += -Wl,-rpath,$(CATALYST_DIR)/lib | ||
|
||
LIBRARIES += -lcatalyst | ||
|
||
endif | ||
|