-
Notifications
You must be signed in to change notification settings - Fork 66
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
104 additions
and
32 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
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 |
---|---|---|
|
@@ -16,17 +16,21 @@ jobs: | |
- name: Build & Install | ||
run: | | ||
cd ExampleCodes | ||
mkdir build | ||
cd build | ||
cmake .. \ | ||
cmake -S . -B build \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DAMReX_LINEAR_SOLVERS=ON \ | ||
-DAMReX_FORTRAN=ON \ | ||
-DAMReX_FORTRAN_INTERFACES=ON \ | ||
-DAMReX_EB=ON \ | ||
-DAMReX_PARTICLES=ON | ||
make -j 2 | ||
-DAMReX_PARTICLES=ON \ | ||
-DTUTORIAL_PYTHON=ON | ||
cmake --build build -j 2 | ||
cmake --build build -j 2 --target pip_install | ||
- name: Run Python | ||
run: | | ||
cd ../GuidedTutorials/MultiFab/ | ||
python main.py | ||
# Build all tutorials | ||
tutorials_cxx20: | ||
|
@@ -40,22 +44,26 @@ jobs: | |
- name: Build & Install | ||
run: | | ||
cd ExampleCodes | ||
mkdir build | ||
cd build | ||
cmake .. \ | ||
cmake -S . -B build \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DAMReX_OMP=ON \ | ||
-DAMReX_PARTICLES=ON \ | ||
-DAMReX_LINEAR_SOLVERS=ON \ | ||
-DAMReX_FORTRAN=ON \ | ||
-DAMReX_FORTRAN_INTERFACES=ON \ | ||
-DAMReX_EB=ON \ | ||
-DAMReX_EB=ON \ | ||
-DTUTORIAL_PYTHON=ON \ | ||
-DCMAKE_CXX_STANDARD=20 \ | ||
-DCMAKE_C_COMPILER=$(which gcc-10) \ | ||
-DCMAKE_CXX_COMPILER=$(which g++-10) \ | ||
-DCMAKE_Fortran_COMPILER=$(which mpif90) | ||
make -j 2 | ||
cmake --build build -j 2 | ||
cmake --build build -j 2 --target pip_install | ||
- name: Run Python | ||
run: | | ||
cd ../GuidedTutorials/MultiFab/ | ||
python main.py | ||
tutorials_clang: | ||
name: [email protected] C++14 SP Particles DP Mesh Debug [tutorials] | ||
|
@@ -66,11 +74,9 @@ jobs: | |
- name: Dependencies | ||
run: .github/workflows/dependencies/dependencies_clang6.sh | ||
- name: Build & Install | ||
run: | | ||
run: | | ||
cd ExampleCodes | ||
mkdir build | ||
cd build | ||
cmake .. \ | ||
cmake -S . -B build \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DAMReX_MPI=OFF \ | ||
|
@@ -81,11 +87,17 @@ jobs: | |
-DAMReX_EB=ON \ | ||
-DAMReX_PRECISION=DOUBLE \ | ||
-DAMReX_PARTICLES_PRECISION=SINGLE \ | ||
-DTUTORIAL_PYTHON=ON \ | ||
-DCMAKE_CXX_STANDARD=14 \ | ||
-DCMAKE_C_COMPILER=$(which clang) \ | ||
-DCMAKE_CXX_COMPILER=$(which clang++) \ | ||
-DCMAKE_Fortran_COMPILER=$(which gfortran) | ||
make -j 2 | ||
cmake --build build -j 2 | ||
cmake --build build -j 2 --target pip_install | ||
- name: Run Python | ||
run: | | ||
cd ../GuidedTutorials/MultiFab/ | ||
python main.py | ||
# Build all tutorials w/o MPI | ||
tutorials-nonmpi: | ||
|
@@ -99,18 +111,22 @@ jobs: | |
- name: Build & Install | ||
run: | | ||
cd ExampleCodes | ||
mkdir build | ||
cd build | ||
cmake .. \ | ||
cmake -S . -B build \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DAMReX_MPI=OFF \ | ||
-DAMReX_LINEAR_SOLVERS=ON \ | ||
-DAMReX_FORTRAN=ON \ | ||
-DAMReX_FORTRAN_INTERFACES=ON \ | ||
-DAMReX_EB=ON \ | ||
-DAMReX_PARTICLES=ON | ||
make -j 2 | ||
-DAMReX_PARTICLES=ON \ | ||
-DTUTORIAL_PYTHON=ON | ||
cmake --build build -j 2 | ||
cmake --build build -j 2 --target pip_install | ||
- name: Run Python | ||
run: | | ||
cd ../GuidedTutorials/MultiFab/ | ||
python main.py | ||
# Build all tutorials | ||
tutorials-nofortran: | ||
|
@@ -124,16 +140,20 @@ jobs: | |
- name: Build & Install | ||
run: | | ||
cd ExampleCodes | ||
mkdir build | ||
cd build | ||
cmake .. \ | ||
cmake -S . -B build \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DCMAKE_VERBOSE_MAKEFILE=ON \ | ||
-DAMReX_LINEAR_SOLVERS=ON \ | ||
-DAMReX_EB=ON \ | ||
-DAMReX_PARTICLES=ON \ | ||
-DAMReX_FORTRAN=OFF | ||
make -j 2 | ||
-DAMReX_FORTRAN=OFF \ | ||
-DTUTORIAL_PYTHON=ON | ||
cmake --build build -j 2 | ||
cmake --build build -j 2 --target pip_install | ||
- name: Run Python | ||
run: | | ||
cd ../GuidedTutorials/MultiFab/ | ||
python main.py | ||
# Build all tutorials with CUDA 11.0.2 (recent supported) | ||
tutorials-cuda11: | ||
|
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