[Numpy-discussion] f2py with allocatable arrays

Sturla Molden sturla@molden...
Tue Jul 3 19:27:32 CDT 2012

Den 04.07.2012 01:59, skrev Sturla Molden:
> 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.

Ok, so the answer here seems to be:

In Fortran 90 is compiler dependent.
In Fortran 95 it is an error.
In extensions to Fortran 95 it is legal.
In Fortran 2003 and 2008 it is legal.


More information about the NumPy-Discussion mailing list