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