I installed arrayFire-3.8 via the shell script on my Jetson Orin Nano Dev Kit.
There were no errors reported while running the shell script, however when testing as directed I get the following errors
max@jondk:/tmp/examples/build$ make
[ 0%] Building CXX object benchmarks/CMakeFiles/blas_cpu.dir/blas.cpp.o
[ 0%] Linking CXX executable blas_cpu
/usr/bin/ld: /opt/arrayfire/lib64/libafcpu.so.3.8.0: error adding symbols: file in wrong format
collect2: error: ld returned 1 exit status
make[2]: *** [benchmarks/CMakeFiles/blas_cpu.dir/build.make:98: benchmarks/blas_cpu] Error 1
make[1]: *** [CMakeFiles/Makefi
Likewise when attempting to import arrayfire library after pip install I get the following error:
>>> import arrayfire
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/home/max/.local/lib/python3.10/site-packages/arrayfire/__init__.py", line 56, in <module>
from .library import *
File "/home/max/.local/lib/python3.10/site-packages/arrayfire/library.py", line 751, in <module>
backend = _clibrary()
File "/home/max/.local/lib/python3.10/site-packages/arrayfire/library.py", line 726, in __init__
raise RuntimeError("Could not load any ArrayFire libraries.\n" + more_info_str)
RuntimeError: Could not load any ArrayFire libraries.
Please look at
https://github.com/arrayfire/arrayfire-python/wiki for more information.
Any ideas how to debug this issue. Looking to run some basic benchmarks on this devkit before starting a project...