[petsc-dev] Preconditioner for Schur complement (pcfieldsplit)

2011-03-31 Thread Jed Brown
-- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110331/a720ef55/attachment.html

[petsc-dev] [petsc-maint #66751] Re: [petsc-users] Which preconditioners are scalable?

2011-03-31 Thread Jed Brown
://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110331/c036d04e/attachment.html

[petsc-dev] what happened to information about setting -display DISPLAY etc and getting it to work?

2011-03-31 Thread Barry Smith
what happened to information about setting -display DISPLAY etc and getting it to work under various senerios? I cannot find it in faq.html is it somewhere else or did it get lost over the years? Thanks Barry

[petsc-dev] what happened to information about setting -display DISPLAY etc and getting it to work?

2011-03-31 Thread Jed Brown
the common cases a while back so it should automatically work in most common configurations (no need to always -display :0 to sign in). -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110331/ef98f10c

[petsc-dev] what happened to information about setting -display DISPLAY etc and getting it to work?

2011-03-31 Thread Jed Brown
? -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110331/169ba4a9/attachment.html

[petsc-dev] PetscBinaryRead for complex double dense matrices

2011-03-31 Thread Alexander Grayver
Hallo, May be this topic has already been discussed, I've not done search, but anyway it seems that PetscBinaryRead from 3.1-p7 doesn't support reading complex double dense matrices. I had to add this code: if (nz == -1) if strcmp(comp,'complex') s =

[petsc-dev] PetscBinaryRead for complex double dense matrices

2011-03-31 Thread Barry Smith
Thank you for letting us know. This is now fixed in petsc-dev Barry On Mar 31, 2011, at 9:20 AM, Alexander Grayver wrote: Hallo, May be this topic has already been discussed, I've not done search, but anyway it seems that PetscBinaryRead from 3.1-p7 doesn't support reading

[petsc-dev] PETSc Sorting with duplicate entries

2011-03-31 Thread Bisht, Gautam
Hi, I'm was sorting an array which that has duplicate entries: (x = [39 9 19 39 29]). I noticed that for duplicate entries after sorting, the index returned are not in ascending. The example below will explain this further. Here is the code snippet:

[petsc-dev] PETSc Sorting with duplicate entries

2011-03-31 Thread Hong Zhang
Gautam: I'm was sorting an array which that has duplicate entries: (x = [39 9 19 39 29]). I noticed that for duplicate entries after sorting, the index returned are not in ascending. The example below will explain this further. Here is the code snippet:

[petsc-dev] PETSc Sorting with duplicate entries

2011-03-31 Thread Todd Munson
PetscSortIntWithPermutation() implements bubble sort for n8 and insertion sort otherwise, which does not give ordered index for duplicate entries. If you can find the algorithm used by Matlab, please let us know. We can implement it. Otherwise, I think you may write a subroutine to sort

[petsc-dev] PETSc Sorting with duplicate entries

2011-03-31 Thread Jed Brown
://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110331/2137be18/attachment.html

[petsc-dev] PETSc Sorting with duplicate entries

2011-03-31 Thread Barry Smith
On Mar 31, 2011, at 11:34 AM, Todd Munson wrote: PetscSortIntWithPermutation() implements bubble sort for n8 and insertion sort otherwise, which does not give ordered index for duplicate entries. If you can find the algorithm used by Matlab, please let us know. We can implement it.

[petsc-dev] [petsc-maint #68731] Installation problem with petsc4py

2011-03-31 Thread Barry Smith
On Mar 30, 2011, at 2:49 PM, David Maxwell wrote: Barry, Andy: I suppose you can avoid both these gotchas by involving the end user in the choice rather than making it arbitrarily. For example, in reconfigure: * Don't hardwire the python executable, but * Check that the python

[petsc-dev] MatNullSpaceDestroy

2011-03-31 Thread Lisandro Dalcin
On 24 March 2011 13:43, Barry Smith bsmith at mcs.anl.gov wrote: o now MatNullSpace instances cannot be freed with PetscObjectDestroy()... This change broke bad petsc4py Python+PETSc refcounting management. BTW, PetscObjectDestroy() does not take a pointer... And IMHO PetscHeaderDestroy

[petsc-dev] [petsc-maint #68731] Installation problem with petsc4py

2011-03-31 Thread Jed Brown
As a related matter, could we add a field PETSC_PYTHON to petscvariables so that Makefile users can run a consistent version? -- next part -- An HTML attachment was scrubbed... URL: http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20110331/eacc6fff/attachment.html

[petsc-dev] breaking all of PETSc to fix a design flaw

2011-03-31 Thread Barry Smith
I am making a change to PETSc that will break everything. XXXDestroy(XXX) is replaced with XXXDestroy(XXX*) and in addition XXXDestroy(x) returns immediately without error if x is null. Won't be pushing until I've finished it all, it may take a few days. Barry