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. ;-) > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20130110/4a63ba8e/attachment.html>
