anstmichaels / emopt

A suite of tools for optimizing the shape and topology of electromagnetic structures.
BSD 3-Clause "New" or "Revised" License
100 stars 41 forks source link

install.py pulls incompatible versions of petsc and slepc #5

Closed sbyrnes321 closed 6 years ago

sbyrnes321 commented 6 years ago

The install.py script is currently set to download slepc version 3.9.1 (explicitly), and the latest maint branch of petsc, which (as of this writing) is 3.10. Unfortunately, these two are incompatible!

http://slepc.upv.es/download/changes.htm

It's probably just a matter of editing the petsc download link to get a specific version ... the link is somewhere on this page I think: https://www.mcs.anl.gov/petsc/download/index.html

Thanks in advance! --Steve

anstmichaels commented 6 years ago

I just pushed a change which updated the SLEPc version in install.py. Give that a try and let me know if it works now.

At some point I will try to find a better way to maintain the correct versions of all of these different packages. For now, install.py should be treated as a mostly working aid for installing the dependencies.

sbyrnes321 commented 6 years ago

Well, at least for now, that fixes it, thanks!