On Mon, May 11, 2009 at 09:03:57AM +0200, Johannes Ring wrote: > On Sun, May 10, 2009 23:47, Anders Logg wrote: > > On Sun, May 10, 2009 at 11:42:50PM +0200, DOLFIN wrote: > > > >> changeset: 6120:76bf86cf514eb0dbc88861c3ae3e6f113a80141a > >> parent: 6117:84edb07b28286a6ca33c399ad30d32b634b52ea9 > >> user: Anders Logg <[email protected]> > >> date: Sun May 10 23:40:32 2009 +0200 > >> files: dolfin/parameter/NewParameter.cpp > >> dolfin/parameter/NewParameter.h dolfin/parameter/NewParameters.cpp > >> dolfin/parameter/NewParameters.h sandbox/misc/cpp/main.cpp > >> description: > >> Implement parsing of command-line options using boost::program_options > > > > This seems to work nicely and didn't require that much > > code. Parameters can now be read from the command line with > > > > parameters.read(argc, argv); > > > > Should it be parameters.parse(argc, argv)? > > > > This also makes DOLFIN depend on Program Options from Boost. > > For Debian/Ubuntu, the following package is required: > > > > libboost-program-options-dev > > > > The following must also be added when linking: > > > > -lboost_program_options > > > > Could someone add this to the build system? > > Yes, I can do that. > > Johannes
Thanks. -- Anders
signature.asc
Description: Digital signature
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
