question about Petsc_Real
tsjb00
tsjb00 at hotmail.com
Wed Jun 11 17:10:35 CDT 2008
Thanks for the reply!
----------------------------------------
> Date: Wed, 11 Jun 2008 16:08:17 -0500
> From: balay at mcs.anl.gov
> To: petsc-users at mcs.anl.gov
> Subject: Re: question about Petsc_Real
>
> On Wed, 11 Jun 2008, tsjb00 wrote:
>
>>
>> Have a stupid question about the precision of Petsc_Real (float, double, long double...)
>
>
>> Is it defined when installing the PETSC package? How?
>
> yes with the configure option --with-precision=double. However -
> precisions other than double are not well tested.
>
>> Once the PETSC is installed, can I still change the precision of
>> Petsc_Real for different application code? How?
>
> nope.
>
>> Do I have to recompile the PETSC package?
>
> yes you have to recompile. However you can use a different PETSC_ARCH
> for this build - so that both builds are useable. [you can switch
> between them by using the correct PETSC_ARCH value with make - when
> compiling your code]
>
> Satish
>
_________________________________________________________________
Windows Live Photo gallery 数码相机的超级伴侣,轻松管理和编辑照片,还能制作全景美图!
http://get.live.cn/product/photo.html
More information about the petsc-users
mailing list