Comments (6)
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.
@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.
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 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.
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.
@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)
- ValueError: shape mismatch HOT 3
- Nightly GitHub Actions Build Fail on Thu, August 17th 2023 HOT 1
- Feature: Support `pathlib.Path` HOT 2
- Nightly GitHub Actions Build Fail HOT 21
- Unable to access array from S3
- The nightly build job failed on Sunday (2023-09-17) HOT 124
- tile parameter ignored in variable length dimensions HOT 1
- tiledb-py > 0.21.6 and corresponding versions of tiledb embedded miss the path separator and query string prefix when utilizing SAS tokens with Azure Blob Storage HOT 1
- tiledb.walk() hangs indefinitely when blob with folder name exists HOT 1
- Error when reading from HDFS backend HOT 3
- Show enumerated value-types in enum-printer
- Installation fails on python 3.12.0 HOT 3
- DataFrame `from_csv` doesn't support alternative s3-compatible backend
- [bug] Enumeration attribute incorrectly writes Pandas categorical column HOT 5
- [feature request] Query conditions have unexpected behavior with enum attributes
- Pip failed building wheel (MacOS 13, M1 silicon chip) HOT 10
- consolidating a group with mode=`group_meta` fails via tiledb.consolidate high-level function HOT 1
- consolidation followed by vacuum can corrupt array HOT 4
- Segfault on array_fragments call HOT 4
- pandas 2.2.0 breaks tests
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tiledb-py.