Quantcast
Viewing all articles
Browse latest Browse all 3270

ifort 16.0.2: no more targeting to elemental functions; Was it a feature, not a bug?

Hi,

Until lately I was using function pointers to alias different elemental procedures sharing the same abstract interface. Obviously that's forbidden according to the standard but allowed until the last version of the ifort compiler. Ifort 16.0.2 now prints the error:

error #6128: Non-intrinsic ELEMENTAL procedure is not allowed as a pointer procedure target.

First, where is the sense in this restriction and second, what else can I do to alias dynamically elemental functions?

Thanks for help!


Viewing all articles
Browse latest Browse all 3270

Trending Articles



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