Breaking changes in backward compatibility#

To keep up-to-date with changes in compute-centers and geoscientists’ needs, breaking changes sometimes needed to be introduced in SeisSol.

All breaking changes for version 0.9.0 and later are listed here.

The samples of the on-fault receivers#

(since the on-fault receivers sample at fixed times within the time steps)

The on-fault receivers sample at the multiples of the new parameter pickdt of the Pickpoint section, or without it every printtimeinterval time steps of the finest time cluster with fault faces counted from time zero, and at the end of the simulation. A sample takes the wave field of its time from the time derivatives of the cells, and the friction state interpolated linearly within the time step. Before, the receivers sampled in the time steps of the finest cluster with fault faces, counted from the last synchronization point, with the wave field of the start of the step and the friction state of its end; a face of a coarser cluster repeated the state of its step. After a restart, the first sample carries the time of the checkpoint.

The static frictional work#

(since the static frictional work takes the traction at the output time)

The static frictional work of the energy output (static_frictional_work) takes the traction of the cells at the faults at the time of the output, as it takes the slip, and as the elementwise fault output does. It used to take the traction at the start of the last time step of each cell. For TPV5 on a very coarse mesh (19 thousand cells), the values differ by up to 0.2 %.

Unified memory on GPUs#

(since the outputs copy only what they read from the GPU)

SEISSOL_USM and SEISSOL_USM_MPI are off by default on all systems. They used to be on by default where the GPU shares its memory with the CPU (e.g. Grace Hopper, Grace Blackwell, MI300A, APUs). The host then keeps a copy of the data; on an APU, it takes memory from the same pool as the GPU. SEISSOL_USM=1 brings back the former behavior, and running clusters on the host (SEISSOL_DEVICE_HOST_SWITCH) needs it.

The files of a mesh output in VTKHDF#

(since a single time series is the default of VTKHDF)

A mesh output written as VTKHDF (with a vtkorder) that is given no grouping of its steps writes them all into one file, as a VTKHDF time series (monolith), instead of one file per step; see The IO Infrastructure. Setting outputtimeseries = 'snapshot' in the output section brings back a file per step for all mesh outputs. An output written as Xdmf writes a file per step as before.

The quadrature rule of the dynamic rupture faces#

(since Dunavant’s rules are the default)

DR_QUAD_RULE defaults to dunavant instead of stroud. The friction laws are solved at the points of Dunavant’s rules, 33 instead of 49 per face at order 6, which changes the results of a run with dynamic rupture slightly. A build with -DDR_QUAD_RULE=stroud computes as before.

The names of configurations#

(since the scheme and the fault quadrature rule hold for the whole executable)

A configuration is named <material>[-m<mechanisms>]-o<order>-<f32|f64>[-s<fused simulations>], e.g. elastic-o6-f64 or viscoelastic-m3-o6-f64, in Configuration and ConfigMap of the parameter file, in SEISSOL_CONFIGURATION, in CONFIGS and EXTRA_CONFIGS, and in the names of the executables of a single configuration. The scheme that advances a material (SOLVER) and the quadrature rule of the dynamic rupture faces (DR_QUAD_RULE) are chosen for the whole executable and are no part of a name any more: elastic-linearck-o6-f64-stroud is now elastic-o6-f64, viscoelastic-linearckanelastic-m3-o6-f64-stroud is viscoelastic-m3-o6-f64. An executable of a viscoelastic or viscoacoustic configuration is named with -m before its number of mechanisms, seissol-viscoelastic-m3-o6-f64 instead of seissol-viscoelastic-3-o6-f64. An executable built with EXTRA_CONFIGS holds several configurations and is named seissol, as one built with CONFIGS.

The theoretical speedup of local time stepping#

(since the machine-readable run summary)

The line “Theoretical speedup to GTS:” of the log gives how many times fewer cell updates local time stepping takes than global time stepping (see Cell updates). It used to give the ratio of the sums of the cell timesteps, which is larger, and for clustered LTS took the wiggle factor into account twice. -clustering.csv has the columns timestep and updateFactor after localRank.

The loop statistics in NetCDF#

(since the machine-readable run summary)

LoopStatisticsNetcdfOutput in the output section has no effect any more, and a parameter file that sets it gets a warning. The NetCDF file it wrote, with every timing sample of every region and rank, is gone; the run summary has the time of every region per rank, with its statistics, instead (see Run summary).

The run ID in the output#

(since the machine-readable run summary)

Every table beside the output (-clustering.csv, -threadPinning.csv, -miniSeissol.csv, -flops.csv, -energy.csv and -analysis.csv) ends in a column runId, and the header of the text files of the receivers and fault receivers ends in a line # run-id; see Environment variables. A reader that takes the columns by name and skips the comment lines of a receiver file needs no change.

The rupture and dynamic stress times#

(since the verification cases on mini meshes)

The rupture time RT and the dynamic stress time DS of the fault output are the times at which the slip rate exceeds 1 mm/s, and at which the slip reaches d_c or the friction coefficient falls to its weakened value, interpolated linearly between the time points of the friction solve. They used to be the start of the sub-step in which the solver saw the crossing, and so lay on the grid of those time points; they are now later by half a sub-step on average. A crossing at the first time point of a time step is interpolated from the last one of the previous step, so that RT can now lie before the start of the time step, at which a receiver or the fault output may still have shown the point as not ruptured. The rupture velocity Vr, which differentiates the rupture time across a fault face, no longer jumps when a rounding error moves a crossing past a time point. A point that slips from the start of a simulation on still has a rupture time of 0.

Checkpoints now also hold the slip rate magnitude, from which the rupture time of the first time step after a restart is interpolated; checkpoints written before cannot be restored.

The receivers of fused simulations#

(since the verification cases on mini meshes)

A receiver of a fused run takes a row per sample and simulation, in the text files as in the HDF5 tables, and a column SimulationIndex says which simulation a row holds, counted from zero. The text files used to have a column per quantity and simulation instead, with the simulation in the name (v10, v11, … off the fault, SRs-1, SRs-2, … on it), and the HDF5 table of the off-fault receivers had a row per receiver holding all simulations. postprocessing/science/widen_fused_receivers.py converts text files to the previous layout. The header of an on-fault receiver gives P_0, T_s and T_d in a line each, with a value per simulation.

Without fused simulations, the text files keep their layout, and the on-fault receivers have the header of version 1.3 again: the title names the receiver, and the initial stress is given as P_0, T_s and T_d rather than P_01, T_s1 and T_d1. The option aggregateperrank in the Pickpoint section, which wrote all on-fault receivers of a rank into one text file, is gone; format = 'hdf5' writes all of them into a single file.

The wave vector of the planar wave#

(since the verification cases on mini meshes)

cICType = 'Planarwave' takes its wave vector from kVec in the IniCondition section, which only the travelling wave used to read. A parameter file that sets kVec for a planar wave therefore imposes a different wave than before. Without kVec, the wave vector is \((\pi, \pi, \pi)\), as it always was.

The default plasticity points#

(after 1.3.2, October 2026)

The plastic correction is now computed by default at the points of a fully symmetric quadrature rule that lie inside the cell, and projected back onto the basis with that rule (PLASTICITY_METHOD=sq, see Build parameter reference), instead of at the nodes of a nodal basis, some of which lie on the boundary of the cell (nb). Simulations with plasticity therefore give different results than before; plasticity parameters given per point (plasticityPointwise) are read at the new points; and since checkpoints hold the plastic strain at these points, a checkpoint written with nb does not fit a build with sq. Building with -DPLASTICITY_METHOD=nb restores the previous behavior.

The fault tag of the elementwise fault output#

(since the unification of the output modules)

The fault-tag cell field of the elementwise fault output carried the identifier of the face rather than the tag the mesh gave it, which is what the global-id field beside it holds, so the files had the identifier twice and the tag not at all. Post-processing that read fault-tag and got what it expected was reading an identifier; one that grouped by it was grouping by face.

The on-fault and off-fault receiver files#

(since the unification of the output modules)

receiverFormat = 'hdf5' writes a different file. It used to be one wide table with a column count taken from the widest receiver, described by the attributes DimNames and VariableNames; it is now a dataset per quantity set, with the quantities as the members of a compound and the receivers described by columns beside it. Off fault receivers has the layout. Post-processing of -receivers.h5 has to follow.

The text output, which is the default, is unchanged, and so is the file name and the write interval. The on-fault receivers gained the same HDF5 layout as an option under format = 'hdf5' in the Pickpoint section, but keep writing text unless it is asked for.

The tables beside the output#

(since the unification of the output modules)

The column names of -clustering.csv, -threadPinning.csv, -miniSeissol.csv, -energy.csv and -analysis.csv are now quoted, like every other piece of text in those files – in the energy output, the name of each quantity as well. Numbers are written in the shortest form that reads back as the same value, e.g. 0.25 rather than 2.50000000000000000e-01. What the columns are and what they hold is unchanged. A reader using a CSV parser needs no change; one comparing the lines literally does.

-analysis.csv has a column simulation_index, as -energy.csv has. With fused simulations, it holds the errors of every simulation; it held those of the last one only.

Output of a restarted run#

(since the unification of the output modules)

A run restarted from a checkpoint writes its output into new files and continues the numbering of the outputs. Files of the same name that exist already, e.g. the time series of the run before the restart, are kept under a backup name carrying the time of the restart. A single file holding the whole run therefore has to be assembled from the backup and the new file. See Checkpointing.

Output file names#

(since the unification of the output modules)

Every mesh output is now named after what it holds, so three file names changed. Post-processing that opens them by name has to follow.

  • The wavefield written through Xdmf was <prefix>.xdmf; it is now <prefix>-wavefield.xdmf, next to the <prefix>-wavefield.vtkhdf that the high-order output already used. The bare prefix carried no indication of what was in the file.

  • The high-order free-surface output was <prefix>-free-surface.vtkhdf; it is now <prefix>-surface.vtkhdf, which is what the Xdmf free-surface output has always been called.

  • The high-order elementwise fault output was <prefix>-fault-elementwise.vtkhdf; it is now <prefix>-fault.vtkhdf, matching the Xdmf fault output. The output it is distinguished from – the on-fault receivers – is written by a different module under a different name, so the qualifier distinguished nothing.

Refined wavefield output#

(since the unification of the output modules)

Two things changed about the volume output at the same time, and both affect a comparison against files written by an older version.

First, a refined wavefield output used to sample the subcells in a different vertex labeling than the one the output mesh was built with, so the value written for a subcell was the solution at the center of one of its siblings. With refinement = 1, three of the four subcells of every element carried a neighbor’s value; with refinement = 2 and 3, the inner subcells were sampled at a point that is not the center of any subcell at all. refinement = 0 was unaffected, because the center of the whole element does not move under that relabeling. This is now corrected, so output written with refinement > 0 differs from what older versions produced.

Second, how the solution reaches the output points is now a parameter rather than a property of the writer. It is wavefieldprojection for the wavefield and surfaceprojection for the free surface (see Wave field output and Free surface output). The defaults reproduce what each output did before – pointwise for the wavefield, l2 for the free surface – so no parameter file needs to change; the option exists to make the two comparable when that is wanted. Free-surface displacement in checkpoints ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ (since the unification of the output modules)

A checkpoint identified the faces of the free surface by the cell number local to the rank that wrote it, which names different cells on different ranks. On a restart, faces could therefore receive the displacement of another face; with the partitioning unchanged this affected a few faces at the rank boundaries, with a different one most of them. The faces are now identified by the global cell id, and a restart reproduces the displacement exactly. Checkpoints written before cannot restore it correctly.

Dynamic rupture checkpoints#

(after 1.3.2, #1642, September 2026)

The stress a fault point is under is now a function of the simulation time and of the fault parameters, rather than a quantity that the time step adds the nucleation to. The two checkpoint records that carried it, initialStressInFaultCS and initialPressure, no longer exist, and checkpoints written before this change cannot be restored. Restarting in the middle of a nucleation episode is exact from here on, since nothing about the episode is carried through the checkpoint.

Nucleation accuracy#

(after 1.3.2, #1642, September 2026)

Instead of accumulating over each time step, the nucleations now get evaluated at the exact time value. Furthermore, the accuracy of the nucleation source time function was improved. As a result, fast (i.e. taking only little timesteps) nucleations may now behave slightly differently to before.

Energy Output#

(since 0.9.0, #531, April 2022)

Since we merged GitHub pull request #531 (April 2022), the seismic moment time history output, from which the moment rate can be post-processed, is integrated into the energy output (see Energy output). Therefore, the parameters magnitude_output_on, energy_rate_output_on and energy_rate_printtimeinterval have been removed from the DynamicRupture namelist in the main parameter file.

C++ dynamic rupture implementation#

(1.0.0 to 1.3.2, since #625, September 2022)

While porting dynamic rupture to C++, we changed a few parameter names to make things more consistent. The new dynamic rupture implementation has been merged in September 2022 (GitHub pull request #625). The linear slip weakening friction laws FL=2 (nucleation by stress increase) and FL=16 (forced time rupture nucleation) have been merged (the new friction law is FL=16; but FL=2 will be accepted as input after #1288). Because of this change, FL=16 now requires nucleation stress or tractions to be specified in the fault-specific yaml file.

Parameter file (parameters.par):

old

new

0d0

0.0 (only until #1173)

v_star

pc_vStar (only until #1288)

L

pc_prakashLength (only until #1288)

mu_w

rs_muW (only until #1288)

alpha_th

tp_thermalDiffusivity (only until #1288)

rho_c

tp_heatCapacity (only until #1288)

tp_lambda

tp_undrainedTPResponse (only until #1288)

initemp

tp_iniTemp (only until #1288)

inipressure

tp_iniPressure (only until #1288)

Fault-specific yaml file (fault.yaml):

old

new

RS_sl0

rs_sl0 (only until #1427)

alpha_hy

tp_hydraulicDiffusivity (only until #1427)

TP_half_width_shear_zone

tp_halfWidthShearZone (only until #1427)

Ts0

T_s (only until #1427)

Td0

T_d (only until #1427)

Pn0

T_n (only until #1427)

RS_f0

rs_f0 (only until #1540)

RS_b

rs_b (only until #1540)

RS_muw

rs_muw (only until #1540)

FORTRAN Removal#

(since 1.1.0, #829, April 2023)

All FORTRAN had been removed; and several parameters have been deprecated. However, all previous configuration files continue working.

Relative Paths#

(since 1.2.0, #1156, August 2024)

SeisSol now looks for all paths in the parameter file first relatively to the parameter file, and only then relative to the execution directory. This rule does not apply for the output directory.

Before this change, also all other paths were only viewed relative to the execution directory.

For absolute paths, nothing has changed.

DR Traction Computation#

(since 1.1.0, #895, September 2023)

There was an adjustment in the Rate-and-State friction law computation; thus the results differ slightly between 1.0.1, and 1.1.0 onwards for the CPU computation. The adjustment was propagated to the GPU implementation after 1.3.0.

The respective commit updated the CPU implementation; the GPU implementation was updated by #1288.

Name of the Strain Rate Output for Off-Fault Receivers#

(since 1.2.0, #1126, June 2024)

The strain rate output was named just “strain” output for the off-fault receivers. The corresponding option was likewise called ReceiverComputeStrain, not ReceiverComputeStrainRate.

Poroelastic Time Basis#

(unreleased, #1374, August 2025)

Poroelasticity is solved with a space-time predictor, whose coefficients are expressed in a Legendre basis in time, while all other materials use a monomial (Taylor) basis.

Up to this fix, two areas were evaluated with the same (monomial) basis on all cases, affecting LTS and the fault stress output.

Poroelastic results may therefore differ from earlier versions.

Poroelastic Dynamic Rupture Impedance#

(unreleased)

The shear impedance of a poroelastic fault is now \(Z_s = \sqrt{\mu \rho_1}\), with the statically condensed density \(\rho_1 = \bar\rho - \rho_f^2 / m\) that the Biot system propagates shear waves with, instead of the density of the solid grains. The scalar impedances used by the friction update, the slip accumulation and the fault receiver output now come from the same matrix as the Riemann solver, and the wave impedance itself is computed in closed form rather than from an eigendecomposition.

Results of poroelastic dynamic rupture simulations change accordingly; how much depends on the porosity and the tortuosity. For the material values of the poroelastic test cases the impedance drops by 5 to 15 percent.

Frictional Energy of a Bimaterial Fault#

(unreleased)

The interface traction the frictional energy is integrated with is \(\tau^* = b^+ \tau^+ + b^- \tau^-\), with \(b^\pm = \eta Y^\pm\). The energy computation paired \(b^+\) with the traction of the minus side and vice versa, which disagreed with both the Riemann solver and the computeTractionInterpolated kernel the fault output uses.

The two coefficients are equal for a fault with the same material on both sides, so only bimaterial faults are affected. The frictional energy in the energy output changes there; the simulation itself does not.

Anisotropic Eigenbasis#

(unreleased)

One entry of the eigenbasis an anisotropic material is transformed with carried \(c_{46}\) where the derivation asks for \(c_{56}\), i.e. the coupling of \(\sigma_{xy}\) to \(u_z\) instead of the intended one.

The matrix enters the boundary conditions, so anisotropic simulations with a free surface or an absorbing boundary change. Materials for which both coefficients vanish – isotropy, VTI with the symmetry axis along a coordinate axis – are unaffected.

Potency and Seismic Moment Quadrature#

(since before 0.9.0, #527, April 2022)

The potency and the seismic moment were computed by averaging the value over all points. Now, to make the integration more exact, they are instead weighed by the quadrature rule the underlying DR implementation uses. As a result, the computed seismic moment and magnitude may slightly change compared to before.

Names of the Energy Output Columns#

Four columns of the energy output CSV file were named after a quantity that, in the literature, denotes a sum of which they are only one part. They now carry the name of what they actually contain (see Energy output); the values themselves are unchanged.

old

new

elastic_energy

elastic_strain_energy

acoustic_energy

acoustic_potential_energy

viscoelastic_energy

anelastic_strain_energy

gravitational_energy

gravitational_potential_energy

For a poroelastic material, the two columns that used to be called elastic_energy and elastic_kinetic_energy are now poroelastic_strain_energy and poroelastic_kinetic_energy: both hold a two-phase expression that differs from the single-phase one.

The terminal output changed accordingly: the group headings now read Acoustic mechanical energy, Elastic mechanical energy and Gravitational potential energy, and the share printed as kinematic is now kinetic.

Canonical Vertex Order#

(since after 1.3.2, #1630, September 2026)

While reading the mesh, SeisSol now brings the vertices of each tetrahedron into a canonical order, sorted by their global vertex index and reoriented where necessary. The order in which the mesh file lists the vertices of a tetrahedron therefore no longer matters.

Checkpoints written before this change cannot be used to restart a simulation after it, and vice versa: the degrees of freedom stored in a checkpoint refer to the local vertex order of each tetrahedron. Restarting with a different number of ranks keeps working as before.

Results differ slightly from those of earlier versions, by about as much as reordering the vertices of each tetrahedron in the mesh file would have changed them before. Dynamic rupture is affected most, since the positions of the on-fault quadrature points within a fault face follow the local vertex order. The time step widths of the local time stepping are computed in the canonical order as well, so a few elements may end up in a different time cluster than before. The results still depend on the global vertex numbering, i.e. on the order of the vertex list in the mesh file. The partitioning no longer depends on the order of the vertices of a tetrahedron either, and therefore differs once from earlier versions; a different partition changes the results by round-off only.

Tetrahedra with the wrong orientation are now reoriented, instead of stopping SeisSol with the error There are geometric problems with the given mesh. Degenerate tetrahedra of zero volume still do.

Custom memory layout files (see MEMORY_LAYOUT in Build parameter reference) describe the neighbor flux matrices as fPrT(0) to fPrT(3). Entries for rT and fP are still accepted, but no longer have an effect.