@@ -11,29 +11,45 @@ easily. On Linux/Mac/Windows::
1111.. used if master of Numba is needed for latest hpat package
1212.. conda create -n HPAT -c ehsantn -c numba/label/dev -c anaconda -c conda-forge hpat
1313
14- Windows installaton requires
15- `Intel MPI <https://software.intel.com/en-us/intel-mpi-library >`_ to be
16- installed.
17-
1814 Building HPAT from Source
1915-------------------------
2016
2117We use `Anaconda <https://www.anaconda.com/download/ >`_ distribution of
22- Python for setting up HPAT. These commands install HPAT and its dependencies
23- such as Numba on Ubuntu Linux::
18+ Python for setting up HPAT.
19+
20+ Miniconda3 is required for build::
2421
2522 wget https://repo.continuum.io/miniconda/Miniconda3-latest-Linux-x86_64.sh -O miniconda.sh
2623 chmod +x miniconda.sh
2724 ./miniconda.sh -b
2825 export PATH=$HOME/miniconda3/bin:$PATH
29- conda create -n HPAT -q -y numpy scipy pandas boost cmake
26+
27+ It is possible to build HPAT via conda-build or setuptools. Follow one of the cases below to install HPAT and its dependencies
28+ such as Numba on Ubuntu Linux.
29+
30+ Build with conda-build:
31+ ~~~~~~~~~~~~~~~~~~~~~~~
32+ ::
33+
34+ conda create -n HPAT python=<3.7 or 3.6>
35+ source activate HPAT
36+ conda install conda-build
37+ git clone https://github.com/IntelPython/hpat
38+ # build HPAT
39+ conda build --python <3.6 or 3.7> -c numba -c conda-forge -c defaults hpat/buildscripts/hpat-conda-recipe/
40+
41+ Build with setuptools:
42+ ~~~~~~~~~~~~~~~~~~~~~~
43+ ::
44+
45+ conda create -n HPAT -q -y numpy scipy pandas boost cmake python=<3.6 or 3.7>
3046 source activate HPAT
3147 conda install -c numba/label/dev numba
3248 conda install mpich mpi -c conda-forge
3349 conda install pyarrow
3450 conda install h5py -c ehsantn
3551 conda install gcc_linux-64 gxx_linux-64 gfortran_linux-64
36- git clone https://github.com/IntelLabs /hpat
52+ git clone https://github.com/IntelPython /hpat
3753 cd hpat
3854 # build HPAT
3955 HDF5_DIR=$CONDA_PREFIX python setup.py develop
@@ -57,22 +73,37 @@ to check the channel of ``hdf5`` package.
5773Building from Source on Windows
5874-------------------------------
5975
60- Building HPAT on Windows requires Build Tools for Visual Studio 2017 (14.0) and Intel MPI :
76+ Building HPAT on Windows requires Build Tools for Visual Studio 2017 (14.0):
6177
6278* Install `Build Tools for Visual Studio 2017 (14.0) <https://www.visualstudio.com/downloads/#build-tools-for-visual-studio-2017 >`_.
63- * Install `Intel MPI <https://software.intel.com/en-us/intel-mpi-library >`_.
6479* Install `Miniconda for Windows <https://repo.continuum.io/miniconda/Miniconda3-latest-Windows-x86_64.exe >`_.
6580* Start 'Anaconda prompt'
6681* Setup the Conda environment in Anaconda Prompt::
6782
68- conda create -n HPAT -c ehsantn -c numba/label/dev -c anaconda -c conda-forge python=3.7 pandas pyarrow h5py numba scipy boost libboost tbb-devel mkl-devel
83+ It is possible to build HPAT via conda-build or setuptools. Follow one of the cases below to install HPAT and its dependencies on Windows.
84+
85+ Build with conda-build:
86+ ~~~~~~~~~~~~~~~~~~~~~~~
87+ ::
88+
89+ conda create -n HPAT python=<3.7 or 3.6>
90+ activate HPAT
91+ conda install vc vs2015_runtime vs2015_win-64
92+ git clone https://github.com/IntelPython/hpat.git
93+ conda build --python <3.6 or 3.7> -c numba -c conda-forge -c defaults -c intel hpat/buildscripts/hpat-conda-recipe/
94+
95+ Build with setuptools:
96+ ~~~~~~~~~~~~~~~~~~~~~~
97+ ::
98+
99+ conda create -n HPAT -c ehsantn -c numba/label/dev -c anaconda -c conda-forge -c intel python=<3.6 or 3.7> pandas pyarrow h5py numba scipy boost libboost tbb-devel mkl-devel impi-devel impi_rt
69100 activate HPAT
70101 conda install vc vs2015_runtime vs2015_win-64
71- git clone https://github.com/IntelLabs /hpat.git
102+ git clone https://github.com/IntelPython /hpat.git
72103 cd hpat
73104 set INCLUDE=%INCLUDE%;%CONDA_PREFIX%\Library\include
74105 set LIB=%LIB%;%CONDA_PREFIX%\Library\lib
75- "%I_MPI_ROOT%"\intel64 \bin\mpivars.bat
106+ %CONDA_PREFIX%\Library \bin\mpivars.bat quiet
76107 set HDF5_DIR=%CONDA_PREFIX%\Library
77108 python setup.py develop
78109
0 commit comments