Skip to content

Trouble installing with spack #73

@sampotter

Description

@sampotter

Trying to use meshpy on a cluster with spack.

After installing spack, I install and load several standard and necessary packages: gcc, python, py-pip, etc. Just the default version of each that is available.

Using spack's version of pip, I install pybind11. Then I clone meshpy from GitHub and try to install it. This seems to work, at least initially. Using, e.g., python setup.py install --user or pip install . leads to the same error. Namely (encountered while trying to import meshpy.triangle as triangle):

In [1]: import meshpy._internals
---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
<ipython-input-1-4f0d2eb1fac4> in <module>
----> 1 import meshpy._internals

ImportError: /home/sfp8544/.local/lib/python3.9/site-packages/MeshPy-2020.1-py3.9-linux-x86_64.egg/meshpy/_internals.cpython-39-x86_64-linux-gnu.so: undefined symbol: _ZNSt15__exception_ptr13exception_ptr10_M_releaseEv

Looks like the C++ standard library isn't getting linked. Presumably this is because of some version mismatch along the way. Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions