You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For more details **(especially if you encounter any errors),** see our comprehensive `Installation Guide <https://grackle.readthedocs.io/en/latest/Installation.html>`__.
87
87
It provides more context for inexperienced CMake users, describes additional configuration options (relevant if you encounter issues), and describes Grackle's "classic" build-system.
88
88
89
-
Building Pygrackle from Source
89
+
Building Gracklepy from Source
90
90
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
91
91
92
92
Once you have a Fortran compiler and a copy of HDF5 (1.6 or newer), simply invoke the following from the root of the Grackle repository
@@ -95,7 +95,10 @@ Once you have a Fortran compiler and a copy of HDF5 (1.6 or newer), simply invok
95
95
96
96
~/grackle $ pip install .
97
97
98
-
For more about installation see our `Pygrackle installation guide <https://grackle.readthedocs.io/en/latest/Python.html>`__.
98
+
For more about installation see our `Gracklepy installation guide <https://grackle.readthedocs.io/en/latest/Python.html>`__.
99
+
100
+
**NOTE:** Gracklepy was formerly known as Pygrackle.
101
+
If you previously installed Pygrackle, you should uninstall it before you install GracklePy.
99
102
100
103
Getting Started
101
104
---------------
@@ -105,7 +108,7 @@ To help you start using Grackle, we provide:
105
108
- a `Usage Guide <https://grackle.readthedocs.io/en/latest/Interaction.html>`__
106
109
- example Grackle programs written in `C, C++, and Fortran <https://github.com/grackle-project/grackle/tree/main/src/example>`__
107
110
- an `Integration Guide <https://grackle.readthedocs.io/en/latest/Integration.html>`__ (for linking Grackle)
108
-
- a curated `guide <https://grackle.readthedocs.io/en/latest/Python.html#running-the-example-scripts>`__ for the Pygrackle examples
111
+
- a curated `guide <https://grackle.readthedocs.io/en/latest/Python.html#running-the-example-scripts>`__ for the Gracklepy examples
Copy file name to clipboardExpand all lines: doc/source/Contributing.rst
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ This section provides a short list of tasks to complete when a new field is intr
12
12
(i) the field is initialized to the appropriate default value.
13
13
(ii) the new field and its value are printed when ``grackle_verbose = 1``
14
14
(iii) the field can be accessed by the functions providing the dynamic access to members of :c:data:`chemistry_data` (see :ref:`dynamic-api`)
15
-
(iv) the new field is accessible from Pygrackle (because that interface uses the functions providing dynamic access)
15
+
(iv) the new field is accessible from Gracklepy (because that interface uses the functions providing dynamic access)
16
16
17
17
2. Update the fortran definition for the ``grackle_chemistry_data`` type (in ``src/clib/grackle_fortran_interface.def``). This type must exactly match the definition of :c:data:`chemistry_data` and is used to integrate Grackle into simulation codes written in Fortran.
As a general rule of thumb, the easiest, most reliable thing to do is to ensure that Grackle is built with the same compiler toolchain (or a compatible one) as the
722
722
723
-
* the downstream application itself (whether it's a simulation code or pygrackle)
723
+
* the downstream application itself (whether it's a simulation code or gracklepy)
724
724
* any other dependencies of the application (whether it's other software libraries or other python extension-modules loaded at the same time).
725
725
726
726
This is only something you need to consider on platforms with multiple compiler toolchains present.
0 commit comments