This repository has been archived by the owner on Feb 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 61
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Ehsan Totoni
committed
Sep 11, 2017
1 parent
cb9689a
commit b357dbd
Showing
23 changed files
with
264 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# Sphinx build info version 1 | ||
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done. | ||
config: 7e92f68e7de450dabf122e0b9219a2a0 | ||
config: 2ca56a9ba859c2fc39c9a2235e6870fa | ||
tags: 645f666f9bcd5a90fca523b33c5a78b7 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,3 +13,4 @@ HPAT documentation | |
source/overview | ||
source/supported | ||
source/notsupported | ||
source/install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
.. _install: | ||
|
||
Installing HPAT | ||
=============== | ||
|
||
These commands install HPAT and its dependencies such as Numba, LLVM and HDF5 | ||
on Ubuntu Linux:: | ||
|
||
$ sudo apt install llvm-4.0 make libc6-dev gcc-4.8 | ||
$ # download and install Anaconda python distribution | ||
$ conda create -n HPAT | ||
$ source activate HPAT | ||
$ conda install numpy scipy pandas gcc mpich2 llvmlite | ||
$ git clone https://github.com/IntelLabs/numba.git | ||
$ cd numba | ||
$ git checkout hpat_req | ||
$ python setup.py develop | ||
$ cd .. | ||
$ # download hdf5 and cd inside | ||
$ CC=mpicc CXX=mpicxx ./configure --enable-parallel | ||
$ make; make install | ||
$ cd .. | ||
$ export HDF5_DIR=/home/user/hdf5-1.10.1/hdf5/ | ||
$ export C_INCLUDE_PATH=$C_INCLUDE_PATH:$HDF5_DIR/include | ||
$ export CPLUS_INCLUDE_PATH=$CPLUS_INCLUDE_PATH:$HDF5_DIR/include | ||
$ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$HDF5_DIR/lib | ||
$ export LIBRARY_PATH=$LIBRARY_PATH:$HDF5_DIR/lib | ||
$ git clone https://github.com/h5py/h5py.git | ||
$ cd h5py | ||
$ python setup.py configure --hdf5=$HDF5_DIR | ||
$ LDSHARED="mpicc -shared" CXX=mpicxx LD=mpicc CC="mpicc" python setup.py install | ||
$ cd .. | ||
$ git clone https://github.com/IntelLabs/hpat.git | ||
$ cd hpat | ||
$ LDSHARED="mpicxx -shared" CXX=mpicxx LD=mpicxx CC="mpicxx -std=c++11" python setup.py develop | ||
|
||
Commands for running the logistic regression example:: | ||
|
||
$ python generate_data/gen_logistic_regression.py | ||
$ mpirun -n 2 python examples/logistic_regression.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.