I have long fortran code that has to be made usable from python. I decided to do Fortran->C->Python interface.
I got a problem: I have derived types within Fortran modules that contain
double precision, allocatable
type as members.
When trying to compile with ifort I get (with gfortran something similar):
Each component of a derived type with the BIND attribute shall be a nonpointer,
nonallocatable data component with interoperable type and type parameters
This is actually with agreement with Intel compiler documentation and Fortran 2003 standard: point 15.2.5.
Is there any way to access Fortran "type" with allocatable or pointer inside?