Skip to content

Commit

Permalink
Merge pull request #23 from SeisSol/thomas/update_dr_cpp
Browse files Browse the repository at this point in the history
dr/cpp related changes
  • Loading branch information
sebwolf-de authored Nov 7, 2022
2 parents 53090cd + 7227110 commit e4d8eb9
Show file tree
Hide file tree
Showing 10 changed files with 26 additions and 13 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ RUN git clone https://github.com/SeisSol/easi \

RUN git clone https://github.com/SeisSol/SeisSol.git \
&& cd SeisSol \
&& git checkout 973cc45 \
&& git submodule update --init \
&& mkdir build_hsw && cd build_hsw \
&& export PATH=$PATH:/home/tools/bin \
Expand Down
6 changes: 4 additions & 2 deletions How-to-build.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# How to build and deploy the docker container
Normally, the container would be built in a github action and automatically deployed.
During a pull request, the github action will build and deploy the image `seissol/training:pr-<id>`, where `id` is the id of the pull request on github.
After a merge, the CI will build and push `seissol/training:master`.
Once a tag in the form `v1.2.3` is released on github, the pipeline will push to `seissol/training:v1.2.3` and to `seissol/training:latest`.

During build time of the container, it will fetch and build:
* ASAGI latest github revision
* ImpalaJIT latest github revision
* PROJ version 4.9.3
* SCOREC latest github revision
* SeisSol latest github revision
* SeisSol 80a266e
* easi latest github revision
* eigen3 version 3.4.0
* gmsh version 4.8.4
* hdf5 version 1.10.7
* libxsmm version 1.16.1
* lua version 5.3.6
* netcdf version 4.7.4
* parmetis version 4.0.3
* pumgen latest github revision
* rconv lateste github revision
* rconv same commit as SeisSol

# Manual build
Although everything should be handled by the github actions, you might want to build and test the docker container locally:
Expand Down
5 changes: 5 additions & 0 deletions kaikoura/NZ_faultLSW.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,8 @@
}
end
[s_xx, s_yy, s_zz, s_xy, s_yz, s_xz]: !Include NZ_initial_stressLSW.yaml
[Tnuc_n, Tnuc_s, Tnuc_d]: !ConstantMap
map:
Tnuc_n: 0
Tnuc_s: 0
Tnuc_d: 0
4 changes: 2 additions & 2 deletions kaikoura/NZ_faultRS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
1500.0: [0.02]
-4000.0: [0.01]
-10e10: [0.01]
[RS_sl0]: !ConstantMap
[rs_sl0]: !ConstantMap
map:
RS_sl0: 0.2
rs_sl0: 0.2
[rs_srW]: !IdentityMap
components:
#we remove the characteristic velocity increase in CCFZ to help the rupture
Expand Down
4 changes: 2 additions & 2 deletions kaikoura/parametersRS.par
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ ModelFileName = 'NZ_faultRS.yaml'
RS_f0 = 0.6
RS_sr0 = 1d-6
RS_b = 0.014
Mu_W=0.1
RS_MuW=0.1
RS_iniSlipRate1 = 1d-16
RS_iniSlipRate2 = 0d0
RS_iniSlipRate2 = 0.0
t_0 = 0.5

!reference vector for defining strike and dip direction
Expand Down
5 changes: 5 additions & 0 deletions sulawesi/Sulawesi_faultLSW.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,8 @@
}
return 1000000000.0;
[s_xx, s_yy, s_zz, s_xy, s_yz, s_xz]: !Include Sulawesi_initial_stressLSW.yaml
[Tnuc_n, Tnuc_s, Tnuc_d]: !ConstantMap
map:
Tnuc_n: 0
Tnuc_s: 0
Tnuc_d: 0
4 changes: 2 additions & 2 deletions sulawesi/Sulawesi_faultRS.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
1500.0: [0.02]
-4000.0: [0.01]
-10e10: [0.01]
[RS_sl0]: !ConstantMap
[rs_sl0]: !ConstantMap
map:
RS_sl0: 0.2
rs_sl0: 0.2
[rs_srW]: !LayeredModel
map: !AffineMap
matrix:
Expand Down
5 changes: 2 additions & 3 deletions sulawesi/parametersRS.par
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ ModelFileName = 'Sulawesi_faultRS.yaml'
RS_f0 = 0.6
RS_sr0 = 1d-6
RS_b = 0.014
Mu_W=0.1
RS_MuW=0.1
RS_iniSlipRate1 = 1d-16
RS_iniSlipRate2 = 0d0
RS_iniSlipRate2 = 0.0
t_0 = 0.5

!reference vector for defining strike and dip direction
Expand Down Expand Up @@ -90,7 +90,6 @@ TimeInterval = 5. ! Index of printed info at time
refinement = 2

! off-fault ascii receivers
nRecordPoints = 33 ! number of Record points which are read from file
RFileName = 'GPSfiltered_proj_200m_8e6.dat' ! Record Points in extra file
pickdt = 0.01 ! Pickpoint Sampling
pickDtType = 1 ! Pickpoint Type
Expand Down
2 changes: 1 addition & 1 deletion tpv13/parameters.par
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ BC_of = 1 ! enable absorbing boundaries

&DynamicRupture
! linear slip-weakening friction
FL = 2 ! Friction law
FL = 16 ! Friction law
!yaml file defining spatial dependence of fault properties
ModelFileName = 'tpv12_13_fault.yaml'

Expand Down
3 changes: 2 additions & 1 deletion tpv13/tpv12_13_fault.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
mu_d: 0.10
d_c: 0.50
cohesion: -200000
[Tnuc_n, Tnuc_s, Tnuc_d]: !ConstantMap
[Tnuc_n, Tnuc_s, Tnuc_d, forced_rupture_time]: !ConstantMap
map:
Tnuc_n: 0
Tnuc_s: 0
Tnuc_d: 0
forced_rupture_time: 1e10

0 comments on commit e4d8eb9

Please sign in to comment.