[petsc-users] Problems with DMDAVecGetArrayF90 + Intel

Jed Brown jed at jedbrown.org
Tue May 15 18:03:19 CDT 2018


Satish Balay <balay at mcs.anl.gov> writes:

>> typedef struct { char dummy; } F90Array1d;
>> typedef struct { char dummy; } F90Array2d;
>> typedef struct { char dummy; } F90Array3d;
>> 
>> These are all distinct types.  
>
> I'm not sure if they need to be distinct. Perhaps they are collapsible
> into a single type. [I suspect its a design we used to keep it in sync
> with our old f90 interface code. We had both versions for a while]

If our current code does not mix them, then the types should be distinct
so that they aren't accidentally mixed.

> For now - I've updated the commit to use the above typedef.



More information about the petsc-users mailing list