anyone breaking things in dense matrices
Jed Brown
jed at 59A2.org
Tue Oct 6 06:43:56 CDT 2009
On Tue, Oct 6, 2009 at 00:08, Barry Smith <bsmith at mcs.anl.gov> wrote:
>
> Anybody touch the dense matrices recently to cause these problems?
I can't reproduce these with current tip (e4ceadb24540), at least on
my x86/Linux box (my x64 machine is broken at the moment), but I do
get link errors for everything that links petscmat without petscdm.
/home/jed/petsc/mpich/lib/libpetscmat.so: undefined reference to `DAGetInfo'
/home/jed/petsc/mpich/lib/libpetscmat.so: undefined reference to `DAGetCorners'
/home/jed/petsc/mpich/lib/libpetscmat.so: undefined reference to
`DAGetGhostCorners'
/home/jed/petsc/mpich/lib/libpetscmat.so: undefined reference to
`DAGetGlobalIndices'
Presumably this is only an issue with Hypre (and probably ADIC, which
I don't have)
$ grep -r '\<DAGet\(Info\|Corners\|GhostCorners\|GlobalIndices\)\>' src/mat
src/mat/impls/adic/matadic.c: ierr =
DAGetInfo(da,0,&Nx,&Ny,&Nz,0,0,0,&nc,0,0,0);CHKERRQ(ierr);
src/mat/impls/adic/matadic.c: ierr =
DAGetCorners(da,0,0,0,&nx,&ny,&nz);CHKERRQ(ierr);
src/mat/impls/hypre/mhyp.c: ierr =
DAGetInfo(ex->da,&dim,0,0,0,0,0,0,&dof,&sw[0],&p,&st);CHKERRQ(ierr);
src/mat/impls/hypre/mhyp.c: ierr =
DAGetCorners(ex->da,&ilower[0],&ilower[1],&ilower[2],&iupper[0],&iupper[1],&iupper[2]);CHKERRQ(ierr);
src/mat/impls/hypre/mhyp.c: ierr =
DAGetCorners(da,0,0,0,&nx,&ny,&nz);CHKERRQ(ierr);
src/mat/impls/hypre/mhyp.c: ierr =
DAGetGlobalIndices(ex->da,PETSC_NULL,&ex->gindices);CHKERRQ(ierr);
src/mat/impls/hypre/mhyp.c: ierr =
DAGetGhostCorners(ex->da,0,0,0,&ex->gnx,&ex->gnxgny,0);CHKERRQ(ierr);
src/mat/impls/hypre/mhyp.c: ierr =
DAGetCorners(ex->da,&ex->xs,&ex->ys,&ex->zs,&ex->nx,&ex->ny,0);CHKERRQ(ierr);
src/mat/impls/hypre/mhyp.c: ierr =
DAGetCorners(mx->da,&ilower[0],&ilower[1],&ilower[2],&iupper[0],&iupper[1],&iupper[2]);CHKERRQ(ierr);
Jed
More information about the petsc-dev
mailing list