This page here has been created for the latest stable release of Salvus. You have chosen to view the documentation for another Salvus version. Please be aware there might be some small differences you have to account for.
Released: March 31st 2020
Salvus 0.11 contains a large number of internal improvements, bug fixes, and optimizations as well as already some preparations for the next release. This pages documents the major user facing changes of the Salvus software suite.
GPU support for CUDA capable GPUs is now available for forward modelling applications! The following system requirements apply:
If these requirements are satisfied, GPU support can be enabled by updating your site configuration file as follows:
[sites.site_name] ... use_cuda_capable_gpus = true ... [sites.site_name.site_specific] ...
With this new line in place, go ahead and re-run
init-site
for the Salvus
Flow site in question. If this completes successfully, you're up and running
with GPU support!
The relationship between the number of MPI ranks and the number of GPUs used is as follows. First, when the simulation is initialized, the number of CUDA-capable GPUs on each compute node is queried. Following this, the ranks which reside on each compute node are assigned in a round-robin fashion to the CUDA devices visible to the node. For example, if a simulation is run on two compute nodes, and each node has two CUDA-capable GPUs:
For the best performance we recommend running Salvus with 1 rank per GPU. This recommendation is however expected to change as the GPU capability of Salvus evolves, so please either check back here, or contact the development team through the designated support channels, for updates to these best-practice guidelines.
Up to version 0.10
Salvus came with several Python packages: SalvusMesh
, SalvusFlow
, SalvusFEM
and SalvusToolbox
There is now a single Salvus Python package.
Before:
import salvus_mesh import salvus_flow import salvus_fem import salvus_toolbox
Now:
import salvus.mesh import salvus.flow import salvus.fem import salvus.toolbox
We greatly improved all aspects of settings up and updating local as well as remote sites.
salvus-flow init-site
: Better checks and error messages for all
aspects including SSH connections and site setup. Will now emit actionable
suggestions of what to do when something breaks amongst other things.salvus-flow add-site
: Can now automatically install Salvus on a remote
site.salvus-flow upgrade
: Command to upgrade the local Python installation for
any future update.salvus-flow upgrade-site
: Command to upgrade Salvus on a remote site for
all future updates.Salvus can now simulate the effect the weight of the ocean (or another load) has on the wave field.
max_ranks
set to 1.KeyboardInterrupt
exceptions."SITE_NAME:..."
remote file in the waveform
simulation simple_config
helper objects.salvus.mesh.simple_config
.