I have a simple code which defines a set of clsses. Please have a look at the attached file. I define a polymorphic variable using an allocatable class by " class (*) , allocatable :: alc ". The code compiles but when allocating the class at runtime, the code crashes and produces unhandeled exception error.
Is this a limitation of Intel Fortran Compiler 11.1 or I am doing something wrong?? I also tried to define a polymorphic pointer and point it to "circle" or "rect" classes, but It produced the same error. Would you please help me with this issue. How can I define a polymorphic variable which may be either kinds of all "shape", "rect" or "circle" classes?
Following this problem, I am wondering if the Intel Fortran Compiler 11.1 does infact include all the standard features of Fortran 2003?
Thank you in advance