[petsc-dev] crash inside PetscVFPrintfDefault on using -help

2012-07-08 Thread Jed Brown
-- > [0]PETSC ERROR: User provided function() line 0 in unknown directory > unknown file > -- > > Chetan > > > -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120708/c48b47e6/attachment.html>

[petsc-dev] Problematic Merge of FieldSplit

2012-07-08 Thread Barry Smith
On Jul 8, 2012, at 3:36 PM, Dmitry Karpeev wrote: > As currently designed, there are always two KSPs for A00 - one is created as > part of MatSchurComplement and the other one sits in the FS split. Really? Isn't that often non-efficient? For any expensive to build and memory intensive preco

[petsc-dev] crash inside PetscVFPrintfDefault on using -help

2012-07-08 Thread Chetan Jhurani
Hi, PetscVFPrintfDefault crashes on using -help on command line due to bad function arguments. Tried this using src/snes/examples/tutorials/ex19, and petsc-dev nightly and petsc-3.3-p1. The stack is given below and the code is not valgrind clean. The debugger told me that in src/ksp/ksp/interfa

[petsc-dev] Problematic Merge of FieldSplit

2012-07-08 Thread Dmitry Karpeev
sing identical configurations is also highly desirable. >> > > > >> > > > Any ideas on how to handle this? >> > > > Dmitry. >> > > > >> > > > On Tue, Jun 26, 2012 at 6:13 AM, Matthew Knepley wrote: >> > > > It turns out that 'hg rollback' during an 'hg rebase' does not do what I thought it did. I think >> > > > everything is cleaned up with this push, but if you made FS changes in the past month, please >> > > > check that it is doing what you want with prefixes, etc. >> > > > >> > > > Now, nested fieldsplits from the command line work, ala >> > > > >> > > > -ksp_type fgmres >> > > > -pc_type fieldsplit -pc_fieldsplit_type additive >> > > > -pc_fieldsplit_0_fields 0,1 >> > > > -fieldsplit_0_pc_type fieldsplit >> > > > -fieldsplit_0_pc_fieldsplit_type schur -fieldsplit_0_pc_fieldsplitschur_factorization_type full >> > > > -fieldsplit_0_fieldsplit_velocity_ksp_type preonly >> > > > -fieldsplit_0_fieldsplit_velocity_pc_type lu >> > > > -fieldsplit_0_fieldsplit_pressure_ksp_rtol 1e-10 >> > > > -fieldsplit_0_fieldsplit_pressure_pc_type jacobi >> > > > -pc_fieldsplit_1_fields 2 >> > > > -fieldsplit_temperature_ksp_type preonly >> > > > -fieldsplit_temperature_pc_type lu >> > > > >> > > > A split with only one field gets the field name, and otherwise a split number. >> > > > >> > > > Matt >> > > > >> > > > -- >> > > > What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. >> > > > -- Norbert Wiener >> > > > >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. >> > > > -- Norbert Wiener >> > > > >> > > > >> > > > >> > > > >> > > > -- >> > > > What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead. >> > > > -- Norbert Wiener >> > > >> > > >> > > >> > > >> > > -- >> > > What most experimenters take 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/20120708/cca496ed/attachment-0001.html>

[petsc-dev] Fwd: Problematic Merge of FieldSplit

2012-07-08 Thread Barry Smith
On Jul 8, 2012, at 2:03 AM, Dmitry Karpeev wrote: > > > On Sat, Jul 7, 2012 at 4:01 PM, Barry Smith wrote: > > On Jul 7, 2012, at 3:23 AM, Dmitry Karpeev wrote: > > > > > > > On Fri, Jul 6, 2012 at 9:56 PM, Barry Smith wrote: > > > > On Jul 6, 2012, at 9:35 PM, Matthew Knepley wrote: > > >

[petsc-dev] PCFieldSplitSetFields() API change

2012-07-08 Thread Dmitry Karpeev
Should DM have DMCreateGlobalVectors() in addition to DMCreateGlobalVector()? These would be the same as those obtained with MatGetVecs() from a Mat created with DMCreateMatrix(). Any comments? Dmitry. -- next part -- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-dev/attachments/20120708/79a1edb1/attachment.html>

[petsc-dev] Fwd: Problematic Merge of FieldSplit

2012-07-08 Thread Dmitry Karpeev
de FS changes > in the past month, please > > > > check that it is doing what you want with prefixes, etc. > > > > > > > > Now, nested fieldsplits from the command line work, ala > > > > > > > > -ksp_type fgmres > > > > -pc_type fieldsplit -pc_fieldsplit_type additive > > > > -pc_fieldsplit_0_fields 0,1 > > > > -fieldsplit_0_pc_type fieldsplit > > > > -fieldsplit_0_pc_fieldsplit_type schur > -fieldsplit_0_pc_fieldsplitschur_factorization_type full > > > > -fieldsplit_0_fieldsplit_velocity_ksp_type preonly > > > > -fieldsplit_0_fieldsplit_velocity_pc_type lu > > > > -fieldsplit_0_fieldsplit_pressure_ksp_rtol 1e-10 > > > > -fieldsplit_0_fieldsplit_pressure_pc_type jacobi > > > > -pc_fieldsplit_1_fields 2 > > > > -fieldsplit_temperature_ksp_type preonly > > > > -fieldsplit_temperature_pc_type lu > > > > > > > > A split with only one field gets the field name, and otherwise a > split number. > > > > > > > > Matt > > > > > > > > -- > > > > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > > > > -- Norbert Wiener > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > > > > -- Norbert Wiener > > > > > > > > > > > > > > > > > > > > -- > > > > What most experimenters take for granted before they begin their > experiments is infinitely more interesting than any results to which their > experiments lead. > > > > -- Norbert Wiener > > > > > > > > > > > > > > > -- > > > What most experimenters take 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/20120708/ce2653e1/attachment-0001.html>