File: 230.html

package info (click to toggle)
petsc 3.4.2.dfsg1-8.1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 129,104 kB
  • ctags: 516,422
  • sloc: ansic: 395,939; cpp: 47,201; python: 34,788; makefile: 17,193; fortran: 16,251; f90: 1,592; objc: 954; sh: 822; xml: 621; java: 381; lisp: 293; csh: 241
file content (258 lines) | stat: -rw-r--r-- 7,703 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258

 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
 <html>
  <head> <link rel="canonical" href="http://www.mcs.anl.gov/petsc/petsc-current/docs/changes/230.html" />
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <title>Documentation: Changes: 2.3.0</title>
  </head>
  <body bgcolor="#ffffff">
   <div id="version" align=right><b>petsc-3.4.2 2013-07-02</b></div>

    <h1>Documentation: Changes: 2.3.0</h1>

    

    <style type="text/css">
      h2 {
        color: red;
      }

      h4 {
        font-weight: bold;
        text-decoration: underline;
      }
    </style>

    <div id="main">

      <div align="center">
        <h2><a name="CHANGES">CHANGES in PETSc 2.3.0</a></h2>
      </div>


      <h4>General:</h4>

      <ul>
        <li>
          The equivalent of building BOPT=g, BOPT=O versions for
          PETSC_ARCH=linux-gnu is now: config/configure.py [options]
          -PETSC_ARCH=linux-gnu config/configure.py [options]
          --with-debugging=0 -PETSC_ARCH=linux-gnu-opt
        </li>

        <li>
          Python bindings added to PETSc.  To use, configure with:
          --with-python=1 ---with-shared=1 To build, use: 'make python' after
          building PETSc libraries.  Example in
          src/snes/examples/tutorials/ex1.py
        </li>

        <li>Options database keys -trmalloc[_xxx] are changed to -malloc[_xxx]</li>
        <li>-get_resident_set_size and -trinfo are changed to -memory_info</li>
        <li>PetscTrValid() -&gt; PetscMallocValidate(), PetscTrDebug() -&gt; PetscMallocDebug()</li>
        <li>-trdebug -&gt; -malloc_debug</li>

        <li>
          PetscGetResidentSetSize() -&gt; PetscMemoryGetCurrentUsage(), added
          PetscMemoryGetMaximumUsage() and PetscMemorySetGetMaximumUsage()
        </li>

        <li>PetscTrSpace() -&gt; PetscMallocGetCurrentUsage() and PetscMallocGetMaximumUsage()</li>
        <li>added PetscOptionsEnum() and PetscOptionsGetEnum()</li>

        <li>
          added PetscBag object for managing user created structs including
          initializing them and serializing them.
        </li>

        <li>
          removed PetscSetCommWorld(). Now you can directly assign to
          PETSC_COMM_WORLD before PetscInitialize().
        </li>
      </ul>

      <h4>Vec:</h4>

      <ul>
        <li>Faster generation of VecScatter for many processes when indices are mostly sorted</li>
        <li>
          Changed BLAS-type interfaces to PETSc-style:
          <ul>
            <li>VecShift</li>
            <li>VecScale</li>
            <li>VecSet</li>
            <li>VecSetRandom</li>
            <li>VecAXPY</li>
            <li>VecAXPBY</li>
            <li>VecAYPX</li>
            <li>VecMAXPY</li>
            <li>VecWAXPY</li>
          </ul>
        </li>

        <li>
          Changed order of arguments in pointwise routines:
          <ul>
            <li>VecPointwiseMult</li>
            <li>VecPointwiseMax</li>
            <li>VecPointwiseMin</li>
            <li>VecPointwiseMaxAbs</li>
            <li>VecPointwiseDivide</li>
          </ul>
        </li>
      </ul>

      <h4>Mat:</h4>

      <ul>
        <li>Changed MatConvert to require a reuse parameter to denote inplace converstion</li>
        <li>Added Cholesky and ICC support to SeqBAIJ</li>
        <li>Added the argument MatFactorInfo to MatLUFactorNumeric() and MatCholeskyFactorNumeric()</li>
        <li>Faster MatSetValues()</li>
        <li>Faster parallel-matrix vector products</li>
        <li>Changed MatCreate() to take only a communicator</li>
        <li>Added MatSetSize() to specify matrix sizes</li>
        <li>
          Changed BLAS-type interfaces to PETSc-style:
          <ul>
            <li>MatAXPY</li>
            <li>MatAYPX</li>
            <li>MatScale</li>
            <li>MatShift</li>
          </ul>
        </li>
        <li>Change MatZeroRows() and MatZeroRowsLocal() to use arrays, and added IS versions</li>
      </ul>

      <h4>PC:</h4>

      <ul>
        <li>Added PCILUReorderForNonzeroDiagonal() and PCLUReorderForNonzeroDiagonal()</li>

        <li>
          Replace PCLUSetDamping(), PCILUSetDamping(), PCCholeskySetDamping()
          and PCICCSetDamping() by PCFactorSetShiftNonzero(). Change the option
          database keys -pc_lu_damping, -pc_ilu_damping, -pc_cholesky_damping
          and -pc_icc_damping to -pc_factor_shift_nonzero
        </li>

        <li>
          Replace PCLUSetShift(), PCILUSetShift(), PCCholeskySetShift() and
          PCICCSetShift() by PCFactorSetShiftPd().  Change the option database
          keys -pc_lu_shift, -pc_ilu_shift, -pc_cholesky_shift and
          -pc_icc_shift to -pc_factor_shfit_positive_definite
        </li>

        <li>
          PCMG: will automatically using the outer pmat operator to define the
          finest level operator if not user supplied
        </li>

        <li>
          PCMG: added MGUseGalerkin(), -pc_mg_galerkin option to have coarser
          grid matrices computed from the finest grid matrix
        </li>

        <li>
          PCMG: now does referencing counting on set vectors and
          restriction/interpolation matrices so user need not keep reference to
          free later
        </li>

        <li>
          PCMG: if user does not provide restriction the interpolation is used
          and vis versa
        </li>

        <li>
          PCMG: if user does not provide Vecs for each level, will
          automatically provide them
        </li>

        <li> All routines that began with MG now begin with PCMG</li>
        <li>
          Added PCShellSet/GetContext() and removed the context passed into
          PCSetApply() and PCSetApplyRichardson()
        </li>
      </ul>

      <h4>KSP:</h4>

      <ul>
        <li>
          -ksp_cg_Hermitian and -ksp_cg_symmetric have been changed to
          -ksp_cg_type Hermitian or symmetric
        </li>

        <li>
          Changed options for -ksp_gmres_cgs_refinement_type from never or
          ifneeded or always to REFINE_NEVER or REFINE_IFNEEDED or
          REFINE_ALWAYS
        </li>
      </ul>

      <h4>config/configure.py:</h4>
      <h4>SNES:</h4>

      <ul>
        <li>
          Changed the name and calling sequence for SNESSetLineSearchCheck() to
          SNESLineSearchSetPostCheck() and added
          a SNESLineSearchSetPreCheck()
        </li>

        <li>
          Changed the names of all SNESxxxxLineSearchyyyy() to
          SNESLineSearchxxxxyyyy() per PETSc naming standard.
        </li>

        <li>Now allow a constant vector to be specified in SNESSolve()</li>
        <li>Removed the Vec argument from SNESSetUp()</li>
        <li>
          Corrected the order of function and context arguments in:
          <ul>
            <li>SNESGetFunction()</li>
            <li>SNESGetJacobian()</li>
          </ul>
        </li>
      </ul>

      <h4>TS:</h4>

      <h4>DA:</h4>

      <ul>
        <li>
          Added DAVecGet/RestoreArrayDOF() allowing indexing in the dimension
          of degrees of freedom at each point on the lattice.
        </li>
        <li>Faster DAGlobalToLocal() etc for dof &gt; 1.</li>
      </ul>

      <h4>DMMG:</h4>

      <ul>
        <li>Consolidated DMMG functionality into the new header file "petscdmmg.h".</li>
      </ul>

      <h4>SYS:</h4>

      <ul>
        <li>
          PetscSetCommWorld() removed. [one can directly do PETSC_COMM_WORLD
          = comm - before PetscInitialize()]
        </li>
      </ul>

      <h4>Fortran:</h4>
      <h4>ExternalPackages:</h4>

      <ul>
        <li>ML support added.</li>
      </ul>

    </div>

    
  </body>
</html>