Skip to content

Commit 0af9743

Browse files
Merge pull request #799 from baagaard-usgs/docs-run-pylith-offline
Add instructions for running the PyLith binary offline
2 parents 467d69c + b5a4ea3 commit 0af9743

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

CHANGES.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ The version numbers are in the form `MAJOR.MINOR.PATCH`, where major releases in
1616
the other output files.
1717
* Consistency check for material properties and scales used in nondimensionalization (currently just the shear modulus).
1818
* Add section to User Guide on troubleshooting solver issues.
19+
* Add section to User Guide on how to run PyLith binary offline.
1920
* Allow output on a finer resolution mesh than used in the simulation to facilitate accurate representation of fields with a basis order of 2 or greater.
2021
* **Fixed**
2122
* Fix inconsistency in normal direction on fault surfaces. Orientation was correct but direction was flipped at some locations. This affected local slip direction and the resulting deformation close to the fault. This bug fix was not in version 4.1.3.

docs/user/run-pylith/overview.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,13 @@ The amount of speedup you will see by running in parallel depends on the process
1919
On most desktops and laptops, you can obtain reduced runtimes using about one-quarter to one-half of the number of physical cores.
2020
Once you saturate the memory bus, using additional processes (cores) will result in little, if any, speedup.
2121

22+
### Running on a Offline Desktop or Laptop
23+
24+
The MPI implementation (MPICH) used in the PyLith binary by default uses the network interface.
25+
If your desktop or laptop is offline, then you need to tell MPI to use sockets rather than the network interface.
26+
You can do this by setting the `IF_PROVIDER` environment variable.
27+
For example, in a terminal running zsh or tcsh, you can use `export IF_PROVIDER=sockets`.
28+
2229
(sec-run-pylith-cluster)=
2330
### Running in Parallel on a Cluster
2431

0 commit comments

Comments
 (0)