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