Skip to content
This repository was archived by the owner on Feb 2, 2024. It is now read-only.

Commit b357dbd

Browse files
author
Ehsan Totoni
committed
move install to docs
1 parent cb9689a commit b357dbd

23 files changed

+264
-94
lines changed

README.rst

Lines changed: 1 addition & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -18,41 +18,4 @@ These academic papers describe the underlying methods in HPAT:
1818
- `HPAT at HotOS'17 <http://dl.acm.org/citation.cfm?id=3103004>`_
1919
- `HiFrames on arxiv <https://arxiv.org/abs/1704.02341>`_
2020

21-
Installing HPAT
22-
===============
23-
24-
These commands install HPAT and its dependencies such as Numba, LLVM and HDF5
25-
on Ubuntu Linux::
26-
27-
$ sudo apt install llvm-4.0 make libc6-dev gcc-4.8
28-
$ # download and install Anaconda python distribution
29-
$ conda create -n HPAT
30-
$ source activate HPAT
31-
$ conda install numpy scipy pandas gcc mpich2 llvmlite
32-
$ git clone https://github.com/IntelLabs/numba.git
33-
$ cd numba
34-
$ git checkout hpat_req
35-
$ python setup.py develop
36-
$ cd ..
37-
$ # download hdf5 and cd inside
38-
$ CC=mpicc CXX=mpicxx ./configure --enable-parallel
39-
$ make; make install
40-
$ cd ..
41-
$ export HDF5_DIR=/home/user/hdf5-1.10.1/hdf5/
42-
$ export C_INCLUDE_PATH=$C_INCLUDE_PATH:$HDF5_DIR/include
43-
$ export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$HDF5_DIR/include
44-
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HDF5_DIR/lib
45-
$ export LIBRARY_PATH=$LIBRARY_PATH:$HDF5_DIR/lib
46-
$ git clone https://github.com/h5py/h5py.git
47-
$ cd h5py
48-
$ python setup.py configure --hdf5=$HDF5_DIR
49-
$ LDSHARED="mpicc -shared" CXX=mpicxx LD=mpicc CC="mpicc" python setup.py install
50-
$ cd ..
51-
$ git clone https://github.com/IntelLabs/hpat.git
52-
$ cd hpat
53-
$ LDSHARED="mpicxx -shared" CXX=mpicxx LD=mpicxx CC="mpicxx -std=c++11" python setup.py develop
54-
55-
Commands for running the logistic regression example::
56-
57-
$ python generate_data/gen_logistic_regression.py
58-
$ mpirun -n 2 python examples/logistic_regression.py
21+
HPAT's documentation can be found `here <https://intellabs.github.io/hpat/>`_.
1.07 KB
Binary file not shown.

docs/_build/doctrees/index.doctree

55 Bytes
Binary file not shown.
5.79 KB
Binary file not shown.
145 Bytes
Binary file not shown.
125 Bytes
Binary file not shown.
417 Bytes
Binary file not shown.

docs/_build/html/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: 7e92f68e7de450dabf122e0b9219a2a0
3+
config: 2ca56a9ba859c2fc39c9a2235e6870fa
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/_build/html/_sources/index.rst.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,3 +13,4 @@ HPAT documentation
1313
source/overview
1414
source/supported
1515
source/notsupported
16+
source/install
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
.. _install:
2+
3+
Installing HPAT
4+
===============
5+
6+
These commands install HPAT and its dependencies such as Numba, LLVM and HDF5
7+
on Ubuntu Linux::
8+
9+
$ sudo apt install llvm-4.0 make libc6-dev gcc-4.8
10+
$ # download and install Anaconda python distribution
11+
$ conda create -n HPAT
12+
$ source activate HPAT
13+
$ conda install numpy scipy pandas gcc mpich2 llvmlite
14+
$ git clone https://github.com/IntelLabs/numba.git
15+
$ cd numba
16+
$ git checkout hpat_req
17+
$ python setup.py develop
18+
$ cd ..
19+
$ # download hdf5 and cd inside
20+
$ CC=mpicc CXX=mpicxx ./configure --enable-parallel
21+
$ make; make install
22+
$ cd ..
23+
$ export HDF5_DIR=/home/user/hdf5-1.10.1/hdf5/
24+
$ export C_INCLUDE_PATH=$C_INCLUDE_PATH:$HDF5_DIR/include
25+
$ export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$HDF5_DIR/include
26+
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HDF5_DIR/lib
27+
$ export LIBRARY_PATH=$LIBRARY_PATH:$HDF5_DIR/lib
28+
$ git clone https://github.com/h5py/h5py.git
29+
$ cd h5py
30+
$ python setup.py configure --hdf5=$HDF5_DIR
31+
$ LDSHARED="mpicc -shared" CXX=mpicxx LD=mpicc CC="mpicc" python setup.py install
32+
$ cd ..
33+
$ git clone https://github.com/IntelLabs/hpat.git
34+
$ cd hpat
35+
$ LDSHARED="mpicxx -shared" CXX=mpicxx LD=mpicxx CC="mpicxx -std=c++11" python setup.py develop
36+
37+
Commands for running the logistic regression example::
38+
39+
$ python generate_data/gen_logistic_regression.py
40+
$ mpirun -n 2 python examples/logistic_regression.py

0 commit comments

Comments
 (0)