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