[dune-pdelab] [dune-pdelab-commit] dune-pdelab r1030 - trunk/dune/pdelab/backend
Christian Engwer
christi at uni-hd.de
Thu Feb 3 23:32:46 CET 2011
Hi!
This path fixed only part of the problem.
Currently novlpistlsolverbackend.hh doesn't compile without MPI. Could
one of the Solver Gurus please have a look?
novlpistlsolverbackend.hh:1048: error: 'class Dune::PDELab::ISTLBackend_NOVLP_BASE_PREC<GOS, Scalar, Preconditioner, Solver>::apply(M&, V&, W&, typename V::ElementType)::Comm' has no member named 'addOwnerCopyToOwnerCopy'
Cheers
Christian
On Thu, Feb 03, 2011 at 11:28:48PM +0100, christi at conan.iwr.uni-heidelberg.de wrote:
> Author: christi
> Date: Thu Feb 3 23:28:48 2011
> New Revision: 1030
> URL: http://svn.dune-project.org/websvn/listing.php?repname=dune-pdelab&path=/&rev=1030&sc=1
>
> Log:
> obtain rank from mpihelper, this works with and without MPI
>
> Modified:
> trunk/dune/pdelab/backend/novlpistlsolverbackend.hh
>
> Modified: trunk/dune/pdelab/backend/novlpistlsolverbackend.hh
> ==============================================================================
> --- trunk/dune/pdelab/backend/novlpistlsolverbackend.hh Thu Feb 3 23:28:12 2011 (r1029)
> +++ trunk/dune/pdelab/backend/novlpistlsolverbackend.hh Thu Feb 3 23:28:48 2011 (r1030)
> @@ -938,8 +938,7 @@
> }
> nnz += sparsity[i.index()].size();
> }
> - int rank;
> - MPI_Comm_rank(MPI_COMM_WORLD, &rank);
> + int rank = gridView_.comm().rank();
>
> A.setSize(tmp.N(), tmp.N(), nnz);
> A.setBuildMode(Matrix::row_wise);
>
> _______________________________________________
> dune-pdelab-commit mailing list
> dune-pdelab-commit at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab-commit
>
More information about the dune-pdelab
mailing list