-
Notifications
You must be signed in to change notification settings - Fork 65
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #133 from geodynamics/developer
Merge developer into master
- Loading branch information
Showing
1,048 changed files
with
4,394,244 additions
and
38,427 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,7 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -eu -o pipefail | ||
|
||
sudo apt-get update | ||
|
||
sudo apt-get install libproj-dev libhdf5-mpi-dev libfftw3-dev libfftw3-mpi-dev liblapack-dev python3-h5py libcurl3-dev |
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,59 @@ | ||
name: linux | ||
|
||
on: | ||
push: | ||
branches: [ master, developer ] | ||
pull_request: | ||
branches: [ master, developer ] | ||
|
||
# Allows to run this workflow manually from the Actions tab | ||
workflow_dispatch: | ||
|
||
jobs: | ||
SW4: | ||
runs-on: ubuntu-latest | ||
# timeout-minutes: 90 | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- name: Dependencies | ||
run: .github/workflows/dependencies-linux.sh | ||
|
||
- name: Build SW4 | ||
run: make sw4 CXX=mpicxx FC=gfortran debug=no proj_6=yes hdf5=yes fftw=yes zfp=no prec=double EXTRA_LINK_FLAGS="-lgfortran -lhdf5 -llapack" EXTRA_CXX_FLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H HDF5ROOT=/usr/lib/x86_64-linux-gnu/hdf5/openmpi FFTWHOME=/usr/lib/x86_64-linux-gnu -j2 | ||
|
||
- name: Test SW4 | ||
working-directory: ./pytest | ||
run: | | ||
# All tests except HDF5 ones | ||
./test_sw4.py -m 2 -t 2 -u 0 | ||
# Run 1st HDF5 test | ||
./test_sw4.py -m 2 -t 2 -u 1 | ||
# Run 2nd HDF5 test | ||
./test_sw4.py -m 2 -t 2 -u 2 | ||
# Run 3rd HDF5 test | ||
./test_sw4.py -m 2 -t 2 -u 3 | ||
# SW4mopt: | ||
# runs-on: ubuntu-latest | ||
# # timeout-minutes: 90 | ||
|
||
# steps: | ||
# - uses: actions/checkout@v2 | ||
|
||
# - name: Dependencies | ||
# run: .github/workflows/dependencies-linux.sh | ||
|
||
# - name: Build SW4mopt | ||
# run: make sw4mopt CXX=mpicxx FC=gfortran debug=no proj=yes hdf5=yes fftw=yes zfp=no prec=double EXTRA_LINK_FLAGS="-lgfortran -lhdf5 -llapack" EXTRA_CXX_FLAGS=-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H HDF5ROOT=/usr/lib/x86_64-linux-gnu/hdf5/openmpi FFTWHOME=/usr/lib/x86_64-linux-gnu -j2 | ||
|
||
# - name: Test SW4mopt | ||
# working-directory: ./pytest-sw4mopt | ||
# run: | | ||
# ./test_sw4mopt.py -d optimize_mp -m 2 -t 2 -v | ||
# echo "Output" | ||
# cat ./gaussian/*.out | ||
# echo "Error log" | ||
# cat ./gaussian/*.err | ||
|
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 |
---|---|---|
|
@@ -11,9 +11,9 @@ build/ | |
|
||
*.synctex.gz | ||
|
||
optimize/ | ||
optimize*/ | ||
|
||
debug/ | ||
debug*/ | ||
|
||
*.o | ||
|
||
|
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
Oops, something went wrong.