llnl / llnl/MemSurfer

Import Issue

Open
#15 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

installation
Dominant language
C++
Stars
29
Forks
10
PR merge metrics
No merged PRs in 30d

Description

Hi,
I followed the instructions on the installation of memsurfer, but when I try to import memsurfer I get a ndarray error. I wondering if I could get some help on this. This is the error that I receive.

Python 3.9.10 | packaged by conda-forge | (main, Feb 1 2022, 21:24:37)
[GCC 9.4.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import memsurfer
Traceback (most recent call last):
File "", line 1, in
File "/home/max/Desktop/Packages_Programs/MemSurfer/memsurfer/__init__.py", line 15, in
from .membrane import Membrane
File "/home/max/Desktop/Packages_Programs/MemSurfer/memsurfer/membrane.py", line 19, in
from pypoisson import poisson_reconstruction
File "pypoisson/pypoisson.pyx", line 1, in init pypoisson
#cython: language_level=3str
ValueError: numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject
>>> exit
Use exit() or Ctrl-D (i.e. EOF) to exit
>>> exit()

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the import under the reported Python 3.9 and conda-forge environment. Read memsurfer/__init__.py and memsurfer/membrane.py to trace the pypoisson import, then inspect pypoisson/pypoisson.pyx and the installed NumPy build details. Done means identifying compatible dependency or build conditions and confirming that import memsurfer succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
numpy, python
Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.