Mondaic

Salvus 0.12.8

Released: 2022-11-21

This is a minor release featuring a few bug fixes and additions detailed below to improve usability and performance.

Additionally, several improvements to the internal meshing algorithms have been made.

Changes

SalvusCompute

Bug fix for reading in custom source time functions from hdf5 in SalvusCompute. This could cause an interpolation error when providing input on an oversampled time axis.

SalvusCompute

Enable new field frequency-domain for (time-dependent) volume and surface data. In combination with the static frequency-domain output, this enables storing the time-evolution of the discrete Fourier transform with the polynomial degree of the SEM shape functions.

SalvusFlow

There is a a new job_script_shebang setting for Slurm sites to allow overwriting the job script shebang.

SalvusMesh

Performance improvement in apply_element_mask, which can lead to significant speed-ups for meshes that neither have nodal parameters nor layered topography.

SalvusOpt

Enable optional additional outputs when computing the optimal transport misfit. If requested, the distance matrix and the optimal assignment will be returned, which is useful for visualizing the optimal transport map.

SalvusProject

Enable chunkwise job submission in task chains.

The optional parameter max_concurrent_chains can be passed to the TaskChainSiteConfig to limit the maximum number of concurrent chains. Note that when using more than one site, this parameter has to be consistent for all sites in the current implementation.

SalvusProject

Add ability to cancel ongoing or pending simulations in a project.

Example:

p.simulations.cancel(
  simulation_configuration="my_simulation",
  events=p.events.list()
)

Alternatively, p.simulations.cancel_all() will cancel all simulations from the simulations store.