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

travis fails with undefined symbol on travis for pypy3.9 #65

Open
mmckerns opened this issue Nov 13, 2023 · 1 comment
Open

travis fails with undefined symbol on travis for pypy3.9 #65

mmckerns opened this issue Nov 13, 2023 · 1 comment

Comments

@mmckerns
Copy link
Member

mmckerns commented Nov 13, 2023

See: https://app.travis-ci.com/github/uqfoundation/pyina/jobs/613166138
Travis fails on: from mpi4py import MPI with undefined symbols on a mpich build for pypy3.9.

@mmckerns mmckerns changed the title travis fails with undefined symbol PyInterpreterState_GetID on travis for pypy3.9 travis fails with undefined symbol on travis for pypy3.9 Nov 13, 2023
@mmckerns
Copy link
Member Author

More specifically, after the build "succeeds", then on importing it fails:

++python pyina/tests/test_ezmap.py
Traceback (most recent call last):
  File "pyina/tests/test_ezmap.py", line 109, in <module>
    test_ezmap()
  File "pyina/tests/test_ezmap.py", line 96, in test_ezmap
    from pyina.ez_map import ez_map as _map
  File "/home/travis/virtualenv/pypy3.9-7.3.9/lib/pypy3.9/site-packages/pyina/__init__.py", line 27, in <module>
    import pyina.launchers as launchers
  File "/home/travis/virtualenv/pypy3.9-7.3.9/lib/pypy3.9/site-packages/pyina/launchers.py", line 85, in <module>
    from pyina.mpi import Mapper, defaults
  File "/home/travis/virtualenv/pypy3.9-7.3.9/lib/pypy3.9/site-packages/pyina/mpi.py", line 60, in <module>
    from mpi4py import MPI
ImportError: /home/travis/virtualenv/pypy3.9-7.3.9/lib/pypy3.9/site-packages/mpi4py/MPI.pypy39-pp73-x86_64-linux-gnu.so: undefined symbol: PyInterpreterState_GetID

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

No branches or pull requests

1 participant