← Back to team overview

dolfin team mailing list archive

[HG DOLFIN] Use strict convergence in krylov solver.

 

One or more new changesets pushed to the primary dolfin repository.
A short summary of the last three changesets is included below.

changeset:   6561:6b8435c4db5a55ef63ac500a66788fc4e682f146
tag:         tip
user:        Ola Skavhaug <skavhaug@xxxxxxxxx>
date:        Tue Aug 04 17:57:50 2009 +0200
files:       sandbox/passembly/main.cpp
description:
Use strict convergence in krylov solver.


changeset:   6560:2359ce800a0837c674d57371ecf5c7dbd25d4444
user:        Ola Skavhaug <skavhaug@xxxxxxxxx>
date:        Tue Aug 04 17:57:27 2009 +0200
files:       dolfin/la/PETScVector.cpp
description:
Add support for PETSc 2.x


changeset:   6559:74f6b029c608f835c47846c968857478a3183bdb
user:        Anders Logg <logg@xxxxxxxxx>
date:        Tue Aug 04 17:53:43 2009 +0200
files:       sandbox/passembly-bench-vec-0.8.0/timings.log sandbox/passembly-bench-vec/timings.log
description:
Run and collect timings comparing parallel implementation in DOLFIN and Parafin:

Conclusions:

- New DOLFIN much more efficient at assembly than old DOLFIN (0.8)
- Parallel implementations very close in speed
- Parafin parses XML at bit faster, but that is likely the result of
  using the old DOLFIN XML parser (which has been replaced)
- Room for improvement in new build() stage

DOLFIN:

Summary of timings                                |  Average time  Total time  Reps
-----------------------------------------------------------------------------------
Assemble cells                                    |          0.54        0.54     1
Build sparsity                                    |          2.04        2.04     1
Delete sparsity                                   |          0.16        0.16     1
Init tensor                                       |          0.18        0.18     1
MAIN 0: create mesh                               |          2.66        2.66     1
MAIN 1: create function space                     |          0.26        0.26     1
MAIN 2: define variational problem                |             0           0     1
MAIN 3: assemble                                  |           4.2         4.2     1
PARALLEL 0: Parse local mesh data                 |          1.46        1.46     1
PARALLEL 1: Compute partition (calling ParMETIS)  |          0.41        0.41     1
PARALLEL 2: Distribute mesh (cells and vertices)  |           0.1         0.1     1
PARALLEL 3: Build mesh (from local mesh data)     |          0.68        0.68     1
PARALLEL x: Number mesh entities                  |          0.26        0.26     1

Parafin:

Summary of timings                                                   |  Average time  Total time  Reps
------------------------------------------------------------------------------------------------------
Assemble cells                                                       |          0.49        0.49     1
Build sparsity                                                       |           4.2         4.2     1
Delete sparsity                                                      |             0           0     1
Init tensor                                                          |          1.89        1.89     1
MAIN 0 create mesh                                                   |          2.17        2.17     1
MAIN 1 create function space (not used)                              |             0           0     1
MAIN 2 define variational problem                                    |             0           0     1
MAIN 3 assemble                                                      |          7.87        7.87     1
PARALLEL 0: Parse local mesh data, including geometric partitioning  |          0.99        0.99     1
PARALLEL 1: Compute partition (calling ParMETIS)                     |          0.25        0.25     1
PARALLEL 2: Distribute mesh (cells and vertices)                     |          0.08        0.16     2
PARALLEL 3: Renumber mesh entities                                   |          0.83        0.83     1

----------------------------------------------------------------------
For more details, visit http://www.fenics.org/hg/dolfin