Skip to content

Commit 810fc15

Browse files
committed
Change wording to Python installation instructions
1 parent 1a1a796 commit 810fc15

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

Docs/source/Python_Tutorial.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,14 @@ Python
77
These examples show how to use AMReX from Python.
88
AMReX applications can also be interfaced to Python with the same logic.
99

10-
In order to build the Python tutorials, add ``-DTUTORIAL_PYTHON=ON`` to the CMake configuration options.
11-
Then install with ``cmake --build build --target pyamrex_pip_install``.
10+
In order to run the Python tutorials, you need to have pyAMReX installed.
11+
Please see `pyAMReX <https://github.com/AMReX-Codes/pyamrex/>`__ for more details.
12+
13+
Alternatively, you can build the ExampleCodes in this repository with ``-DTUTORIAL_PYTHON=ON`` added to the CMake configuration options,
14+
then install with ``cmake --build build --target pyamrex_pip_install``, and pyamrex will be installed for you.
1215

13-
Guided Tutorial Examples:
16+
Once pyAMReX is installed, you can run the following Guided Tutorial Examples:
1417

1518
- :download:`MultiFab <../../GuidedTutorials/MultiFab/main.py>`
1619
- :download:`Heat Equation <../../GuidedTutorials/HeatEquation/Source/main.py>`
1720

18-
Please see `pyAMReX <https://github.com/AMReX-Codes/pyamrex/>`__ for more details.

0 commit comments

Comments
 (0)