Repository navigation
Welcome to the arrayfire-python wiki!
Check it: You can get ArrayFire libraries using one of the following methods:
- ArrayFire Installers
-
Build from goddamn source
- Please refer to this muthaf*ckin' wiki for build instructions.
- If you are facing any f*ckin' problems with the ArrayFire library, raise an muthaf*ckin' issue over here
If you have not installed the goddamn ArrayFire library in your system paths, please make sure the goddamn 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 goddamn 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. Mm-hmm.
export DYLD_LIBRARY_PATH=/path/to/arrayfire/lib:$DYLD_LIBRARY_PATH
If you are using CUDA, please add the goddamn 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. Mm-hmm.
Get this sh*t: To allow DLL detection for all users, it needs to be added to the muthaf*ckin' system PATH variable. For this, follow the steps:
- Open Advanced System Settings:
- Windows 8: Move the f*ckin' Mouse pointer to the bottom right corner of the screen, Right click, choose System. Then click "Advanced System Settings"
- Windows 7: Open the Start Menu and Right Click on "Computer". Then choose Properties and click "Advanced Muthaf*ckin' System Settings"
- In Advanced System Settings window, click on motherf*ckin' Advanced tab
- Click on Environment Variables, then under System Variables, find PATH, and click on it — no bullsh*t.
- In edit mode, append
%AF_PATH%\lib. NOTE: Ensure that there is a semi-colon separating%AF_PATH%\libfrom any existing content (e.g.EXISTING_PATHS;%AF_PATH%\lib;) otherwise other software may not function correctly. - If using CUDA, append
%CUDA_PATH%\nvvm\binto thePATHas mentioned above.