Skip to content

Makefile incorrectly searches numpy #321

@VictorEijkhout

Description

@VictorEijkhout

I get an error on numpy headers not found, so I edit line 518 in common.mk to

            $(error Required ${NUMPY_INCL_PATH} $(ccred)numpy headers$(ccreset) are missing...stopp\ing the compilation. You might be able to fix this by installing $(ccblue)numpy-devel$(ccreset))

which outputs

../common.mk:518: *** Required /work2/00434/eijkhout/stampede3/python/installation-3.11.0/numpy/core/include/numpy/ numpy headers are missing...stopping the compilation. You might be able to fix this by installing numpy-devel.  Stop.
make[2]: Leaving directory '/work2/00434/eijkhout/corrfunc/corrfunc-2.5.2/theory'
make[1]: *** [Makefile:9: theory] Error 2
make[1]: Leaving directory '/work2/00434/eijkhout/corrfunc/corrfunc-2.5.2'

so I go searching for that directory:

[staff corrfunc:96] ls /work2/00434/eijkhout/stampede3/python/installation-3.11.0/numpy/core/include/numpy/
ls: cannot access '/work2/00434/eijkhout/stampede3/python/installation-3.11.0/numpy/core/include/numpy/': No such file or directory
[staff corrfunc:97] ls /work2/00434/eijkhout/stampede3/python/installation-3.11.0/numpy/core/include/
ls: cannot access '/work2/00434/eijkhout/stampede3/python/installation-3.11.0/numpy/core/include/': No such file or directory
[staff corrfunc:98] ls /work2/00434/eijkhout/stampede3/python/installation-3.11.0/numpy/core/
arrayprint.py    _dtype_ctypes.py  einsumfunc.py   function_base.py  __init__.py   _internal.py   _multiarray_umath.py  numerictypes.py  __pycache__/  shape_base.py  _utils.py
defchararray.py  _dtype.py         fromnumeric.py  getlimits.py      __init__.pyi  multiarray.py  numeric.py            overrides.py     records.py    umath.py

Are you sure that path should exist?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions