Skip to content

Latest commit

 

History

History
50 lines (37 loc) · 1.04 KB

install.md

File metadata and controls

50 lines (37 loc) · 1.04 KB

Build library

Ubuntu

  1. install dependencies, build ext_modules, and install to the system python folder
sudo apt-get install -y build-essential    # optional step
sudo apt-get install -y python python3-dev fftw3-dev libblas3 liblapack3 libarmadillo-dev
pip install -r requirements.txt
sh clean.sh
sh build.sh

Mac OS X

  1. Download FFTW3 and install it.
wget http://www.fftw.org/fftw-3.3.8.tar.gz
tar xvf fftw-3.3.8.tar.gz
cd fftw-3.3.8
./configure
make -j8
sudo make install
  1. install other dependencies using brew and pip.
xcode-select --install
brew install armadillo openblas lapack
pip install -r requirements.txt
  1. clean && build library

Singularity

Google Colab

Please refer to Install_for_Google_Colab.ipynb

Docker

cd doc/install/
docker build -t aitom .

Remarks

For using the deep learning functions based on GPU, we recommend to use CUDA version 10 and up, together with cudaNN