← Back to team overview

dolfin team mailing list archive

Check PETSc patch level in NonlinearSolver.cpp. If patch level is too low, the PETSc function \"SNESSetFunction\" is excluded, and a runtime error message is produced if the nonlinear solver is called. [...]

 

Commit from garth (2005-10-27 19:54 CEST)
-----------------

Check PETSc patch level in NonlinearSolver.cpp. If patch level is too low, the PETSc function "SNESSetFunction" is excluded, and a runtime error message is produced if the nonlinear solver is called.

This way, you need to update PETSc only if you want to use the nonlinear solver (which doesn't work yet anyway). A check could be placed in configure.ac, but I don't know how to do this.

  dolfin  Makefile.in                                        1.121
  dolfin  src/Makefile.in                                    1.123
  dolfin  src/config/Makefile.in                             1.124
  dolfin  src/demo/Makefile.in                               1.129
  dolfin  src/demo/bench/Makefile.in                         1.49
  dolfin  src/demo/fem/Makefile.in                           1.27
  dolfin  src/demo/scripting/Makefile.in                     1.13
  dolfin  src/demo/solvers/Makefile.in                       1.122
  dolfin  src/demo/solvers/navierstokes/Makefile.in          1.90
  dolfin  src/demo/solvers/ode/Makefile.in                   1.107
  dolfin  src/demo/solvers/ode/homotopy/Makefile.in          1.52
  dolfin  src/demo/solvers/ode/modeling/Makefile.in          1.79
  dolfin  src/greeting/Makefile.in                           1.104
  dolfin  src/kernel/Makefile.in                             1.120
  dolfin  src/kernel/common/Makefile.in                      1.124
  dolfin  src/kernel/common/dolfin/Makefile.in               1.118
  dolfin  src/kernel/fem/Makefile.in                         1.133
  dolfin  src/kernel/fem/dolfin/Makefile.in                  1.132
  dolfin  src/kernel/form/Makefile.in                        1.103
  dolfin  src/kernel/form/dolfin/Makefile.in                 1.103
  dolfin  src/kernel/function/Makefile.in                    1.94
  dolfin  src/kernel/function/dolfin/Makefile.in             1.94
  dolfin  src/kernel/io/Makefile.in                          1.130
  dolfin  src/kernel/io/dolfin/Makefile.in                   1.124
  dolfin  src/kernel/la/Makefile.in                          1.131
  dolfin  src/kernel/la/dolfin/Makefile.in                   1.128
  dolfin  src/kernel/log/Makefile.in                         1.111
  dolfin  src/kernel/log/dolfin/Makefile.in                  1.111
  dolfin  src/kernel/main/Makefile.in                        1.121
  dolfin  src/kernel/main/dolfin/Makefile.in                 1.116
  dolfin  src/kernel/math/Makefile.in                        1.112
  dolfin  src/kernel/math/dolfin/Makefile.in                 1.111
  dolfin  src/kernel/mesh/Makefile.in                        1.98
  dolfin  src/kernel/mesh/dolfin/Makefile.in                 1.97
  dolfin  src/kernel/nls/Makefile.in                         1.5
  dolfin  src/kernel/nls/NonlinearFunctional.cpp             1.4
  dolfin  src/kernel/nls/NonlinearSolver.cpp                 1.8
  dolfin  src/kernel/nls/dolfin/Makefile.in                  1.5
  dolfin  src/kernel/nls/dolfin/NonlinearFunctional.h        1.4
  dolfin  src/kernel/nls/dolfin/NonlinearSolver.h            1.6
  dolfin  src/kernel/ode/Makefile.in                         1.125
  dolfin  src/kernel/ode/dolfin/Makefile.in                  1.122
  dolfin  src/kernel/quadrature/Makefile.in                  1.113
  dolfin  src/kernel/quadrature/dolfin/Makefile.in           1.113
  dolfin  src/kernel/settings/Makefile.in                    1.106
  dolfin  src/kernel/settings/dolfin/Makefile.in             1.106
  dolfin  src/modules/Makefile.in                            1.129
  dolfin  src/modules/convdiff/Makefile.in                   1.123
  dolfin  src/modules/convdiff/dolfin/Makefile.in            1.50
  dolfin  src/modules/dolfin/Makefile.in                     1.50
  dolfin  src/modules/elasticity/Makefile.in                 1.86
  dolfin  src/modules/elasticity/dolfin/Makefile.in          1.40
  dolfin  src/modules/elasticity-updated/Makefile.in         1.76
  dolfin  src/modules/elasticity-updated/dolfin/Makefile.in  1.37
  dolfin  src/modules/navierstokes/Makefile.in               1.120
  dolfin  src/modules/navierstokes/dolfin/Makefile.in        1.49
  dolfin  src/modules/poisson/Makefile.in                    1.122
  dolfin  src/modules/poisson/dolfin/Makefile.in             1.51
  dolfin  src/modules/stokes/Makefile.in                     1.14
  dolfin  src/modules/stokes/dolfin/Makefile.in              1.12
  dolfin  src/post/Makefile.in                               1.107
  dolfin  src/pre/Makefile.in                                1.115
  dolfin  src/utils/Makefile.in                              1.118
  dolfin  src/utils/inp2dx/Makefile.in                       1.118