Code Monkey home page Code Monkey logo

Comments (6)

jakebolewski avatar jakebolewski commented on May 27, 2024 1

Hi @nvictus, this looks to be an internal TileDB bug from the last version. We are working on getting ready for the next release (1.3.0) next week and I think this should be addressed.

I'll leave this issue open until I can reproduce / confirm.

from tiledb-py.

jakebolewski avatar jakebolewski commented on May 27, 2024 1

@manolinux I think your issue is different than the one above. The illegal instruction issue hints that the conda toolchain compiled with SSE or AVX vector instructions that your platform does not support.

from tiledb-py.

manolinux avatar manolinux commented on May 27, 2024

Hi, with the following configuration, it still happens:
conda list | grep tile
tiledb 1.4.1 h36a7fd7_0 conda-forge
tiledb-py 0.3.0 py36h3e44d54_0 conda-forge

python
Python 3.6.6 | packaged by conda-forge | (default, Oct 12 2018, 14:08:43)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tiledb
ctx=tiledb.Ctx()
Illegal instruction (core dumped)

from tiledb-py.

manolinux avatar manolinux commented on May 27, 2024

@manolinux I think your issue is different than the one above. The illegal instruction issue hints that the conda toolchain compiled with SSE or AVX vector instructions that your platform does not support.

Thanks a lot for your quick answer. Yes, you're right. It seems my old Celeron Dual Core does not accept AVX instructions. As a workaround, just to get used to how works Tiledb API, I've made it work using Intel Software Development emulator: https://software.intel.com/en-us/articles/intel-software-development-emulator/

[manolinux@madoff sde-intel]$ ./sde64 -- python
Python 3.6.6 | packaged by conda-forge | (default, Oct 12 2018, 14:08:43)
[GCC 4.8.2 20140120 (Red Hat 4.8.2-15)] on linux
Type "help", "copyright", "credits" or "license" for more information.

import tiledb
ctx = tiledb.Ctx()
print (ctx)
<tiledb.libtiledb.Ctx object at 0x7fd3288c6d38>

And got rid of "Illegal Instruction" at the cost of worsening performance ... until I gather money for a new computer ;)

from tiledb-py.

jakebolewski avatar jakebolewski commented on May 27, 2024

I think this issue raises an important issue though, which is the conda packages should target some default arch. I think assuming sse support is a good baseline arch to compile to, almost all modern x86_64 bit computers should have support for that. We should not distribute binaries that have AVX instructions. I've added an issue on the the tiledb conda feedstock to enforce this.

@manolinux a better workaround would be to install tiledb from source, or if you are using TileDB-Python, pip-install tiledb. That will build the TileDB binary and Python extension from source automatically.

from tiledb-py.

ihnorton avatar ihnorton commented on May 27, 2024

@nvictus I just double-checked that the issue you reported is fixed.

@manolinux we've fixed the latest binaries on conda to follow the conda architecture defaults (-march=core2 -mtune=haswell -mssse3). Hopefully this resolves the problem.

Closing for now, if there is still an issue please let us know.

from tiledb-py.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.