[Numpy-discussion] f2py with allocatable arrays

Sturla Molden sturla@molden...
Tue Jul 3 18:59:26 CDT 2012


Den 03.07.2012 19:24, skrev Pearu Peterson:
>
> One can have allocatable arrays in module data block, for instance, where
> they a global

In Fortran 2003 one can also have allocatable arrays as members in 
derived types.

But neither was the case here. The allocatable was a dummy variable in a 
subroutine's interface, declared with intent(out). That is an error the 
compiler should trap, because it is doomed to segfault.

Sturla


More information about the NumPy-Discussion mailing list