[yt-svn] commit/yt: 6 new changesets
commits-noreply at bitbucket.org
commits-noreply at bitbucket.org
Mon Aug 10 11:54:18 PDT 2015
6 new commits in yt:
https://bitbucket.org/yt_analysis/yt/commits/226c8ed354a7/
Changeset: 226c8ed354a7
Branch: yt
User: karraki
Date: 2015-08-06 21:58:21+00:00
Summary: Docs updated on how to get source code for Anaconda installation
Affected #: 1 file
diff -r dec015906fc0dd799c4b01a3b3f0c9f3c75e1b9a -r 226c8ed354a7d42703209792cd7d0231087ab7b1 doc/source/installing.rst
--- a/doc/source/installing.rst
+++ b/doc/source/installing.rst
@@ -201,7 +201,7 @@
bash Miniconda-3.3.0-Linux-x86_64.sh
-Make sure that the Anaconda ``bin`` directory is in your path, and then issue:
+For both Anaconda or Miniconda installations, make sure that the Anaconda ``bin`` directory is in your path, and then issue:
.. code-block:: bash
@@ -209,6 +209,33 @@
which will install yt along with all of its dependencies.
+Obtaining Source Code
+^^^^^^^^^^^^^^^^^^^^^
+
+There are two ways to get the yt source code when using an Anaconda
+installation.
+
+Option 1:
+
+Clone the yt repository with:
+
+.. code-block:: bash
+
+ hg clone https://bitbucket.org/yt_analysis/yt
+
+Once inside the yt directory, update to the appropriate branch and
+run ``setup.py``. For example, the following commands will allow you
+to see the tip of the development branch.
+
+.. code-block:: bash
+
+ hg up yt
+ python setup.py develop
+
+This should provide you with the most up to date source code.
+
+Option 2:
+
Recipes to build conda packages for yt are available at
https://github.com/conda/conda-recipes. To build the yt conda recipe, first
clone the conda-recipes repository
https://bitbucket.org/yt_analysis/yt/commits/10ecf729e0a4/
Changeset: 10ecf729e0a4
Branch: yt
User: karraki
Date: 2015-08-06 22:04:29+00:00
Summary: Fixed grammar
Affected #: 1 file
diff -r 226c8ed354a7d42703209792cd7d0231087ab7b1 -r 10ecf729e0a48f20edebec71a5a93948e61e67f7 doc/source/installing.rst
--- a/doc/source/installing.rst
+++ b/doc/source/installing.rst
@@ -201,7 +201,7 @@
bash Miniconda-3.3.0-Linux-x86_64.sh
-For both Anaconda or Miniconda installations, make sure that the Anaconda ``bin`` directory is in your path, and then issue:
+For both the Anaconda and Miniconda installations, make sure that the Anaconda ``bin`` directory is in your path, and then issue:
.. code-block:: bash
https://bitbucket.org/yt_analysis/yt/commits/5d86b4e75b3c/
Changeset: 5d86b4e75b3c
Branch: yt
User: karraki
Date: 2015-08-07 15:34:58+00:00
Summary: Improved wording
Affected #: 1 file
diff -r 10ecf729e0a48f20edebec71a5a93948e61e67f7 -r 5d86b4e75b3c74e52975997d1f4bb8689e9e4a5d doc/source/installing.rst
--- a/doc/source/installing.rst
+++ b/doc/source/installing.rst
@@ -232,7 +232,8 @@
hg up yt
python setup.py develop
-This should provide you with the most up to date source code.
+This will make sure you are running a version of yt corresponding to the
+most up-to-date source code.
Option 2:
https://bitbucket.org/yt_analysis/yt/commits/21e592c9be3a/
Changeset: 21e592c9be3a
Branch: yt
User: karraki
Date: 2015-08-07 22:21:59+00:00
Summary: Comment on parallel computation with yt
Affected #: 2 files
diff -r 5d86b4e75b3c74e52975997d1f4bb8689e9e4a5d -r 21e592c9be3ab6403114b54d1c4fd5077d963157 doc/source/analyzing/parallel_computation.rst
--- a/doc/source/analyzing/parallel_computation.rst
+++ b/doc/source/analyzing/parallel_computation.rst
@@ -42,7 +42,18 @@
$ pip install mpi4py
-Once that has been installed, you're all done! You just need to launch your
+If you have an Anaconda installation of yt and there is no MPI library on the
+system you are using try:
+
+.. code-block:: bash
+
+ $ conda install mpi4py
+
+This will install `MPICH2 <https://www.mpich.org/>`_ and will interefere with
+other MPI libraries that are already installed. Therefore, it is preferable to
+use the ``pip`` installation method.
+
+Once mpi4py has been installed, you're all done! You just need to launch your
scripts with ``mpirun`` (or equivalent) and signal to yt that you want to
run them in parallel by invoking the ``yt.enable_parallelism()`` function in
your script. In general, that's all it takes to get a speed benefit on a
diff -r 5d86b4e75b3c74e52975997d1f4bb8689e9e4a5d -r 21e592c9be3ab6403114b54d1c4fd5077d963157 doc/source/installing.rst
--- a/doc/source/installing.rst
+++ b/doc/source/installing.rst
@@ -39,6 +39,12 @@
have the the necessary compilers installed (e.g. the ``build-essentials``
package on debian and ubuntu).
+.. note::
+ See `Parallel Computation
+ <http://yt-project.org/docs/dev/analyzing/parallel_computation.html>`_
+ for a discussion on using yt in parallel.
+
+
.. _branches-of-yt:
Branches of yt: ``yt``, ``stable``, and ``yt-2.x``
https://bitbucket.org/yt_analysis/yt/commits/f4f2410ed9fd/
Changeset: f4f2410ed9fd
Branch: yt
User: karraki
Date: 2015-08-07 22:28:51+00:00
Summary: Word wrapping
Affected #: 1 file
diff -r 21e592c9be3ab6403114b54d1c4fd5077d963157 -r f4f2410ed9fd330525e5fc474af03e26a9ae4082 doc/source/installing.rst
--- a/doc/source/installing.rst
+++ b/doc/source/installing.rst
@@ -207,7 +207,8 @@
bash Miniconda-3.3.0-Linux-x86_64.sh
-For both the Anaconda and Miniconda installations, make sure that the Anaconda ``bin`` directory is in your path, and then issue:
+For both the Anaconda and Miniconda installations, make sure that the Anaconda
+``bin`` directory is in your path, and then issue:
.. code-block:: bash
https://bitbucket.org/yt_analysis/yt/commits/4ce919afe751/
Changeset: 4ce919afe751
Branch: yt
User: xarthisius
Date: 2015-08-10 18:54:08+00:00
Summary: Merged in karraki/yt (pull request #1683)
Updated installation docs for Anaconda
Affected #: 2 files
diff -r 57abf679467c2b46098177a6662cc507c173395b -r 4ce919afe7519cdbe3748e036f851d0fa5d9d161 doc/source/analyzing/parallel_computation.rst
--- a/doc/source/analyzing/parallel_computation.rst
+++ b/doc/source/analyzing/parallel_computation.rst
@@ -42,7 +42,18 @@
$ pip install mpi4py
-Once that has been installed, you're all done! You just need to launch your
+If you have an Anaconda installation of yt and there is no MPI library on the
+system you are using try:
+
+.. code-block:: bash
+
+ $ conda install mpi4py
+
+This will install `MPICH2 <https://www.mpich.org/>`_ and will interefere with
+other MPI libraries that are already installed. Therefore, it is preferable to
+use the ``pip`` installation method.
+
+Once mpi4py has been installed, you're all done! You just need to launch your
scripts with ``mpirun`` (or equivalent) and signal to yt that you want to
run them in parallel by invoking the ``yt.enable_parallelism()`` function in
your script. In general, that's all it takes to get a speed benefit on a
diff -r 57abf679467c2b46098177a6662cc507c173395b -r 4ce919afe7519cdbe3748e036f851d0fa5d9d161 doc/source/installing.rst
--- a/doc/source/installing.rst
+++ b/doc/source/installing.rst
@@ -39,6 +39,12 @@
have the the necessary compilers installed (e.g. the ``build-essentials``
package on debian and ubuntu).
+.. note::
+ See `Parallel Computation
+ <http://yt-project.org/docs/dev/analyzing/parallel_computation.html>`_
+ for a discussion on using yt in parallel.
+
+
.. _branches-of-yt:
Branches of yt: ``yt``, ``stable``, and ``yt-2.x``
@@ -201,7 +207,8 @@
bash Miniconda-3.3.0-Linux-x86_64.sh
-Make sure that the Anaconda ``bin`` directory is in your path, and then issue:
+For both the Anaconda and Miniconda installations, make sure that the Anaconda
+``bin`` directory is in your path, and then issue:
.. code-block:: bash
@@ -209,6 +216,34 @@
which will install yt along with all of its dependencies.
+Obtaining Source Code
+^^^^^^^^^^^^^^^^^^^^^
+
+There are two ways to get the yt source code when using an Anaconda
+installation.
+
+Option 1:
+
+Clone the yt repository with:
+
+.. code-block:: bash
+
+ hg clone https://bitbucket.org/yt_analysis/yt
+
+Once inside the yt directory, update to the appropriate branch and
+run ``setup.py``. For example, the following commands will allow you
+to see the tip of the development branch.
+
+.. code-block:: bash
+
+ hg up yt
+ python setup.py develop
+
+This will make sure you are running a version of yt corresponding to the
+most up-to-date source code.
+
+Option 2:
+
Recipes to build conda packages for yt are available at
https://github.com/conda/conda-recipes. To build the yt conda recipe, first
clone the conda-recipes repository
Repository URL: https://bitbucket.org/yt_analysis/yt/
--
This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.
More information about the yt-svn
mailing list