Quantcast
Channel: Intel® Fortran Compiler
Viewing all articles
Browse latest Browse all 3270

What is the minimum version that supports allocatable arrays of polymorphic types?

$
0
0

I have some code I use for analysis that makes use of allocatable arrays of polymorphic types in the following way:

One derived type contains an allocatable array of a polymorphic type cm1_base, where cm1_base is an abstract type that defines a set of interfaces for derived types to adhere to.  I allocate the specific derived type based on a parameter sent to an initialization function.  

This code works with gcc >= 4.8 and recent versions of ifort 14.x that I have tested it against.  I will soon have to run this code on machines with varying versions of ifort (12.x, 13.x) and am wondering in which version ifort first properly supported this feature. 

What is the minimum version of ifort that properly supports allocatable arrays of polymorphic types?


Viewing all articles
Browse latest Browse all 3270

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>