[petsc-dev] Building a serial version of petsc with sundials, hypre, scalapack, etc

2011-12-18 Thread Dave Nystrom
Several of the external packages that have been interfaced with petsc require mpi. Is there a way to build a serial version of petsc with these packages and use stub routines for mpi? I know there are fortran stub routines, i.e. mpiuni, that I am using for my application which is currently serial

[petsc-dev] [petsc-users] training

2011-12-18 Thread Barry Smith
http://www.mcs.anl.gov/petsc/documentation/tutorials/index.html On Dec 18, 2011, at 7:54 PM, Jed Brown wrote: > Victor is teaching one at TACC on Jan 17 and I'm doing an advanced course > there on Feb 20. > > On Dec 18, 2011 7:42 AM, "Matthew Knepley" wrote: > On Sun, Dec 18, 2011

[petsc-dev] wtf

2011-12-18 Thread Mark F. Adams
On Dec 18, 2011, at 6:44 PM, Tim Gallagher wrote: > >>> I used >>> >>> hg log gamg.c >>> >>> to see that you modified this file. Is there a way to see what you did? >> >> Better to ask someone who knows how to do all that stuff then just me. >> >> Barry > > If you do > > hg annotate -u

[petsc-dev] wtf

2011-12-18 Thread Mark F. Adams
Barry, I just pushed with your code removed ... Mark On Dec 18, 2011, at 6:25 PM, Barry Smith wrote: > > On Dec 18, 2011, at 5:21 PM, Mark F. Adams wrote: > >> Barry, did you add: >> >> #define foo 1 >> #if defined(foo) >> PetscFunctionReturn(0); >> #endif >> >> to gamg.c? > > Yes. I ac

[petsc-dev] wtf

2011-12-18 Thread Tim Gallagher
>> I used >> >> hg log gamg.c >> >> to see that you modified this file. Is there a way to see what you did? > > Better to ask someone who knows how to do all that stuff then just me. > >Barry If you do hg annotate -un it will dump the file to stdout with the username and revision tag ne

[petsc-dev] Output MPISBAIJ

2011-12-18 Thread Alexander Grayver
Hello Barry, Thanks a lot for explanation. I don't really need it. Sometimes during testing I output my system matrix to analyze it outside, but for that purposes I can easily switch to MPIAIJ. Regards, Alexander On 18.12.2011 18:13, Barry Smith wrote: >Alexander, > > It is not hangi

[petsc-dev] wtf

2011-12-18 Thread Hong Zhang
> ? ?Why did I add that horrible #if defined() stuff? So I could run tests with > MatMatMultSym() on your matrices without running the more memory using and > time consuming part of the example. I am determined to beat Hong's best on > the symbolic part :-). Have you achieved it? I saw PetscHea

[petsc-dev] wtf

2011-12-18 Thread Sean Farley
. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20111218/ba7ef90a/attachment.html>

[petsc-dev] wtf

2011-12-18 Thread Barry Smith
On Dec 18, 2011, at 5:21 PM, Mark F. Adams wrote: > Barry, did you add: > > #define foo 1 > #if defined(foo) >PetscFunctionReturn(0); > #endif > > to gamg.c? Yes. I accidently pushed the #define foo 1 line, you can remove that one line, sorry about that. I may have removed it in a late

[petsc-dev] Output MPISBAIJ

2011-12-18 Thread Barry Smith
Alexander, It is not hanging, it is just very very very slow. The code to do the parallel binary saving of sbaij matrices is total crap. (While for AIJ it is scalable code). The code will only run at reasonable speed for very very small matrices. Do you really need this functional