Skip to content

Commit 6460d33

Browse files
Merge pull request #745 from baagaard-usgs/prepare-release-4.1.1
Prepare release 4.1.1
2 parents f28b209 + 1e6b35e commit 6460d33

File tree

23 files changed

+1396
-9662
lines changed

23 files changed

+1396
-9662
lines changed

CHANGES.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ Starting with v3.0.0, we strictly follow the [semantic versioning guidelines](ht
55
The version numbers are in the form `MAJOR.MINOR.PATCH`, where major releases indicate changes to the public API (parameters), minor releases indicate new functionality that is backward compatible, and patch releases indicate backward compatible bug fixes.
66
:::
77

8+
## Version 4.1.1 (2024/06/09)
9+
10+
* **Fixed**
11+
* Improved setup of variable block Jacobian preconditioner used for elasticity with faults to reduce runtime.
12+
* Fix several typos and update a few diagrams in the documentation.
13+
814
## Version 4.1.0 (2024/06/05)
915

1016
* **Changed**
@@ -16,7 +22,7 @@ The version numbers are in the form `MAJOR.MINOR.PATCH`, where major releases in
1622
* New 2D and 3D crustal strike-slip faults examples based on the 2019 Ridgecrest earthquake.
1723
* New 2D subduction zone outer-rise faulting example examining poroelastic response to bending stresses.
1824
* New `pylith_viz` utility for plotting PyLith results.
19-
* Updated `examples/strikeslip-2d` and `examples/reverse-2d` to demonstrate use of uniform refinement and higher ordder discretizations to improve resolution of solution.
25+
* Updated `examples/strikeslip-2d` and `examples/reverse-2d` to demonstrate use of uniform refinement and higher order discretizations to improve resolution of solution.
2026
* Documentation
2127
* Developer Guide: Added description of the process for adding event logging and evaluating performance, including performance logging.
2228
* Developer Guide: Added checklist for what is needed when contributing examples.

CITATION.cff

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ authors:
2222
orcid: "https://orcid.org/0000-0001-7435-9196"
2323
identifiers:
2424
- type: doi
25-
value: 10.5281/zenodo.11479383
25+
value: 10.5281/zenodo.11534872
2626
repository-code: "https://github.com/geodynamics/pylith"
2727
url: "https://geodynamics.org/resources/pylith"
2828
keywords:
@@ -31,7 +31,7 @@ keywords:
3131
- earthquake
3232
- finite element
3333
license: MIT
34-
version: 4.1.0
34+
version: 4.1.1
3535
date-released: "2024-06-05"
3636
preferred-citation:
3737
type: article

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.11479383.svg)](https://doi.org/10.5281/zenodo.11479383)
3+
[![DOI](https://www.zenodo.org/badge/DOI/10.5281/zenodo.11534872.svg)](https://doi.org/10.5281/zenodo.11534872)
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
@@ -10,7 +10,7 @@ dnl ============================================================================
1010
dnl Process this file with autoconf to produce a configure script.
1111

1212
AC_PREREQ(2.59)
13-
AC_INIT([PyLith], [4.1.0], [https://geodynamics.org/resources/pylith])
13+
AC_INIT([PyLith], [4.1.1], [https://geodynamics.org/resources/pylith])
1414
AC_CONFIG_AUX_DIR([./aux-config])
1515
AC_CONFIG_HEADER([portinfo])
1616
AC_CONFIG_MACRO_DIR([m4])
@@ -173,7 +173,7 @@ CIT_FUNCTIONSTRING
173173
dnl VERSION
174174
CIG_PKG_GIT(PYLITH)
175175
AC_DEFINE_UNQUOTED([PYLITH_VERSION], ["$PACKAGE_VERSION"], [Define PyLith version])
176-
AC_DEFINE_UNQUOTED([PYLITH_DOI], ["10.5281/zenodo.11479383"], [Define PyLith doi])
176+
AC_DEFINE_UNQUOTED([PYLITH_DOI], ["10.5281/zenodo.11534872"], [Define PyLith doi])
177177

178178
dnl ENDIANNESS
179179
AC_C_BIGENDIAN

developer/pdf_to_svg.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#!/usr/bin/env nemesis
2+
3+
import sys
4+
import pymupdf
5+
6+
if len(sys.argv) != 2:
7+
print("usage: pdf_to_svg.py FILENAME")
8+
sys.exit(1)
9+
10+
filename_pdf = sys.argv[1]
11+
doc = pymupdf.open(filename_pdf) # open a document
12+
page = doc[0]
13+
14+
filename_svg = filename_pdf.replace(".pdf", ".svg")
15+
with open(filename_svg, "w", encoding="utf-8") as svg_out:
16+
svg_out.write(page.get_svg_image())

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 = '4.1.0'
25+
release = '4.1.1'
2626

2727

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

docs/intro/preface.md

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

1818
To cite the software and manual, use:
1919

20-
- Aagaard, B., M. Knepley, C. Williams (2024a), *PyLith v4.1.0.* Davis, CA: Computational Infrastructure of Geodynamics. DOI: 10.5281/zenodo.11479383.
20+
- Aagaard, B., M. Knepley, C. Williams (2024a), *PyLith v4.1.1.* Davis, CA: Computational Infrastructure of Geodynamics. DOI: 10.5281/zenodo.11534872.
2121

22-
- Aagaard, B., M. Knepley, C. Williams (2024b), *PyLith Manual, Version 4.1.0.* Davis, CA: Computational Infrastructure of Geodynamics. https://pylith.readthedocs.io/en/v4.1.0
22+
- Aagaard, B., M. Knepley, C. Williams (2024b), *PyLith Manual, Version 4.1.1.* Davis, CA: Computational Infrastructure of Geodynamics. https://pylith.readthedocs.io/en/v4.1.1
2323

2424
## Publishing Models
2525

@@ -43,7 +43,7 @@ Common output files include the solution fields and state variables as `.h5`, `.
4343

4444
The configuration files, parameters of the simulation, and solution field for the models in this study are available at DOI (Authors X, Y, Z) under CC BY-NC-SA 4.0.
4545

46-
PyLith version 4.1.0 (Aagaard et al., 2013; Aagaard et al., 2023a; Aagaard et al., 2023b) used in these models is freely available under the MIT license for download through its software landing page https://geodynamics.org/resources/pylith or Zenodo (10.5281/zenodo.11479383).
46+
PyLith version 4.1.1 (Aagaard et al., 2013; Aagaard et al., 2023a; Aagaard et al., 2023b) used in these models is freely available under the MIT license for download through its software landing page https://geodynamics.org/resources/pylith or Zenodo (10.5281/zenodo.11479383).
4747
The project is being actively developed on GitHub and can be accessed via https://github.com/geodynamics/pylith.
4848

4949
## Support

docs/user/examples/magma-2d/step02-inflation-statevars.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ ksp_divtol = 1.0e+5
9393
---
9494
caption: Run Step 2 simulation
9595
---
96-
$ pylith step02_inflation.cfg
96+
$ pylith step02_inflation_statevars.cfg
9797
9898
# The output should look something like the following.
9999
>> /software/unix/py3.12-venv/pylith-opt/lib/python3.12/site-packages/pylith/apps/PyLithApp.py:77:main

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-4.1.0-linux-x86_64.tar.gz
52+
$ tar -xzf pylith-4.1.1-linux-x86_64.tar.gz
5353
5454
# macOS
55-
$ tar -xzf pylith-4.1.0-macOS-10.15-x86_64.tar.gz
55+
$ tar -xzf pylith-4.1.1-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/v4.1.0/pylith-4.1.0-macOS-10.15-x86_64.tar.gz
69+
curl -L -O https://github.com/geodynamics/pylith/releases/download/v4.1.1/pylith-4.1.1-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-4.1.0-macOS-10.15-x86_64
76+
xattr ./pylith-4.1.1-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-4.1.0-macOS-10.15-x86_64
82+
sudo xattr -r -d com.apple.quarantine ./pylith-4.1.1-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-4.1.0/examples` while in the source distribution, they are located in `pylith-4.1.0/examples`.
145+
In the binary distribution, the examples are located in `src/pylith-4.1.1/examples` while in the source distribution, they are located in `pylith-4.1.1/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

docs/user/intro/figs/workflow.pdf

1.38 KB
Binary file not shown.

0 commit comments

Comments
 (0)