[petsc-users] problem with -malloc=0

Matthew Knepley knepley at gmail.com
Wed Aug 17 15:10:52 CDT 2011


On Wed, Aug 17, 2011 at 10:06 PM, Dominik Szczerba <dominik at itis.ethz.ch>wrote:

> I tried that before too, also with off, the warning is still there:
>
> WARNING! There are options you set that were not used!
> WARNING! could be spelling mistake, etc!
> Option left: name:-malloc value: no
>
> This is not command line, this is in a string passed to
> PetscOptionsInsertString (but it should not matter, should it?)
>
> Any ideas?
>

It matters when you are calling this. This is examined during
initialization. If
you provide it after this, it will come up as unexamined.

   Matt


> Thanks, Dominik
>
> On Wed, Aug 17, 2011 at 8:19 PM, Barry Smith <bsmith at mcs.anl.gov> wrote:
> >
> >  -malloc no
> >
> >  The command line options in PETSc never take = in them
> >
> >   Barry
> >
> > On Aug 17, 2011, at 1:08 PM, Dominik Szczerba wrote:
> >
> >> I am using -malloc=0 (as per the pdf documentation) to see:
> >>
> >> WARNING! There are options you set that were not used!
> >> WARNING! could be spelling mistake, etc!
> >> Option left: name:-malloc=0 no value
> >>
> >> What am I doing wrong?
> >>
> >> Many thanks,
> >> Dominik
> >
> >
>



-- 
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-users/attachments/20110817/5c74f05d/attachment.htm>


More information about the petsc-users mailing list