-
Notifications
You must be signed in to change notification settings - Fork 47
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
116 changed files
with
77,858 additions
and
2,827 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
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,67 @@ | ||
--- | ||
name: Testing on macOS | ||
on: | ||
push: | ||
branches: | ||
- 'develop' | ||
pull_request: | ||
|
||
# Workaround issue in Xcode 14.1/2 | ||
env: | ||
DEVELOPER_DIR: /Applications/Xcode_14.0.1.app/Contents/Developer | ||
|
||
jobs: | ||
build-and-test: | ||
runs-on: macos-latest | ||
|
||
strategy: | ||
matrix: | ||
use_mpi: [MPI=ON] | ||
use_openmp: [OPENMP=ON] | ||
use_smm: [SMM=blas] | ||
blas_impl: [accelerate,openblas] | ||
mpi_suffix: [openmpi] | ||
exclude: | ||
- use_mpi: MPI=OFF | ||
mpi_suffix: mpich | ||
|
||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
submodules: true | ||
|
||
- name: Install common dependencies | ||
run: | | ||
env HOMEBREW_NO_AUTO_UPDATE=1 brew install \ | ||
ninja | ||
- name: Install ${{ matrix.mpi_suffix }} | ||
run: | | ||
env HOMEBREW_NO_AUTO_UPDATE=1 brew install ${{ matrix.mpi_suffix }} | ||
- name: Configure | ||
run: | | ||
mkdir -p build | ||
cd build | ||
env \ | ||
CC=gcc-11 CXX=g++-11 FC=gfortran-11 \ | ||
cmake -G Ninja \ | ||
-DCMAKE_BUILD_TYPE=Debug \ | ||
-DUSE_${{ matrix.use_mpi }} \ | ||
-DUSE_${{ matrix.use_openmp }} \ | ||
-DUSE_${{ matrix.use_smm }} \ | ||
$([ "${{ matrix.blas_impl }}" = "openblas" ] && echo '-DCMAKE_PREFIX_PATH=/usr/local/opt/openblas') \ | ||
-DMPIEXEC_PREFLAGS="$([ "${{ matrix.mpi_suffix }}" = "openmpi" ] && echo "-mca btl ^openib --allow-run-as-root")" \ | ||
-DTEST_MPI_RANKS=1 \ | ||
.. | ||
- name: Build | ||
run: cmake --build build -- --verbose | ||
|
||
- name: Test | ||
run: | | ||
cd build | ||
ctest --output-on-failure | ||
# vim: set ts=2 sw=2 tw=0 : |
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,3 @@ | ||
select = ["E", "F", "B"] | ||
line-length = 128 | ||
ignore = ["B905"] |
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 |
---|---|---|
@@ -1,8 +1,8 @@ | ||
MAJOR = 2 | ||
MINOR = 5 | ||
MINOR = 6 | ||
PATCH = 0 | ||
# A specific DATE (YYYY-MM-DD) fixes an official release, otherwise | ||
# it is considered Development version. | ||
DATE = 2022-12-27 | ||
DATE = 2023-07-10 | ||
|
||
|
Oops, something went wrong.