Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
71 commits
Select commit Hold shift + click to select a range
a2ad010
Add pelican skeleton.
bgrant Sep 4, 2014
ffc8e47
Update timezone in conf.
bgrant Sep 5, 2014
3dc9204
Update blogroll and social links.
bgrant Sep 5, 2014
a986c84
Add a pelican theme.
bgrant Sep 5, 2014
f473d0d
Ignore website generated files.
bgrant Sep 5, 2014
30575d4
Add a dummy homepage.
bgrant Sep 5, 2014
f6d0cef
Adds start of overview document.
Jul 17, 2014
23d7dc6
Add a basic Home page.
bgrant Sep 5, 2014
a240aa6
Replace theme.
bgrant Sep 5, 2014
f360176
Update links.
bgrant Sep 5, 2014
4393078
Add release notes as news.
bgrant Sep 5, 2014
8fe80ac
Minor updates to homepage.
bgrant Sep 5, 2014
64b26b4
Include the overview in the website.
bgrant Sep 5, 2014
d3da283
Update links.
bgrant Sep 5, 2014
8ad4e08
Split a main section out of the docs.
bgrant Sep 5, 2014
18f05be
Add something about the APUG talk.
bgrant Sep 5, 2014
f1c8d48
Play with the categories.
bgrant Sep 5, 2014
f299c73
Play with categories.
bgrant Sep 5, 2014
36629f3
Play with sidebar order.
bgrant Sep 5, 2014
dd4b366
Play with settings.
bgrant Sep 5, 2014
852f063
Fix a typo.
bgrant Sep 5, 2014
a3cd3bc
Add JR’s talk.
bgrant Sep 5, 2014
06952df
Put articles in folders.
bgrant Sep 5, 2014
c876d7a
Add README.
bgrant Sep 5, 2014
5c0f62a
Add Kurt’s SciPy lightning talk.
bgrant Sep 5, 2014
57e5735
Tweak the timecode.
bgrant Sep 5, 2014
30cc9e9
Add Blake’s talk.
bgrant Sep 5, 2014
9ca72bd
Add a link to the APUG talk announcement.
bgrant Sep 5, 2014
7dba5ba
Add early talk by Brian Granger.
bgrant Sep 5, 2014
9379455
Edit Blake’s talk.
bgrant Sep 5, 2014
34584fb
Split up the docs content more, for reuse.
bgrant Sep 5, 2014
1397343
Move sphinx docs into subdirectory.
bgrant Sep 5, 2014
8e40b85
Rearrange docs dir.
bgrant Sep 5, 2014
25ba967
Update top level clean target.
bgrant Sep 5, 2014
eb4d646
Remove cache from git.
bgrant Sep 5, 2014
7403cd6
Remove separate overview page.
bgrant Sep 5, 2014
1db2966
Rearrange main.rst.
bgrant Sep 5, 2014
e1dc969
Turn caching off and auto-slugify on.
bgrant Sep 5, 2014
5f80e6e
update .gitignore.
bgrant Sep 5, 2014
8df9dbc
Fix overview section formatting.
bgrant Sep 6, 2014
bd43263
Splat out home contents.
bgrant Sep 6, 2014
24272fc
Change pigments style.
bgrant Sep 6, 2014
3cae1e3
Add liquid tags plugin.
bgrant Sep 6, 2014
9df6e56
Add a features.md page with the notebook.
bgrant Sep 6, 2014
1589800
Fix docs building on travis.
bgrant Sep 6, 2014
3bce9a3
Testing building the website on Travis.
bgrant Sep 6, 2014
6fe4190
Split out a contact page.
bgrant Sep 6, 2014
18a5788
Manually set top links.
bgrant Sep 6, 2014
8da62d8
Don’t display docs up top.
bgrant Sep 6, 2014
a43e881
Dedent.
bgrant Sep 6, 2014
a032f5d
Fix published menu links.
bgrant Sep 7, 2014
5c45c63
Add site-logo.
bgrant Sep 8, 2014
fdcceb9
Update the docs path in the installation instructions.
bgrant Sep 8, 2014
8fb6e29
Split docs building out of installation.
bgrant Sep 8, 2014
e6f9d7c
Rename the logo file.
bgrant Sep 8, 2014
97fcefa
Add logo to sphinx docs.
bgrant Sep 8, 2014
0aa1d21
Small spelling and grammar edits.
bgrant Sep 8, 2014
ca1334a
Tweak a top title.
bgrant Sep 8, 2014
9c291a5
Rename some files.
bgrant Sep 8, 2014
7d18f10
Update the installation doc.
bgrant Sep 8, 2014
5849fa5
Fix an include in home.
bgrant Sep 8, 2014
15a9805
Copy flatly theme but use enthought blue.
bgrant Sep 9, 2014
0747122
Use the new enthought bootstrap theme.
bgrant Sep 9, 2014
5e1d20f
Play with theme.
bgrant Sep 10, 2014
6e5c1d9
Only include the plugin we use.
bgrant Sep 10, 2014
217696a
Rearrange conf file.
bgrant Sep 10, 2014
52611be
Capitalize top links.
bgrant Sep 10, 2014
77df2b7
Remove tags.
bgrant Sep 10, 2014
3a0ce49
Remove tagline from Overview.
bgrant Sep 10, 2014
8dacaf8
Update DistArray logo.
bgrant Sep 15, 2014
bcb5c7f
Update DistArray logo.
bgrant Sep 15, 2014
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,9 @@ Thumbs.db

# Documentation generated files #
#################################
doc/frontpage/build
doc/source/generated
docs/sphinx/build/*
docs/www/output/*
docs/www/cache/*

# Things specific to this project #
###################################
Expand Down
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ before_install:
- conda create -q -n test-environment python=$PYVERSION setuptools pip numpy pyzmq ipython matplotlib cython sphinx mock coverage requests pyyaml
- source activate test-environment
- pip install sphinxcontrib-napoleon sphinxcontrib-programoutput coveralls
- pip install pelican
- if [[ "$PYVERSION" == "2.7" ]]; then
conda install mpi4py;
else
Expand All @@ -30,8 +31,9 @@ before_install:
- sudo apt-get install libhdf5-mpich2-7 libhdf5-mpich2-dev # from Nick Andrik's PPA
- CC=mpicc pip install git+https://github.com/h5py/[email protected] --install-option="--mpi"
install:
- python setup.py install
- (cd $TRAVIS_BUILD_DIR && cd docs && make html)
- python setup.py install # build DistArray
- (cd $TRAVIS_BUILD_DIR/docs/sphinx && make html) # build docs
- (cd $TRAVIS_BUILD_DIR/docs/www && make html) # build docs
before_script:
- "export DISPLAY=:99.0" # for plotting.py
- "sh -e /etc/init.d/xvfb start" # for plotting.py
Expand Down
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,8 @@ clean:
-${PYTHON} setup.py clean --all
-find . \( -iname '*.py[co]' -or -iname '*.so' -or -iname '*.c' -or -iname '__pycache__' -or -iname '.ipynb_checkpoints' \) -exec ${RM} -r '{}' +
-${RM} -r ${PARALLEL_OUT_DIR} build coverage_report examples/julia_set/build
-${MAKE} clean -C docs
-${MAKE} clean -C docs/sphinx
-${MAKE} clean -C docs/www
.PHONY: clean

cleanall: clean
Expand Down
160 changes: 0 additions & 160 deletions docs/source/index.rst

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
28 changes: 28 additions & 0 deletions docs/sphinx/source/blurb.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
*Think globally, act locally.*

DistArray provides general multidimensional NumPy-like distributed arrays to
Python. It intends to bring the strengths of NumPy to data-parallel
high-performance computing. DistArray has a similar API to `NumPy`_.

DistArray is ready for real-world testing and deployment; however, the project
is still evolving rapidly, and we appreciate continued input from the
scientific-Python community.

DistArray is for users who

* know and love Python and NumPy,
* want to scale NumPy to larger distributed datasets,
* want to interactively play with distributed data but also
* want to run batch-oriented distributed programs;
* want an easier way to drive and coordinate existing MPI-based codes,
* have a lot of data that may already be distributed,
* want a global view ("think globally") with local control ("act locally"),
* need to tap into existing parallel libraries like Trilinos, PETSc, or
Elemental,
* want the interactivity of IPython and the performance of MPI.

DistArray is designed to work with other packages that implement the
`Distributed Array Protocol`_.

.. _Distributed Array Protocol: http://distributed-array-protocol.readthedocs.org
.. _NumPy: http://www.numpy.org
24 changes: 24 additions & 0 deletions docs/sphinx/source/build-the-docs.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
Building the docs
-----------------

Dependencies to build the documentation:

* Sphinx
* sphinxcontrib.napoleon
* sphinxcontrib.programoutput

If you have the dependencies listed above, and you want to build the
documentation (also available at http://distarray.readthedocs.org), navigate to
the ``docs/sphinx`` subdirectory of the DistArray source and use the Makefile there.

For example, to build the html documentation::

make html

from the ``docs`` directory.

Try::

make help

for more options.
2 changes: 1 addition & 1 deletion docs/source/conf.py → docs/sphinx/source/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@

# The name of an image file (relative to this directory) to place at the top
# of the sidebar.
#html_logo = None
html_logo = "../../../docs/www/output/images/distarray-logo.png"

# The name of an image file (within the static path) to use as favicon of the
# docs. This file should be a Windows icon file (.ico) being 16x16 or 32x32
Expand Down
9 changes: 9 additions & 0 deletions docs/sphinx/source/contact-us.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Contact Us
----------

If you have questions or would like to contribute, contact us

* on the DistArray mailing list: [email protected],
* in the DistArray IRC channel: #distarray on freenode, or
* through the DistArray GitHub repo: https://github.com/enthought/distarray
(for bug reports and pull requests).
File renamed without changes.
File renamed without changes.
9 changes: 9 additions & 0 deletions docs/sphinx/source/getting-started.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
Getting Started
---------------

To see some examples of what DistArray can do, check out our IPython notebooks
on nbviewer (also in the ``examples`` directory of the DistArray source).

* `DistArray Features <http://nbviewer.ipython.org/github/enthought/distarray/blob/master/examples/features.ipynb>`_
* `Seismic Volume <http://nbviewer.ipython.org/github/enthought/distarray/blob/master/examples/seismic_volume/seismic_volume.ipynb>`_
* `Julia Set <http://nbviewer.ipython.org/github/enthought/distarray/blob/master/examples/julia_set/julia_set.ipynb>`_
File renamed without changes.
7 changes: 7 additions & 0 deletions docs/sphinx/source/history.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
History
-------

DistArray was started by Brian Granger in 2008 and is currently being developed
at Enthought by a team led by Kurt Smith, in partnership with Bill Spotz from
Sandia's (Py)Trilinos project and Brian Granger and Min RK from the IPython
project.
46 changes: 46 additions & 0 deletions docs/sphinx/source/index.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
.. DistArray documentation master file, created by
sphinx-quickstart on Fri Jan 31 01:11:34 2014.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.


DistArray |version|
===================

.. include:: blurb.rst
.. include:: getting-started.rst
.. include:: overview.rst
.. include:: installation.rst
.. include:: build-the-docs.rst
.. include:: history.rst
.. include:: contact-us.rst


Other Documentation
-------------------

.. toctree::
:maxdepth: 1

DistArray API Reference <distarray.rst>
The Distributed Array Protocol <http://distributed-array-protocol.readthedocs.org>
Notes on building HDF5 and h5py <hdf5-notes.rst>
Notes on building environment-modules <environment-modules-notes.rst>
Licensing for bundled `six` module (Python 2 / 3 compatibility) <six-license.rst>


Release Notes
-------------
.. toctree::
:maxdepth: 1
:glob:

releases/*


Indices and tables
==================

* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
51 changes: 51 additions & 0 deletions docs/sphinx/source/installation.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
Installation
------------

DistArray requires the following Python libraries:

* `NumPy`_,
* `IPython`_, and
* `Mpi4Py`_.

.. _NumPy: http://www.numpy.org
.. _IPython: http://ipython.org
.. _Mpi4Py: http://mpi4py.scipy.org

Optionally, DistArray can make use of:

* `h5py`_ built against a parallel-enabled build of HDF5 (for HDF5 IO), and
* `matplotlib`_ (for making plots of DistArray distributions).

.. _h5py: http://www.h5py.org/
.. _matplotlib: http://matplotlib.org/

If you have the above, you should be able to install DistArray with::

python setup.py install

or::

pip install distarray


Testing Your Installation
-------------------------

To test your installation, you will first need to start an IPython.parallel
cluster with MPI enabled. The easist way is to use use the ``dacluster``
command that comes with DistArray::

dacluster start

See ``dacluster``'s help for more::

dacluster --help

You should then be able to run all the tests from the DistArray source
directory with::

make test

or from anywhere with::

python -m distarray.run_tests
Loading