Skip to content

Commit ae1f8f1

Browse files
Merge pull request #523 from geodynamics/baagaard/feature-version-3.0.2
Set version to 3.0.2. Updates for release.
2 parents 9bbb13d + fb3104f commit ae1f8f1

18 files changed

+102
-21
lines changed

CHANGES.md

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,36 @@
11
See <https://github.com/geodynamics/pylith/commits/main> for the complete log of changes made to PyLith.
22

3+
## Version 3.0.2
4+
5+
This is a bug fix release with no new features or changes to the user interface.
6+
7+
* Add check of PyLith version against version requirements specified in metadata of parameter files.
8+
* Update defaults to better match most use cases.
9+
* Use nonlinear solver.
10+
* Basis order is 1 for solution fields.
11+
* Basis order is 0 for Cauchy stress and strain.
12+
* Use ML algebraic multigrid preconditioner (from Trilinos) instead of GAMG preconditioner for more robust solves. This is a temporary change until we find better GAMG settings.
13+
* Update PETSc to v3.17.3.
14+
* Remove obsolete LaTeX documentation.
15+
* Bug fixes
16+
* Add `viz` directory missing from `examples/subduction-2d` in source distribution.
17+
* Project output fields using correct PETSc routine (`DMProjectFieldLabel()`). Fixes memory access bugs in both serial and parallel.
18+
* Fix build warnings.
19+
* Fix reordering that causes errors when importing Gmsh files.
20+
* Documentation
21+
* Add discussion of translating boundary value problem information to parameter settings. Add more code blocks to manual.
22+
* Add discussion of `examples/troubleshooting-2d` to manual.
23+
24+
### Binary packages
25+
26+
* Added PyQT5 Python module for interactive plotting with matplotlib.
27+
* Update PyLith Parameter Viewer to v2.0.1 (fix errors in packaging).
28+
29+
### Known issues
30+
31+
* The default PETSc options provide a computationally expensive preconditioner when solving incompressible elasticity problems in parallel. We expect to have a more optimal preconditioner in the next release.
32+
* You may still encounter a few bugs when running in parallel; they appear to cases with specific partitioning of the mesh in relation to one or more faults.
33+
334
## Version 3.0.1
435

536
This is a bug fix release with no new features or changes to the user interface.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# PyLith
22

3-
[![DOI](https://www.zenodo.org/badge/DOI/10.5281/zenodo.6667614.svg)](https://doi.org/10.5281/zenodo.6667614)
3+
[![DOI](https://www.zenodo.org/badge/DOI/10.5281/zenodo.6914592.svg)](https://doi.org/10.5281/zenodo.6914592)
44
[![MIT License](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/geodynamics/pylith/blob/main/LICENSE.md)
55
[![Build Status](https://dev.azure.com/baagaard-usgs/pylith/_apis/build/status/geodynamics.pylith?branchName=main)](https://dev.azure.com/baagaard-usgs/pylith/_build/latest?definitionId=2&branchName=main)
66
[![codecov](https://codecov.io/gh/geodynamics/pylith/branch/master/graph/badge.svg?token=JiwLVB64EF)](https://codecov.io/gh/geodynamics/pylith)

configure.ac

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ dnl ----------------------------------------------------------------------
1717
dnl Process this file with autoconf to produce a configure script.
1818

1919
AC_PREREQ(2.59)
20-
AC_INIT([PyLith], [3.0.1], [https://geodynamics.org/resources/pylith])
20+
AC_INIT([PyLith], [3.0.2], [https://geodynamics.org/resources/pylith])
2121
AC_CONFIG_AUX_DIR([./aux-config])
2222
AC_CONFIG_HEADER([portinfo])
2323
AC_CONFIG_MACRO_DIR([m4])
@@ -179,7 +179,7 @@ CIT_FUNCTIONSTRING
179179
dnl VERSION
180180
CIG_PKG_GIT(PYLITH)
181181
AC_DEFINE_UNQUOTED([PYLITH_VERSION], ["$PACKAGE_VERSION"], [Define PyLith version])
182-
AC_DEFINE_UNQUOTED([PYLITH_DOI], ["10.5281/zenodo.6667614"], [Define PyLith doi])
182+
AC_DEFINE_UNQUOTED([PYLITH_DOI], ["10.5281/zenodo.6914592"], [Define PyLith doi])
183183

184184
dnl ENDIANNESS
185185
AC_C_BIGENDIAN

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
author = 'Brad T. Aagaard, Matthew G. Knepley, Charles A. Williams'
2323

2424
# The full version, including alpha/beta/rc tags
25-
release = '3.0.1'
25+
release = '3.0.2'
2626

2727

2828
# -- General configuration ---------------------------------------------------

docs/intro/preface.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ The following peer-reviewed paper discussed the development of PyLith:
1717

1818
To cite the software and manual, use:
1919

20-
- Aagaard, B., M. Knepley, C. Williams (2022), *PyLith v3.0.1.* Davis, CA: Computational Infrastructure of Geodynamics. DOI: 10.5281/zenodo.6667614.
20+
- Aagaard, B., M. Knepley, C. Williams (2022), *PyLith v3.0.2.* Davis, CA: Computational Infrastructure of Geodynamics. DOI: 10.5281/zenodo.6914592.
2121

22-
- Aagaard, B., M. Knepley, C. Williams (2022), *PyLith Manual, Version 3.0.1.* Davis, CA: Computational Infrastructure of Geodynamics. https://pylith.readthedocs.io/en/v3.0.1
22+
- Aagaard, B., M. Knepley, C. Williams (2022), *PyLith Manual, Version 3.0.2.* Davis, CA: Computational Infrastructure of Geodynamics. https://pylith.readthedocs.io/en/v3.0.2
2323

2424
## Support
2525

docs/user/install/index.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,10 @@ On macOS systems you can check the operating system version by clicking on the A
4949
3. Unpack the tarball.
5050
```{code-block} bash
5151
# Linux 64-bit
52-
$ tar -xzf pylith-3.0.1-linux-x86_64.tar.gz
52+
$ tar -xzf pylith-3.0.2-linux-x86_64.tar.gz
5353
5454
# macOS
55-
$ tar -xzf pylith-3.0.1-macOS-11.6.6-x86_64.tar.gz
55+
$ tar -xzf pylith-3.0.2-macOS-10.15-x86_64.tar.gz
5656
```
5757
4. Set environment variables.
5858
The provided `setup.sh` script only works if you are using bash shell.
@@ -66,20 +66,20 @@ Ready to run PyLith.
6666
To bypass macOS quarantine restrictions, simply use command line program `curl` to download the tarball from within a terminal rather than using a web browser.
6767

6868
```
69-
curl -L -O https://github.com/geodynamics/pylith/releases/download/v3.0.1/pylith-3.0.1-macOS-11.6.6-x86_64.tar.gz
69+
curl -L -O https://github.com/geodynamics/pylith/releases/download/v3.0.2/pylith-3.0.2-macOS-10.15-x86_64.tar.gz
7070
```
7171

7272
Alternatively, if you do download the tarball using a web browser, after you unpack the tarball you can remove the macOS quarantine flags using the following commands (requires Administrator access):
7373

7474
```
7575
# Show extended attributes
76-
xattr ./pylith-3.0.1-macOS-11.6.6-x86_64
76+
xattr ./pylith-3.0.2-macOS-10.15-x86_64
7777
7878
# Output should be
7979
com.apple.quarantine
8080
8181
# Remove quarantine attributes
82-
sudo xattr -r -d com.apple.quarantine ./pylith-3.0.1-macOS-11.6.6-x86_64
82+
sudo xattr -r -d com.apple.quarantine ./pylith-3.0.2-macOS-10.15-x86_64
8383
```
8484
:::
8585

@@ -142,7 +142,7 @@ For each package this utility downloads the source code, configures it, builds i
142142
## Verifying PyLith is Installed Correctly
143143

144144
The easiest way to verify that PyLith has been installed correctly is to run one or more of the examples supplied with the binary and source code.
145-
In the binary distribution, the examples are located in `src/pylith-3.0.1/examples` while in the source distribution, they are located in `pylith-3.0.1/examples`.
145+
In the binary distribution, the examples are located in `src/pylith-3.0.2/examples` while in the source distribution, they are located in `pylith-3.0.2/examples`.
146146
{ref}`sec-examples` discusses how to run and visualize the results for the examples.
147147
To run the example discussed in Section {ref}`sec-examples-box-2d`:
148148

examples/reverse-2d/step06_twofaults_elastic.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ base = [pylithapp.cfg]
2121
description = Reverse prescribed slip on main and splay fault with zero displacement Dirichlet boundary condition.
2222
authors = [Charles Williams, Brad Aagaard]
2323
keywords = [reverse slip, prescribed slip, multiple faults]
24-
arguments = [step06_twofaults_elastic.cfg, solver_fault.cfg]
24+
arguments = [step06_twofaults_elastic.cfg]
2525
version = 1.0.0
2626
pylith_version = [>=3.0, <4.0]
2727

examples/subduction-3d/step06_slowslip.cfg

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ description = Slow slip on a patch in the middle of the top of the slab.
2424
keywords = [prescribed slip, slow slip, generate spatial database]
2525
arguments = [step06_slowslip.cfg, mat_elastic.cfg]
2626
version = 2.0.0
27+
pylith_version = [>3.0]
2728

2829
features = [
2930
Quasi-static simulation,

examples/subduction-3d/step07a_leftlateral.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ base = [pylithapp.cfg, greensfns.cfg, mat_elastic.cfg]
1616
description = "Generate static Green's functions for left-lateral slip on the subduction interface."
1717
arguments = [step07a_leftlateral.cfg, mat_elastic.cfg]
1818
version = 2.0.0
19-
pylith_version = [>=2.0, <3.0]
19+
pylith_version = [>3.0]
2020

2121
features = [
2222
pylith.meshio.OutputSolnPoints,

examples/subduction-3d/step07b_reverse.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ base = [pylithapp.cfg, greensfns.cfg, mat_elastic.cfg]
1616
description = "Generate static Green's functions for reverse slip on the subduction interface."
1717
arguments = [step07b_reverse.cfg, mat_elastic.cfg]
1818
version = 2.0.0
19-
pylith_version = [>=2.0, <3.0]
19+
pylith_version = [>3.0]
2020

2121
features = [
2222
pylith.meshio.OutputSolnPoints,

0 commit comments

Comments
 (0)