Skip to content

Python: Illegal instruction (core dumped)  #81

@gcgloven

Description

@gcgloven

System: Freshly installed Ubuntu 18.04 with required packages installed
Python: python3.6.9
cmake: cmake version 3.10.2
g++/gcc: (Ubuntu 7.5.0-3ubuntu1~18.04) 7.5.0

Successfully make IRIS package and obtained iris_wrapper.cpython-36m-x86_64-linux-gnu.so from iris-distro/build/install/lib/python3.6/dist-packages/irispy

Running Test Code

python -m irispy.test.test_iris_2d
## The Response
Loading cdd global constants
Illegal instruction (core dumped)

I have put print statements in the built irispy folder to find which segment of the code incurred this error.

This happens when c_inflate_region function was called this is imported as such:

from .iris_wrapper import inflate_region as c_inflate_region
## some code and function
 if return_debug_data:
        debug = IRISDebugData()
        region = c_inflate_region(problem, options, debug)
        return region, debug
    else:
        region = c_inflate_region(problem, options)
        return region

I believe this is an issue with the compiled file iris_wrapper.cpython-36m-x86_64-linux-gnu.so

How could I proceed with this? I have re-installed my Ubuntu and to just build IRIS from the clean OS, the same error persist.

Thank you.

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