[petsc-users] binary vtk viewer DMDA
Barry Smith
bsmith at mcs.anl.gov
Thu Jan 10 12:42:01 CST 2013
On Jan 10, 2013, at 11:05 AM, Kevin Green <kevin.richard.green at gmail.com> wrote:
> Personally, I think it should probably be disabled... AFAIK # works for comments, and what are the advantages of having multiple comment characters?
Sorry, I thought we already fixed this. I have pushed to petsc-dev that only # are treated as comments
>
>
>
> On Thu, Jan 10, 2013 at 12:00 PM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> Oh, this is the problem with allowing % for comments, but not parsing quotes. Last time we discussed this, I thought we decided that % should not be a comment character. Should we disable it?
>
>
> On Thu, Jan 10, 2013 at 10:57 AM, Kevin Green <kevin.richard.green at gmail.com> wrote:
> I was just playing around with this in the recent petsc-dev, and noticed the following:
>
> It works fine when provided from the command line, but when used in a file with -options_file, I get the error:
>
> [0]PETSC ERROR: --------------------- Error Message ------------------------------------
> [0]PETSC ERROR: !
> [0]PETSC ERROR: -ts_monitor_draw_solution_vtk requires a file template, e.g. filename-%03d.vts!
> [0]PETSC ERROR: ------------------------------------------------------------------------
> [0]PETSC ERROR: Petsc Development HG revision: 117b19d7e9971ca4c134171ccd46df7d0d54c1e1 HG Date: Thu Jan 10 09:41:10 2013 -0600
> [0]PETSC ERROR: See docs/changes/index.html for recent updates.
> [0]PETSC ERROR: See docs/faq.html for hints about trouble shooting.
> [0]PETSC ERROR: See docs/index.html for manual pages.
> [0]PETSC ERROR: ------------------------------------------------------------------------
> [0]PETSC ERROR: ./cortex on a arch-linux2-c-debug named kg-ThinkPad-X220-Tablet by kg Thu Jan 10 11:44:39 2013
> [0]PETSC ERROR: Libraries linked from /home/kg/libs/petsc-dev/arch-linux2-c-debug/lib
> [0]PETSC ERROR: Configure run at Thu Jan 10 11:05:06 2013
> [0]PETSC ERROR: Configure options --with-debugging=1 --with-x=1 PETSC_ARCH=arch-linux2-c-debug
> [0]PETSC ERROR: ------------------------------------------------------------------------
> [0]PETSC ERROR: TSSetFromOptions() line 220 in src/ts/interface/ts.c
> [0]PETSC ERROR: main() line 225 in src/main.c
> --------------------------------------------------------------------------
>
>
> This is the first time I've ever had a difference between command line and -options_file behaviour... Is it a bug, or is there something special about using string commands in -options_file that I just don't know about?
>
> Cheers,
> Kevin
>
>
> On Thu, Jan 10, 2013 at 1:12 AM, Jed Brown <jedbrown at mcs.anl.gov> wrote:
> On Wed, Jan 9, 2013 at 3:36 PM, Blaise A Bourdin <bourdin at lsu.edu> wrote:
> Wouldn't it be trivial for a DMDA?
>
> It should be, but I was trying to buy some time because I was picking up projects at a seemingly exponential rate this week, despite prior obligations. ;-)
>
>
>
More information about the petsc-users
mailing list