Skip to content

How to install OpenPNM? #1809

Answered by jgostick
ma-sadeghi asked this question in Q&A
Dec 9, 2020 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

The standard pip install openpnm works, but as of version 2.6 we strongly recommonend that you use conda install -c conda-forge openpnm. The latter approach will also install the pardiso solver which is substantially faster than the default solver that comes with scipy. In fact the spsolve method in scipy is so slow that if your network has more than 10,000 pores, OpenPNM will raise an error and prevent you from running. It's just slow slow that you'll think the code has hung up.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@jluleijiang
Comment options

@jgostick
Comment options

Answer selected by ma-sadeghi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants