-
Notifications
You must be signed in to change notification settings - Fork 345
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into doc_input_parms
- Loading branch information
Showing
1,042 changed files
with
82,169 additions
and
55,029 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,50 @@ | ||
Checks: > | ||
'-*, | ||
bugprone-*, | ||
-bugprone-branch-clone, | ||
-bugprone-easily-swappable-parameters, | ||
-bugprone-exception-escape, | ||
-bugprone-implicit-widening-of-multiplication-result, | ||
clang-analyzer-*, | ||
-clang-analyzer-optin.mpi.MPI-Checker, | ||
clang-diagnostic-*, | ||
cppcoreguidelines-*, | ||
-cppcoreguidelines-avoid-c-arrays, | ||
-cppcoreguidelines-avoid-magic-numbers, | ||
-cppcoreguidelines-avoid-non-const-global-variables, | ||
-cppcoreguidelines-init-variables, | ||
-cppcoreguidelines-interfaces-global-init, | ||
-cppcoreguidelines-macro-usage, | ||
-cppcoreguidelines-no-malloc, | ||
-cppcoreguidelines-non-private-member-variables-in-classes, | ||
-cppcoreguidelines-owning-memory, | ||
-cppcoreguidelines-pro-*, | ||
google-build-explicit-make-pair, | ||
google-build-namespaces, | ||
google-global-names-in-headers, | ||
misc-*, | ||
-misc-const-correctness, | ||
-misc-non-private-member-variables-in-classes, | ||
-misc-no-recursion, | ||
modernize-*, | ||
-modernize-avoid-c-arrays, | ||
-modernize-macro-to-enum, | ||
-modernize-return-braced-init-list, | ||
-modernize-use-trailing-return-type, | ||
performance-*, | ||
portability-*, | ||
readability-*, | ||
-readability-else-after-return, | ||
-readability-function-cognitive-complexity, | ||
-readability-function-size, | ||
-readability-identifier-length, | ||
-readability-implicit-bool-conversion, | ||
-readability-isolate-declaration, | ||
-readability-magic-numbers, | ||
-readability-named-parameter, | ||
-readability-simplify-boolean-expr, | ||
mpi-* | ||
' | ||
# Files not ending with nolint.H will be filtered in. | ||
HeaderFilterRegex: '([^n].....|[^o]....|[^l]...|[^i]..|[^n].|[^t])\.H$' |
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,118 @@ | ||
name: apps | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.head_ref }}-apps | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
castro: | ||
name: Castro | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Get Latest Release Tag | ||
run: | | ||
CASTRO_TAG=$(wget https://github.com/AMReX-Astro/Castro/releases/latest 2>&1 | grep Location: | awk '{print $2}' | awk -F/ '{print $NF}') | ||
echo "CASTRO_TAG=$CASTRO_TAG" >> $GITHUB_ENV | ||
MICROPHYSICS_TAG=$(wget https://github.com/AMReX-Astro/Microphysics/releases/latest 2>&1 | grep Location: | awk '{print $2}' | awk -F/ '{print $NF}') | ||
echo "MICROPHYSICS_TAG=$MICROPHYSICS_TAG" >> $GITHUB_ENV | ||
- name: Download Castro | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: 'AMReX-Astro/Castro' | ||
ref: ${{env.CASTRO_TAG}} | ||
path: 'Castro' | ||
- name: Download Microphysics | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: 'AMReX-Astro/Microphysics' | ||
ref: ${{env.MICROPHYSICS_TAG}} | ||
path: 'Microphysics' | ||
- name: Dependencies | ||
run: | | ||
.github/workflows/dependencies/dependencies.sh | ||
.github/workflows/dependencies/dependencies_ccache.sh | ||
- name: Set Up Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/ccache | ||
key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} | ||
restore-keys: | | ||
ccache-${{ github.workflow }}-${{ github.job }}-git- | ||
- name: Build | ||
run: | | ||
export CCACHE_COMPRESS=1 | ||
export CCACHE_COMPRESSLEVEL=10 | ||
export CCACHE_MAXSIZE=75M | ||
export CCACHE_LOGFILE=${{ github.workspace }}/ccache.log.txt | ||
ccache -z | ||
export AMREX_HOME=${PWD} | ||
export MICROPHYSICS_HOME=${PWD}/Microphysics | ||
cd Castro/Exec/hydro_tests/Sedov/ | ||
make -j2 CCACHE=ccache USE_MPI=FALSE | ||
ccache -s | ||
du -hs ~/.cache/ccache | ||
warpx: | ||
name: WarpX | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Get Latest Release Tag | ||
run: | | ||
WARPX_TAG=$(wget https://github.com/ECP-WarpX/WarpX/releases/latest 2>&1 | grep Location: | awk '{print $2}' | awk -F/ '{print $NF}') | ||
echo "WARPX_TAG=$WARPX_TAG" >> $GITHUB_ENV | ||
- name: Download WarpX | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: 'ECP-WarpX/WarpX' | ||
ref: ${{env.WARPX_TAG}} | ||
path: 'WarpX' | ||
- name: Dependencies | ||
run: | | ||
.github/workflows/dependencies/dependencies.sh | ||
.github/workflows/dependencies/dependencies_ccache.sh | ||
- name: Set Up Cache | ||
uses: actions/cache@v3 | ||
with: | ||
path: ~/.cache/ccache | ||
key: ccache-${{ github.workflow }}-${{ github.job }}-git-${{ github.sha }} | ||
restore-keys: | | ||
ccache-${{ github.workflow }}-${{ github.job }}-git- | ||
- name: Build | ||
run: | | ||
export CCACHE_COMPRESS=1 | ||
export CCACHE_COMPRESSLEVEL=10 | ||
export CCACHE_MAXSIZE=40M | ||
export CCACHE_LOGFILE=${{ github.workspace }}/ccache.log.txt | ||
ccache -z | ||
cmake -S WarpX -B WarpX/build \ | ||
-DWarpX_amrex_src=${PWD} \ | ||
-DWarpX_QED=OFF \ | ||
-DWarpX_OPENPMD=OFF \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
cmake --build WarpX/build -j 2 | ||
ccache -s | ||
du -hs ~/.cache/ccache | ||
save_pr_number: | ||
if: github.event_name == 'pull_request' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Save PR number | ||
env: | ||
PR_NUMBER: ${{ github.event.number }} | ||
run: | | ||
echo $PR_NUMBER > pr_number.txt | ||
- uses: actions/upload-artifact@v3 | ||
with: | ||
name: pr_number | ||
path: pr_number.txt | ||
retention-days: 1 |
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,34 @@ | ||
name: 🐧 Ascent | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.ref }}-${{ github.head_ref }}-insituvis | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
ascent: | ||
name: Ascent | ||
runs-on: ubuntu-20.04 | ||
if: github.event.pull_request.draft == false | ||
env: | ||
CXX: g++ | ||
CC: gcc | ||
CMAKE_PREFIX_PATH: /ascent/install/lib/cmake/ | ||
container: | ||
image: alpinedav/ascent:0.9.2 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Configure | ||
run: | | ||
. /ascent_docker_setup_env.sh | ||
cmake -S . -B build \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DAMReX_ENABLE_TESTS=ON \ | ||
-DAMReX_FORTRAN=OFF \ | ||
-DAMReX_ASCENT=ON | ||
- name: Build | ||
run: | | ||
. /ascent_docker_setup_env.sh | ||
cmake --build build -j 2 | ||
Oops, something went wrong.