dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #23175
[Bug 452950] Re: Parsing command line options for several parameters fails
** Changed in: dolfin
Milestone: None => 0.9.12
--
You received this bug notification because you are a member of DOLFIN
Team, which is subscribed to DOLFIN.
https://bugs.launchpad.net/bugs/452950
Title:
Parsing command line options for several parameters fails
Status in DOLFIN:
Confirmed
Bug description:
A user cannot send command line options to both PETSc and a user
defined parameters
./app --petsc.foo --petsc.bar --my_foo bar
Reproduce error:
Save the following in a file parameter_fail.py
*********************************************
from dolfin import *
par = Parameters("app_par", bar="foo")
parameters.parse()
par.parse()
*********************************************
and run it from the prompt using
python parameter_fail.py --petsc.mat_view_draw --bar=baz
References