Quantcast
Channel: Intel® Software - Intel® Visual Fortran Compiler for Windows*
Viewing all articles
Browse latest Browse all 5691

DO CONCURRENT vs reallocate lhs

$
0
0

I was reading through the IVF document, under DO CONCURRENT and saw a requirement:

An allocatable object that is allocated in more than one iteration must be subsequently deallocated during the same iteration in which it was allocated.

An object that is allocated or deallocated in only one iteration must not be referenced, allocated, deallocated, defined, or become undefined in a different iteration.

When reallocate lhs is in effect, one is not necessarily in control of allocation/deallocation. What are the nuances of reallocate lhs verses DO CONCURRENT?

Jim Dempsey

Zone: 

Thread Topic: 

Question

Viewing all articles
Browse latest Browse all 5691

Trending Articles



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