Skip to content

Commit

Permalink
Better warning message when pardiso missing
Browse files Browse the repository at this point in the history
  • Loading branch information
ma-sadeghi committed Oct 1, 2023
1 parent b4091cf commit d3ad011
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion openpnm/utils/_workspace.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,11 @@ class WorkspaceSettings(SettingsAttr):
default_solver = 'PardisoSpsolve'
except ImportError:
default_solver = 'ScipySpsolve'
logger.error('Pardiso not installed, run `pip install pypardiso`')
msg = (
'PARDISO solver not installed, run `pip install pypardiso`. '
'Otherwise, simulations will be slow. Apple M chips not supported.'
)
logger.error(msg)

@property
def loglevel(self):
Expand Down

0 comments on commit d3ad011

Please sign in to comment.