xref: /petsc/doc/changes/231.md (revision b11d9968bc79904c690b122f9399be46447eb113)
1*7f296bb3SBarry Smith# Changes: 2.3.1
2*7f296bb3SBarry Smith
3*7f296bb3SBarry Smith```{rubric} General:
4*7f296bb3SBarry Smith```
5*7f296bb3SBarry Smith
6*7f296bb3SBarry Smith- -log_info is now just -info; PetscLogInfo...() is now
7*7f296bb3SBarry Smith  PetscInfo...()
8*7f296bb3SBarry Smith- Added TOPS solver components. [requires CCA tools like babel]
9*7f296bb3SBarry Smith- Added supported for IBM BGL with optimzed fortran kernels
10*7f296bb3SBarry Smith- bin/petscarch is removed. Use can give any name to PETSC_ARCH. [if
11*7f296bb3SBarry Smith  not - configure picks a default name]
12*7f296bb3SBarry Smith- PetscMap is no longer a public PETSc object
13*7f296bb3SBarry Smith
14*7f296bb3SBarry Smith```{rubric} Vec:
15*7f296bb3SBarry Smith```
16*7f296bb3SBarry Smith
17*7f296bb3SBarry Smith- Changed prototypes for VecMDotBegin(), VecMDotEnd(),
18*7f296bb3SBarry Smith  VecMTDotBegin(), VecMTDotEnd() to confirm with PETSc prototype
19*7f296bb3SBarry Smith  style
20*7f296bb3SBarry Smith- ISColoringCreate() takes another argument
21*7f296bb3SBarry Smith
22*7f296bb3SBarry Smith```{rubric} Mat:
23*7f296bb3SBarry Smith```
24*7f296bb3SBarry Smith
25*7f296bb3SBarry Smith- MatScaleSystem() and MatUnscaleSystem() now take arguments b,x
26*7f296bb3SBarry Smith  instead of x,b
27*7f296bb3SBarry Smith- Added MatSeqAIJSetPreallocationCSR(), MatGetSubMatrixRaw()
28*7f296bb3SBarry Smith- Added MatSolveTranspose() for superlu
29*7f296bb3SBarry Smith- Added support for matrix types MATCSRPERM, MATCRL - for vector
30*7f296bb3SBarry Smith  based machines.
31*7f296bb3SBarry Smith- Added MatMatMult for seqdense
32*7f296bb3SBarry Smith- Added MatRealPart, ImaginaryPart for AIJ, BAIJ, SBAIJ matrices
33*7f296bb3SBarry Smith- Added MatGetRowUpperTriangular() to mpisbaij matrix
34*7f296bb3SBarry Smith
35*7f296bb3SBarry Smith```{rubric} PC:
36*7f296bb3SBarry Smith```
37*7f296bb3SBarry Smith
38*7f296bb3SBarry Smith- PCPrometheusSetCoordinates() changed to PCSetCoordinates()
39*7f296bb3SBarry Smith- Moved src/ksp/pc/pcimpl.h to include/petsc/private/pcimpl.h
40*7f296bb3SBarry Smith- PCPreSolve() and PCPostSolve() now consistently take arguments b,x
41*7f296bb3SBarry Smith  before sometimes they took x,b
42*7f296bb3SBarry Smith- PCXXXSetYYY() and -pc_xxx_yyyy are now changed to PCFactorSetYYY()
43*7f296bb3SBarry Smith  and -pc_factor_yyyy for XXX LU, ILU, Cholesky, and ICC
44*7f296bb3SBarry Smith
45*7f296bb3SBarry Smith```{rubric} KSP:
46*7f296bb3SBarry Smith```
47*7f296bb3SBarry Smith
48*7f296bb3SBarry Smith- -ksp_view, -ksp_monitor now take an optional filename argument
49*7f296bb3SBarry Smith- Added PetscLLAddPerm() to symbolic LU factorization
50*7f296bb3SBarry Smith
51*7f296bb3SBarry Smith```{rubric} config/configure.py:
52*7f296bb3SBarry Smith```
53*7f296bb3SBarry Smith
54*7f296bb3SBarry Smith- Changed --with-64-bit-ints to --with-64-bit-indices
55*7f296bb3SBarry Smith- config/configure.py now supports the arguments
56*7f296bb3SBarry Smith  --with-precision=longdouble and --with-precision=int, these
57*7f296bb3SBarry Smith  currently have limited functionality and certain things like
58*7f296bb3SBarry Smith  binary IO does not work.
59*7f296bb3SBarry Smith- Option --LIBS=\<extra libs> for some broken compilers that require
60*7f296bb3SBarry Smith  that require extra system libraries to be linked with
61*7f296bb3SBarry Smith- Changed --with-fortran-kernels=\<0,1> option to
62*7f296bb3SBarry Smith  --with-fortran-kernels=\<none,generic,bgl>
63*7f296bb3SBarry Smith- Support --with-large-file-io=\<bool> which indicates using files
64*7f296bb3SBarry Smith  larger than 2GB
65*7f296bb3SBarry Smith- --with-f90-header, --with-f90-source options merged into a single
66*7f296bb3SBarry Smith  option - for eg: --with-f90-interface=intel8
67*7f296bb3SBarry Smith- Added --with-is-color-value-type=\<char,short>: char gives max of
68*7f296bb3SBarry Smith  256 colors, short gives max of 65536 colors
69*7f296bb3SBarry Smith- Configure always tries to build libraries with PIC [or equivalent
70*7f296bb3SBarry Smith  flag] To disable this, use: --with-pic=0
71*7f296bb3SBarry Smith- Added --with-c-language-support for compiling PETSc with 'c'
72*7f296bb3SBarry Smith  linkage - but with a c++ compiler.
73*7f296bb3SBarry Smith- ---download-mpich option now defaults to pm=gforker. To use mpd -
74*7f296bb3SBarry Smith  use the additional option --download-mpich-pm=mpd
75*7f296bb3SBarry Smith- --with-timer option is added [if the user knows MPI_Wtime() is
76*7f296bb3SBarry Smith  accurate/low-overhead on a machine - then use: --with-timer=mpi]
77*7f296bb3SBarry Smith
78*7f296bb3SBarry Smith```{rubric} SNES:
79*7f296bb3SBarry Smith```
80*7f296bb3SBarry Smith
81*7f296bb3SBarry Smith- -snes-view, -snes_monitor now take an optional filename argument
82*7f296bb3SBarry Smith
83*7f296bb3SBarry Smith```{rubric} TS:
84*7f296bb3SBarry Smith```
85*7f296bb3SBarry Smith
86*7f296bb3SBarry Smith- -ts_view, -ts_monitor now take an optional filename argument
87*7f296bb3SBarry Smith
88*7f296bb3SBarry Smith```{rubric} DA:
89*7f296bb3SBarry Smith```
90*7f296bb3SBarry Smith
91*7f296bb3SBarry Smith```{rubric} DMMG:
92*7f296bb3SBarry Smith```
93*7f296bb3SBarry Smith
94*7f296bb3SBarry Smith- Arguments to DMMGSetKSP() changed. Now the callback which forms
95*7f296bb3SBarry Smith  the linear system matrix can optionally fill also an alternate
96*7f296bb3SBarry Smith  matrix for the preconditioner.
97*7f296bb3SBarry Smith
98*7f296bb3SBarry Smith```{rubric} SYS:
99*7f296bb3SBarry Smith```
100*7f296bb3SBarry Smith
101*7f296bb3SBarry Smith- PetscViewerFileType changed to PetscFileMode
102*7f296bb3SBarry Smith- PetscViewerSetFileType() changed to PetscViewerFileSetMode()
103*7f296bb3SBarry Smith
104*7f296bb3SBarry Smith```{rubric} Fortran:
105*7f296bb3SBarry Smith```
106*7f296bb3SBarry Smith
107*7f296bb3SBarry Smith- remove the special libpetscfortran.a [fortran interface & c
108*7f296bb3SBarry Smith  interface now go into the same library]
109*7f296bb3SBarry Smith- With some f90 compilers - PETSc datatypes [like
110*7f296bb3SBarry Smith  PetscScalar,PetscInt] will use f90 KIND declaration - so if this
111*7f296bb3SBarry Smith  code is in fixed form - there could be errors with lines exceeding
112*7f296bb3SBarry Smith  72 char limit
113*7f296bb3SBarry Smith
114*7f296bb3SBarry Smith```{rubric} ExternalPackages:
115*7f296bb3SBarry Smith```
116*7f296bb3SBarry Smith
117*7f296bb3SBarry Smith- PLAPACK support added
118*7f296bb3SBarry Smith- BLOPEX support added
119*7f296bb3SBarry Smith- Updated Pvode interface to the newer Sundials package \[configure
120*7f296bb3SBarry Smith  option --download-sundials=1
121*7f296bb3SBarry Smith- Added --download-mpe=1
122*7f296bb3SBarry Smith- fblaslapack now has complete blas - as required by some external
123*7f296bb3SBarry Smith  packages
124