| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Welcome to the arrayfire-python wiki!
You can get ArrayFire libraries using one of the following methods:
If you have not installed the ArrayFire library in your system paths, please make sure the following environment variables are exported.
export LD_LIBRARY_PATH=/path/to/arrayfire/lib:$LD_LIBRARY_PATH
on a 64-bit system, the following may be necessary instead:
export LD_LIBRARY_PATH=/path/to/arrayfire/lib64:$LD_LIBRARY_PATH
If you are using CUDA, please add the following line as well
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/path/to/cuda/lib64:/path/to/cuda/nvvm/lib64
You can put this in your ~/.bashrc or the equivalent file to make it persistent.
export DYLD_LIBRARY_PATH=/path/to/arrayfire/lib:$DYLD_LIBRARY_PATH
If you are using CUDA, please add the following line as well
export DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:/path/to/cuda/lib:/path/to/cuda/nvvm/lib
You can put this in your ~/.bashrc or the equivalent file to make it persistent.
To allow DLL detection for all users, it needs to be added to the system PATH variable. For this, follow the steps:
| Back | FazBrowse Home | New Git URL |