Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible bug on Windows #26

Closed
ma-sadeghi opened this issue Oct 23, 2021 · 4 comments
Closed

Possible bug on Windows #26

ma-sadeghi opened this issue Oct 23, 2021 · 4 comments
Assignees

Comments

@ma-sadeghi
Copy link

Hi @haasad, as you might know, we're using pypardiso as our default solver in OpenPNM. We recently hit this error in our continuous integration workflows on GitHub Actions Windows machines. Any idea what might be causing it?

     import pypardiso
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\assertion\rewrite.py:170: in exec_module
    exec(co, module.__dict__)
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\pypardiso\__init__.py:3: in <module>
    from .pardiso_wrapper import PyPardisoSolver
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\assertion\rewrite.py:170: in exec_module
    exec(co, module.__dict__)
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\pypardiso\pardiso_wrapper.py:9: in <module>
    import mkl
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\_pytest\assertion\rewrite.py:170: in exec_module
    exec(co, module.__dict__)
c:\hostedtoolcache\windows\python\3.8.10\x64\lib\site-packages\mkl\__init__.py:49: in <module>
    from . import _mklinit
E   ImportError: DLL load failed while importing _mklinit: The specified module could not be found.
@haasad haasad self-assigned this Oct 23, 2021
@haasad
Copy link
Owner

haasad commented Oct 23, 2021

Hi @ma-sadeghi, could you please provide a bit more context? A link to the failing workflow would already be helpful. Is this a workflow with pip or conda?

@ma-sadeghi
Copy link
Author

ma-sadeghi commented Oct 23, 2021

Thanks for getting back to me @haasad. Here's the link to the failing workflow: https://github.com/PMEAL/OpenPNM/runs/3985079957?check_suite_focus=true

To pin down the issue, in the workflow, I just do

pip install pypardiso
python -c "import pypardiso"

@haasad
Copy link
Owner

haasad commented Oct 24, 2021

mkl-service is now dropped as a dependency in v0.4.0, please let me know if this fixed your issues

@ma-sadeghi
Copy link
Author

Hi @haasad Thanks once again. I confirm that the issue is now fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants