Skip to content

Commit

Permalink
[python] Include guidance for older CPU architectures (#2643) (#2656)
Browse files Browse the repository at this point in the history
* [python] Include guidance for older CPU architectures

* code-review feedback
  • Loading branch information
johnkerl authored May 30, 2024
1 parent 88083de commit d8c21e2
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions apis/python/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ To update to the latest version:
$ python -m pip install --upgrade tiledbsoma
```

In case of `illegal instruction` errors when running on older architectures --- e.g. Opteron, non-AVX2 --- the issue is that the pre-compiled binaries available at Conda or PyPI aren't targeted for all processor variants over time. You can install from source, as shown below.

To see if this is the issue, on Linux:

```
grep avx2 /proc/cpuinfo
```

If this comes up empty for your system, you'll definitely need to build from source to run TileDB-SOMA on that system.

## From source

* This requires [`tiledb`](https://github.com/TileDB-Inc/TileDB-Py) (see [./setup.cfg](setup.cfg) for version), in addition to other dependencies in [setup.cfg](./setup.cfg).
Expand Down

0 comments on commit d8c21e2

Please sign in to comment.