ML symbols in petscksp.so

2009-10-29 Thread Jed Brown
Satish Balay wrote: I don't see any changes in the 'shared' target for linux [in conf/rules] And I just did a build with current petsc-dev - and see a bunch of ML_ symbols Thanks Satish. Wiping externalpackages and PETSC_ARCH was enough. It just didn't work when I only wiped the ML-related

changes for PetscMap

2009-10-29 Thread Barry Smith
Ok, I have pushed all these changes, including PetscMap -- PetscLayout Barry On Oct 27, 2009, at 4:56 PM, Dima Karpeyev wrote: What about a different name? I vote for PetscLayout, because that's what it is. Dmitry. On Tue, Oct 27, 2009 at 4:44 PM, Matthew Knepley knepley at

remove 'x11' test from 'make test'

2009-10-29 Thread Boyana Norris
Thanks for looking that up (I am wondering why it's not default) -- I did that and hopefully X won't need restarting. Boyana -- Boyana Norris, Computer Scientist, Argonne National Laboratory norris at mcs.anl.gov, +1.630.252.7908, http://www.mcs.anl.gov/~norris/ On Oct 28, 2009, at 10:09 PM,

ML symbols in petscksp.so

2009-10-29 Thread Jed Brown
URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091029/a899b7e8/attachment.pgp

most efficient way to use local CSR matrix?

2009-10-29 Thread Chris Kees
Mark, Barry, Thanks for the help. For now I'm sticking with the approach of copying the csr matrix and using the csr data structures to do the preallocations. I'll eventually get around to writing the code for assembling directly into the petsc matrix. I have two more questions. 1) On 1

most efficient way to use local CSR matrix?

2009-10-29 Thread Matthew Knepley
to which their experiments lead. -- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091029/7a7f7f4e/attachment.html

missing CHKERRQ in MatNullSpaceRemove()

2009-10-29 Thread Lisandro Dalcin
While trying to update petsc4py to latest changes in petsc-dev repo, I've noticed that at the very end of MatNullSpaceRemove() we have: if (sp-remove){ ierr = (*sp-remove)(sp,vec,sp-rmctx); } PetscFunctionReturn(0); } Any good reason for not CHKERRQ(ierr) after calling the userd-defined

missing CHKERRQ in MatNullSpaceRemove()

2009-10-29 Thread Matthew Knepley
was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091029/22b1856b/attachment.html

most efficient way to use local CSR matrix?

2009-10-29 Thread Chris Kees
for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. -- Norbert Wiener -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091029

ML symbols in petscksp.so

2009-10-29 Thread Lisandro Dalcin
On Thu, Oct 29, 2009 at 4:45 PM, Jed Brown jed at 59a2.org wrote: I realize that the real problem here was OpenCV's libml and the fact that linkers don't resolve symbols by starting with the most recent -L path [*], but we should at least remember that putting -L{PETSC_LIB_DIR} at the

most efficient way to use local CSR matrix?

2009-10-29 Thread Barry Smith
Hmm, this should not happen. The matrix should be identical in both cases (note the initial residual is the same in both cases so they may be identical). Here's one more thing you can try. In the same routine create TWO matrices; one each way, then use MatAXPY() to take the

ML symbols in petscksp.so

2009-10-29 Thread Barry Smith
On Oct 29, 2009, at 3:52 PM, Lisandro Dalcin wrote: On Thu, Oct 29, 2009 at 4:45 PM, Jed Brown jed at 59a2.org wrote: I realize that the real problem here was OpenCV's libml and the fact that linkers don't resolve symbols by starting with the most recent -L path [*], but we should at

ML symbols in petscksp.so

2009-10-29 Thread Satish Balay
On Thu, 29 Oct 2009, Barry Smith wrote: On Oct 29, 2009, at 3:52 PM, Lisandro Dalcin wrote: On Thu, Oct 29, 2009 at 4:45 PM, Jed Brown jed at 59a2.org wrote: I realize that the real problem here was OpenCV's libml and the fact that linkers don't resolve symbols by starting with

ML symbols in petscksp.so

2009-10-29 Thread Matthew Knepley
://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091029/5d58c8da/attachment.html

ML symbols in petscksp.so

2009-10-29 Thread Lisandro Dalcin
On Thu, Oct 29, 2009 at 7:01 PM, Satish Balay balay at mcs.anl.gov wrote: On Thu, 29 Oct 2009, Barry Smith wrote: On Oct 29, 2009, at 3:52 PM, Lisandro Dalcin wrote: On Thu, Oct 29, 2009 at 4:45 PM, Jed Brown jed at 59a2.org wrote: I realize that the real problem here was OpenCV's

ML symbols in petscksp.so

2009-10-29 Thread Jed Brown
the updated version Jed -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 261 bytes Desc: OpenPGP digital signature URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20091029/4d270cb6/attachment.pgp

most efficient way to use local CSR matrix?

2009-10-29 Thread Chris Kees
I think I added the correct test code and got a difference of 0, but spooles is still not returning the correct result, at least not until the 2nd iteration. I'm attaching some of the code and output. Chris code for mat creates ---

most efficient way to use local CSR matrix?

2009-10-29 Thread Hong Zhang
On Oct 29, 2009, at 5:02 PM, Chris Kees wrote: I think I added the correct test code and got a difference of 0, but spooles is still not returning the correct result, at least not until the 2nd iteration. I'm attaching some of the code and output. We have not been actively updating

most efficient way to use local CSR matrix?

2009-10-29 Thread Barry Smith
Have you run this with the debug version of PETSc? It does additional argument testing that might catch a funny value passed in. Barry On Oct 29, 2009, at 5:02 PM, Chris Kees wrote: I think I added the correct test code and got a difference of 0, but spooles is still not

most efficient way to use local CSR matrix?

2009-10-29 Thread Chris Kees
On Oct 29, 2009, at 8:43 PM, Hong Zhang wrote: On Oct 29, 2009, at 5:02 PM, Chris Kees wrote: I think I added the correct test code and got a difference of 0, but spooles is still not returning the correct result, at least not until the 2nd iteration. I'm attaching some of the code

most efficient way to use local CSR matrix?

2009-10-29 Thread Chris Kees
I'm just using a simple configuration: ./config/configure.py --with-clanguage=C --with-cc='/usr/bin/mpicc - arch x86_64' --with-cxx='/usr/bin/mpicxx -arch x86_64' --without- fortran --with-mpi-compilers --without-shared --without-dynamic -- download-parmeti s=ifneeded