xref: /petsc/src/binding/petsc4py/CHANGES.rst (revision 2fb1d9daa8d289b4e375fe89ef72d82069342f85)
1=========================
2CHANGES: PETSc for Python
3=========================
4
5:Author:  Lisandro Dalcin
6:Contact: dalcinl@gmail.com
7
8
9Release 3.15.0
10==============
11
12- Update to PETSc 3.15 release.
13
14
15Release 3.14.1
16==============
17
18- Fix build issues after changes in recent PETSc patch releases.
19- Add various missing types and enums definitions.
20- Update Cython build, require ``Cython >= 0.24``.
21
22
23Release 3.14.0
24==============
25
26- Update to PETSc 3.14 release.
27
28
29Release 3.13.0
30==============
31
32- Update to PETSc 3.13 release.
33
34
35Release 3.12.0
36==============
37
38- Update to PETSc 3.12 release.
39
40
41Release 3.11.0
42==============
43
44- Update to PETSc 3.11 release.
45
46
47Release 3.10.1
48==============
49
50- Fix for removal of ``SNESTEST``.
51- Fix ``Mat`` in-place divide.
52
53
54Release 3.10.0
55==============
56
57- Update to PETSc 3.10 release.
58
59
60Release 3.9.1
61=============
62
63- Add ``Mat.zeroRowsColumnsLocal()``.
64- Add ``Mat.getISLocalMat()``.
65- Add ``Mat.convertISToAIJ()``.
66
67
68Release 3.9.0
69=============
70
71- Update to PETSc 3.9 release.
72
73
74Release 3.8.0
75=============
76
77- Update to PETSc 3.8 release.
78
79
80Release 3.7.0
81=============
82
83- Update to PETSc 3.7 release.
84
85
86Release 3.6.0
87=============
88
89- Update to PETSc 3.6 release.
90
91
92Release 3.5.1
93=============
94
95- Add ``Log.{begin|view|destroy}()``.
96- Add ``Mat.SOR()`` and ``Mat.SORType``.
97- Add ``DMPlex.createCoarsePointIS()``.
98- Add ``LGMap.createSF()``.
99- Add ``SNES.getVIInactiveSet()``.
100- Add ``Vec.isaxpy()``.
101- Add ``PC.setReusePreconditioner()``.
102- Return correct type in ``DM.getCoordinateDM()``.
103- Fix SWIG wrappers to handle 64bit ``PetscInt``.
104- Fix linker flags for Python from Fink.
105
106
107Release 3.5
108===========
109
110- Update to PETSc 3.5 release.
111
112
113Release 3.4
114===========
115
116- Update to PETSc 3.4 release.
117
118- Add support for ``DMComposite`` and ``DMPlex``.
119
120- Change ``Mat.getSizes()`` to return ``((m,M),(n,N))``.
121
122
123Release 3.3.1
124=============
125
126- Fix ``Options.getAll()`` mishandling values with negative numbers.
127
128- Minor backward compatibility fix for PETSc 3.2 .
129
130- Minor bugfix for TSPYTHON subtype.
131
132
133Release 3.3
134===========
135
136- Update to PETSc 3.3 release.
137
138- Change ``Vec.getLocalForm()`` to ``Vec.localForm()`` for use with
139  context manager and add ``Vec.setMPIGhost()``.
140
141- Add ``AO.createMemoryScalable()`` and ``LGMap.block()`` /
142  ``LGMap.unblock()``
143
144- Add ``Object.handle`` property (C pointer as a Python integer). Can
145  be used with ``ctypes`` to pass a PETSc handle.
146
147- Add ``Comm.tompi4py()`` to get a ``mpi4py`` communicator instance.
148
149
150Release 1.2
151===========
152
153- Update to PETSc 3.2 release.
154
155- Add new ``DM`` class , make ``DA`` inherit from ``DM``.
156
157- Better support for inplace LU/ILU and Cholesky/ICC factorization and
158  factor PC subtypes.
159
160- Now the ``Mat``/``PC``/``KSP``/``SNES``/``TS`` Python subtypes are
161  implemented with Cython.
162
163- Better interaction between Python garbage collector and PETSc
164  objects.
165
166- Support for PEP 3118 and legacy Python's buffer interface.
167
168
169Release 1.1.2
170=============
171
172This is a new-features and bug-fix release.
173
174- Add support for copying and computing complements in ``IS``
175  (``IS.copy()`` and ``IS.complement()``).
176
177- Add support for coarsening in ``DA`` (``DA.coarsen()``).
178
179- Support for shallow copy and deep copy operations (use ``copy.copy``
180  and ``copy.deepcopy``). Deep copy is only supported for a bunch of
181  types (``IS``, ``Scatter``, ``Vec``, ``Mat``)
182
183- Support for ``pip install petsc4py`` to download and install PETSc.
184
185
186Release 1.1.1
187=============
188
189This is a new-features and bug-fix release.
190
191- Support for setting PETSC_COMM_WORLD before PETSc initialization.
192
193- Support for coordinates, refinement and interpolation in DA. Many
194  thanks to Blaise Bourdin.
195
196- Workaround build failures when PETSc is built with *mpiuni*.
197
198- Workaround GIL-related APIs for non-threaded Python builds.
199
200
201Release 1.1
202===========
203
204- Update for API cleanups, changes, and new calls in PETSc 3.1 and
205  some other missing features.
206
207- Add support for Jed Brown's THETA an GL timestepper implementations.
208
209- Fix the annoying issues related to Open MPI shared libraries
210  dependencies and Python dynamic loading.
211
212- Many minor bug-fixes. Many thanks to Ethan Coon, Dmitry Karpeev,
213  Juha Jaykka, and Michele De Stefano.
214
215
216Release 1.0.3
217=============
218
219This is a bug-fix release.
220
221- Added a quick fix to solve build issues. The macro __SDIR__ is no
222  longer passed to the compiler in the command line.
223
224
225Release 1.0.2
226=============
227
228This is a new-features and bug-fix release.
229
230- Now ``petsc4py`` works against core PETSc built with complex
231  scalars.
232
233- Added support for PETSc logging features like stages, classes and
234  events. Stages and events support the context manager interface
235  (``with`` statement).
236
237- Documentation generated with Epydoc and Sphinx is now included in
238  the release tarball.
239
240- Removed enumeration-like classes from the ``petsc4py.PETSc`` module
241  namespace. For example, now you have to use ``PETSc.KSP.Type``
242  instead of ``PETSc.KSPType``.
243
244- The ``PETSc.IS`` to ``numpy.ndarray`` conversion now works for
245  stride and block index sets.
246
247- Implemented a more robust import machinery for multi-arch
248  ``petsc4py`` installations. Now a wrong value in the ``PETSC_ARCH``
249  environmental variable emit a warning (instead of failing) at import
250  time.
251
252- The unittest-based testsuite now can run under ``nose`` with its
253  default options.
254
255- Removed the dependency on ``numpy.distutils``, just use core Python
256  ``distutils``.
257
258
259Release 1.0.1
260=============
261
262This is a bug-fix release. Compile Cython-generated C sources with
263``-Wwrite-strings`` removed, as this flag (inherited from PETSc) made
264GCC emit a lot of (harmless but annoying) warnings about conversion of
265string literals to non-const char pointers.
266
267
268Release 1.0.0
269=============
270
271This is the fist release of the all-new, Cython-based, implementation
272of *PETSc for Python*.
273