ifort -i8 -r8 options

Barry Smith bsmith at mcs.anl.gov
Tue Jul 14 11:42:07 CDT 2009


On Jul 14, 2009, at 11:18 AM, Andreas Grassl wrote:

> Barry Smith schrieb:
>>
>>  Mumps and hypre do not currently support using 32 bit integer  
>> indices,
>                                                   ^^^^^^
>                                                here you mean 64?!
>
>> though the MUMPS folks say they plan to support it eventually.
>>
>>  Changing PETSc to convert all 64 bit integers to 32 bit before  
>> passing
>> to MUMPS and hypre is a huge project and we will not be doing that.
>> You need to lobby the MUMPS and hypre to properly support 64 bit
>> integers if you want to use them in that mode.
>>
>>  Unless you are solving very large problems it seems you should be  
>> able
>> to use the -r8 flag but not the -i8 flag.
>
> For my needs, this is certainly true, but I don't have the whole  
> sourcecode and
> I am not able to get a working Diana-program if I omit the -i8 flag.
>
> so you suggest casting the input data from Diana to PetscInt which  
> is defined
> 32-bit?!

    If you can do that. But it means copying any integer arrays from  
64 bit integer arrays to
32 bit integer arrays.

    Barry

>
> Cheers,
>
> ando
>
> -- 
> /"\                               Grassl Andreas
> \ /    ASCII Ribbon Campaign      Uni Innsbruck Institut f. Mathematik
>  X      against HTML email        Technikerstr. 13 Zi 709
> / \                               +43 (0)512 507 6091



More information about the petsc-users mailing list