config-options
Barry Smith
bsmith at mcs.anl.gov
Mon Feb 16 17:10:25 CST 2009
On Feb 16, 2009, at 4:50 PM, Satish Balay wrote:
> On Mon, 16 Feb 2009, Andreas Grassl wrote:
>
>>>>>
>>>>> When you run configure with any set of options - and the run is
>>>>> successful - you get a $PETSC_ARCH/conf/reconfigure-$PETSC_ARCH.py
>>>>> file - with all these options listed in it.
>>>> Ok, I start from a script like this and wanted to have the
>>>> default options,
>>>> which were not set explicitly to appear in a script as well.
>>>
>>> Why?
>>
>> To have an overview of the settings and to get the full control
>> over the
>> default-options, but maybe I'm thinking too paranoid and I don't
>> have to change
>> any default-options.
>
> I think you are trying to fix a problem that doesn't exit [or
> insignificant]. Anyway your model will not achieve what you want.
>
> PETSc configure behaves differently based on some options.
>
> For eg: if '--with-cc' is specified - it uses it. But if not specified
> - it guesses it [and tries a bunch of things].
>
> So there is no way to dump a default 'value' for such things for
> reuse. [The default in this case - is the absence of this option on
> the configure command line]
Well actually, we could have it put in the result that it did find
after all the evaluations.
Yikes, I am not saying we will but that would be the reasonable thing
to do.
Barry
>
>
> Satish
>
More information about the petsc-users
mailing list