Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .github/scripts/run_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,10 @@ fi
if [ "$TESTDIR" == "EXAMPLES/applications/waterlayered_halfspace/" ]; then
sed -i "s:^NSTEP .*:NSTEP = 600:" DATA/Par_file
fi
# waterlayered_halfspace example
if [ "$TESTDIR" == "EXAMPLES/applications/waterlayered_poroelastic/" ]; then
sed -i "s:^NSTEP .*:NSTEP = 600:" DATA/Par_file
fi
# tomographic model
if [ "$TESTDIR" == "EXAMPLES/applications/tomographic_model/" ]; then
sed -i "s:^NSTEP .*:NSTEP = 500:" DATA/Par_file
Expand Down
75 changes: 74 additions & 1 deletion .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1105,6 +1105,79 @@ jobs:
run: ./.github/scripts/run_tests.sh
shell: bash

linuxTest_23:
name: Test 23 - waterlayered poroelastic
runs-on: ubuntu-latest
needs: [compilationChecks]

steps:
- uses: actions/checkout@v4

- name: Install packages
run: ./.github/scripts/run_install.sh
shell: bash

- name: Run build
env:
TESTFLAGS: --with-mpi
run: ./.github/scripts/run_build.sh
shell: bash

- name: Run test
env:
TESTDIR: EXAMPLES/applications/waterlayered_poroelastic/
run: ./.github/scripts/run_tests.sh
shell: bash

linuxTest_24:
name: Test 24 - regular element mesh
runs-on: ubuntu-latest
needs: [compilationChecks]

steps:
- uses: actions/checkout@v4

- name: Install packages
run: ./.github/scripts/run_install.sh
shell: bash

- name: Run build
env:
TESTFLAGS: --with-mpi
run: ./.github/scripts/run_build.sh
shell: bash

- name: Run test
env:
TESTDIR: EXAMPLES/applications/meshfem3D_examples/regular_element_mesh/
run: ./.github/scripts/run_tests.sh
shell: bash

linuxTest_25:
name: Test 25 - FWI test acoustic
runs-on: ubuntu-latest
needs: [compilationChecks]

steps:
- uses: actions/checkout@v4

- name: Install packages
run: ./.github/scripts/run_install.sh
shell: bash

- name: Run build
env:
TESTFLAGS: --with-mpi
run: ./.github/scripts/run_build.sh
shell: bash

- name: Run test
env:
TESTDIR: EXAMPLES/applications/inversion_examples/fwi_test_acoustic/
run: ./.github/scripts/run_tests.sh
shell: bash


# intermediate workflow check
# leaves out linuxTest_5b and linuxTest_6b (kernel w/ HIP as they take longer than all others)
exampleChecks:
Expand All @@ -1113,7 +1186,7 @@ jobs:
linuxTest_7,linuxTest_8,linuxTest_9,linuxTest_10,
linuxTest_11,linuxTest_12,linuxTest_13,linuxTest_14,linuxTest_15,
linuxTest_16,linuxTest_17,linuxTest_18,linuxTest_19,linuxTest_20,
linuxTest_21,linuxTest_22]
linuxTest_21,linuxTest_22,linuxTest_23,linuxTest_24,linuxTest_25]
runs-on: ubuntu-latest
steps:
- run: echo "example tests passed"
Expand Down
6 changes: 3 additions & 3 deletions EXAMPLES/applications/inversion_examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Folder for examples of full-waveform inversion (FWI) approaches.
The examples in this folder will use very simple workflows, based mostly on the fortran tools provided in this SPECFEM3D package.


For more serious approaches, please consider additional external packages built to run FWI with SPECFEM solvers.
For alternative approaches, please consider additional external packages built to run FWI with SPECFEM solvers.
A recommended landing page which hosts the latest inversion tools is [adjTomo](https://github.com/adjtomo).

Training material can be [found here](https://specfem.org/training).
Expand All @@ -16,8 +16,8 @@ Further links to inversion frameworks:
- [Seisflows](https://github.com/adjtomo/seisflows)

and somewhat older frameworks which at some point worked with SPECFEM3D:
- [Lasif](http://lasif.net)
- [ASKI](http://www.gmg.ruhr-uni-bochum.de/geophysik/seismology/aski.html)
- [Lasif](https://github.com/krischer/LASIF)
- [ASKI](https://github.com/seismology-RUB/ASKI)
- [specfem_FWI_workflow](https://github.com/alanschiemenz/specfem_FWI_workflow)


Expand Down
Loading
Loading