Version:

FAQ

How do I check which version I have installed?

To check the version number of SalvusCompute for all sites, run

Copy
salvus-cli print-config

in the terminal and watch out for the line Salvus version.

To check the version number of the python modules, run the following lines either in a python terminal or in a jupyter notebook:

import salvus_fem, salvus_mesh, salvus_flow
print(salvus_flow.__version__)
print(salvus_fem.__version__)
print(salvus_mesh.__version__)

Make sure to always have the same version installed for all submodules to avoid any incompatibilities.

How do I check which version I have downloaded?

The version number of all packages is stored in the file info.toml in the download directory of Salvus. You can easily read it with any text editor.

Note that this file is overwritten every time you update Salvus and download a newer version.

The version number of the python packages is also encoded in the file name of the python wheels, e.g., salvus_mesh-0.9.9-cp37-cp37m-macosx_10_9_x86_64.whl refers to the release 0.9.9 of salvus_mesh for python 3.7 and 64 bit OSX operating system.

PAGE CONTENTS