File: 233.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 (217 lines) | stat: -rw-r--r-- 7,661 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

 <!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/233.html" />
    <meta http-equiv="content-type" content="text/html;charset=utf-8">
    <title>Documentation: Changes: 2.3.3</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.3</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.3</a></h2>
      </div>

      <h4>General:</h4>

      <ul>
        <li>
          PetscInitialize() will now also check for options in .petscrc unless
          -skip_petscrc is used (note that since the file options are checked
          before the command line you cannot pass -skip_petscrc on the command
          line it must be passed in the file passed into
          PetscInitialize().
        </li>

        <li>
          When a filename is passed into PetscInitialize() ~/.petscrc and
          .petscrc are checked ALSO (they used to be skipped when a filename
          was passed in) unless -skip_petscrc is passed in the input file
        </li>

        <li>
          PetscMapInitialize() has been split into PetscMapInitialize() that is
          called before the Map is ever used and then PetscMapSetUp() which is
          called after the blocksize and local or global size is set and
          determines the ranges etc.
        </li>

        <li>
          When a filename is passed into PetscInitialize() ~/.petscrc and
          .petscrc are checked ALSO (they used to be skipped when a filename
          was passed in) unless -skip_petscrc is passed in the input file
        </li>

        <li>
          PetscMapInitialize() has been split into PetscMapInitialize() that is
          called before the Map is ever used and then PetscMapSetUp() which is
          called after the blocksize and local or global size is set and
          determines the ranges etc.
        </li>

        <li>
          Changed the use of mpirun throughout the source to mpiexec; this
          includes petscmpirun -&gt; petscmpiexec. Of course, PETSc will still
          work fine with MPI implementations that use mpirun.
        </li>

        <li>Add fortran interface to PetscBag routines</li>
      </ul>

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

      <ul>
        <li>
          F90 interface is now enabled by default [if the compiler is detected
          to be a f90 compiler]. i.e --with-f90-interface options is not
          required. The f90 interface impl used is a new universal one. However
          if you wish to use the old compiler specific one, then specify
          --with-f90-interface=nof90src [for configure to autodetect] or
          specify the appropriate one - like: --with-f90-interface=intel8
        </li>
      </ul>

      <h4>IS:</h4>

      <ul>
        <li>changed IS_COLORING_LOCAL to IS_COLORING_GLOBAL</li>
      </ul>

      <h4>Vec:</h4>
      <h4>VecScatter:</h4>

      <ul>
        <li>
          Change prototype for VecScatterBegin() and VecScatterEnd() [now the
          first argument is VecScatter]<br>
        </li>
      </ul>

      <h4>Mat:</h4>

      <ul>
        <li>moved most of SNESMF implementation into mat/impls/mffd</li>
        <li>MatMFFD is now a regular matrix type registered in MatRegisterAll()</li>
        <li>changed SNESMF to MFFD for all previous SNESMF routines, except MatCreateSNESMF()</li>
        <li>-snes_mf_option changed to -mat_mffd_option except for -snes_mf and -snes_mf_operator</li>
        <li>SNES_KSP_EW... changed to SNESKSPWE... and SNES_KSP_EW_ConvCtx to SNESKSPEW</li>
        <li>MatGetRowIJ(), MatGetColumnIJ(), MatRestoreRowIJ(), MatRestoreColumnIJ() now take an extra argument</li>
      </ul>

      <h4>PC:</h4>

      <ul>
        <li>
          changed PCMGSetCycles() and PCMGSetCyclesOnLevel() to
          PCMGSetCycleType() and PCMGSetCycleTypeOnLevel() that take
          a PCMGCycleType as argument and changed -pc_mg_cycle_type 1 or 2 to
          -pc_mg_cycles v or w
        </li>

        <li>added PCMGMultiplicativeSetCycles() and -pc_mg_multiplicative_cycles</li>
        <li>PCMGSetInterpolate() --&gt; PCMGSetInterpolation()</li>
        <li>added PCREDUNDANT type, PCRedundantSetNumber() and -pc_redundant_number</li>
      </ul>

      <h4>KSP:</h4>

      <ul>
        <li>
          Changed KSPNormTypes to have consistant naming , i.e
          <ul>
            <li>KSP_NO_NORM -&gt; KSP_NORM_NO</li>
            <li>KSP_PRECONDITIONED_NORM -&gt; KSP_NORM_PRECONDITIONED</li>
            <li>KSP_UNPRECONDITIONED_NORM -&gt; KSP_NORM_UNPRECONDITIONED</li>
            <li>KSP_NATURAL_NORM -&gt; KSP_NORM_NATURAL</li>
          </ul>
        </li>

        <li>
          The following function names are changed to be consistant:
          <ul>
            <li>KSPSetMonitor -&gt; KSPMonitorSet</li>
            <li>KSPClearMonitor -&gt; KSPMonitorCancel</li>
            <li>KSPSingularValueMonitor -&gt; KSPMonitorSingularValue</li>
            <li>KSPDefaultMonitor -&gt; KSPMonitorDefault</li>
            <li>KSPTrueMonitor -&gt; KSPMonitorTrueResidualNorm</li>
            <li>KSPDefaultSMonitor -&gt; KSPMonitorDefaultShort</li>
            <li>KSPVecViewMonitor -&gt; KSPMonitorSolution</li>
            <li>KSPGMRESKrylovMonitor -&gt; KSPGMRESMonitorKrylov</li>
            <li>KSPLGMonitorCreate -&gt; KSPMonitorLGCreate</li>
            <li>KSPLGMonitor -&gt; KSPMonitorLG</li>
            <li>KSPLGMonitorDestroy -&gt; KSPMonitorLGDestroy</li>
            <li>KSPLGTrueMonitorCreate -&gt; KSPMonitorLGTrueResidualNormCreate</li>
            <li>KSPLGTrueMonitor -&gt; KSPMonitorLGTrueResidualNorm</li>
            <li>KSPLGTrueMonitorDestroy -&gt; KSPMonitorLGTrueResidualNormDestroy</li>
          </ul>
        </li>

        <li>
          Following names are changed
          <ul>
            <li>KSP_CONVERGED_STCG_NEG_CURVE -&gt; KSP_CONVERGED_CG_NEG_CURVE</li>
            <li>KSP_CONVERGED_STCG_CONSTRAINED -&gt; KSP_CONVERGED_CG_CONSTRAINED</li>
          </ul>
        </li>
      </ul>

      <h4>SNES:</h4>
      <h4>TS:</h4>

      <ul>
        <li>TSSetRHSMatrix() and TSSetLHSMatrix() were replaced by TSSetMatrices()</li>
        <li>TSGetRHSMatrix() was replaced by TSGetMatrices()</li>
      </ul>

      <h4>DA:</h4>
      <h4>DMMG:</h4>
      <h4>SYS:</h4>
      <h4>AO:</h4>

      <ul>
        <li>AOData object and corresponding functionality is now removed for PETSc</li>
      </ul>

      <h4>Sieve:</h4>

      <ul>
        <li>Added support for 2D and 3D mesh generation and refinement</li>
        <li>Added support for mesh partitioning and distribution</li>
        <li>Added support for partitioning based upon arbitrary dimensional entities, e.g. vertices, faces, etc.</li>
        <li>Added support for FIAT element generation</li>
        <li>Added support for higher order elements</li>
        <li>Added Poisson problem example in separate repository</li>
      </ul>

      <h4>Fortran:</h4>

      <h4><a href="http://www.mcs.anl.gov/petsc/miscellaneous/external.html">ExternalPackages</a>:</h4>

      <ul>
        <li>Hypre interface is updated to use version 2.0.0</li>
        <li>Mumps interface is updated to use version 4.7.3</li>
        <li>fftw interface is updated to use v3.2alpha2</li>
      </ul>

    </div>

    
  </body>
</html>