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

Make Windows runner work with MPI tests #522

Open
sserita opened this issue Jan 16, 2025 · 0 comments
Open

Make Windows runner work with MPI tests #522

sserita opened this issue Jan 16, 2025 · 0 comments
Labels
bug A bug or regression
Milestone

Comments

@sserita
Copy link
Contributor

sserita commented Jan 16, 2025

Describe the bug
Currently the test/test_packages/tools/test_logl.py::LogLTestCase::test_hessian_mpi and test/test_packages/extras/test_interpygate.py fail on the GitHub Windows runner with the following error:

FAILED test/test_packages/tools/test_logl.py::LogLTestCase::test_hessian_mpi - RuntimeError: cannot load MPI library
Could not find module 'C:\Users\runneradmin\AppData\Roaming\Python\DLLs' (or one of its dependencies). Try using the full path with constructor syntax.
Could not find module 'C:\Users\runneradmin\AppData\Roaming\Python\Library\bin' (or one of its dependencies). Try using the full path with constructor syntax.
Could not find module 'C:\hostedtoolcache\windows\Python\3.8.10\x64\DLLs\impi.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Could not find module 'C:\hostedtoolcache\windows\Python\3.8.10\x64\DLLs\msmpi.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Could not find module 'C:\hostedtoolcache\windows\Python\3.8.10\x64\Library\bin' (or one of its dependencies). Try using the full path with constructor syntax.
Could not find module 'impi.dll' (or one of its dependencies). Try using the full path with constructor syntax.
Could not find module 'msmpi.dll' (or one of its dependencies). Try using the full path with constructor syntax.

See https://github.com/sandialabs/pyGSTi/actions/runs/12794355146/job/35669306620 for an example.

We are now catching this error so that the tests pass, but we should fix this such that we run the MPI tests on Windows as well.

@sserita sserita added the bug A bug or regression label Jan 16, 2025
@sserita sserita modified the milestones: 0.9.13, 0.9.13.1 Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug or regression
Projects
None yet
Development

No branches or pull requests

1 participant