Skip to content

Illegal instruction: 4 #7

@asylvz

Description

@asylvz

Thanks for this tool, however I have some issues in using this. First I tried

pip install pywfa and I successfully imported the package but when I called a = WavefrontAligner(pattern), I get "Illegal instruction: 4" error.

Then I tried building from source, which failed too. I tried to compile from setup.py, which also failed somewhere with this error:
....

gcc-12 -Wall -g -fPIC -O3 -march=native  -DWFA_PARALLEL -fopenmp -I.. -c wavefront.c -o ../build/wavefront.o
make[2]: Leaving directory '/Users/asoylev/Programs/pywfa/pywfa/WFA2_lib/wavefront'
make --directory=bindings/cpp all
make[2]: Entering directory '/Users/asoylev/Programs/pywfa/pywfa/WFA2_lib'
make[2]: *** bindings/cpp: No such file or directory.  Stop.
make[2]: Leaving directory '/Users/asoylev/Programs/pywfa/pywfa/WFA2_lib'
make[1]: *** [Makefile:93: bindings/cpp] Error 2
make[1]: Leaving directory '/Users/asoylev/Programs/pywfa/pywfa/WFA2_lib'

With conda, I get the following error:

conda install -c bioconda pywfa
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: \ 
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed                                                                                                            

UnsatisfiableError:

Note that I'm using mac m1. But I tried conda installation with ubuntu and got the same error.

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