Location of ArrayFire libraries *without* LD_LIBRARY_PATH
mboisson opened this issue · comments
Hi,
We are not using LD_LIBRARY_PATH on our system because
https://gms.tf/ld_library_path-considered-harmful.html
Is there another way than LD_LIBRARY_PATH to point to the location of the arrayfire libraries to the python wrapper ?
https://github.com/arrayfire/arrayfire-python/wiki
I think I found AF_PATH
, except that I need to patch library.py
to search into AF_PATH/lib64
rather than AF_PATH/lib
on our system.
Indeed. With this patch : https://raw.githubusercontent.com/ComputeCanada/easybuild-easyconfigs/24d7c83ab19d4d5da346daaca7863b4dad18988d/easybuild/easyconfigs/a/ArrayFire/arrayfire-python-3.6.20180117-lib64.patch
and by defining AF_PATH
, libraries are found.