geodynamics / pylith

PyLith is a finite element code for the solution of dynamic and quasi-static tectonic deformation problems.
Other
153 stars 96 forks source link

The templates/friction configure file requires petsc 3.8.2 while Pylith 2.2.2 requires 3.10.2 #141

Open ebeauce opened 4 years ago

ebeauce commented 4 years ago

After installing Pylith and all the dependencies from the Pylith 2.2.2 installer, I tried to compile the viscous friction law (from templates/friction/) by following the instructions in templates/friction/README. I found this one issue very easy to fix: the configure file runs an outdated test, it checks if the Petsc version is 3.8.2, while you explicitly mention on https://geodynamics.org/cig/software/pylith/ that Pylith 2.2.2 requires Petsc 3.10.2 (which is also the version we get with the installer). I simply replaced all the "3.8.2" by "3.10.2" in the configure file, and got it working.

I thought it would be worth correcting that.

Thanks, Eric

baagaard-usgs commented 4 years ago

WIll fix when we update templates/friction.