COPYIN with allocatable arrays

Discussion of the OpenMP 3.1 draft specifications closed May 1, 2011. (Read only)

COPYIN with allocatable arrays

Postby jakub » Tue Apr 19, 2011 9:19 am

For COPYIN, the requirement that allocatable is allocated has been dropped, but it is unclear what should be performed in that case. If the threadprivate allocatable in the master thread is not currently allocated, does it mean that no restrictions on if the threadprivate is or is not allocated before in other threads? What should COPYIN do in that case? I think Fortran 90/95 doesn't allow intrinsic assignment if it is not currently allocated.

I assume resolution of
http://www.openmp.org/forum/viewtopic.p ... rt=10#p292
is waiting for OpenMP 4.0 if it takes Fortran 2003/2008 into account, right?
jakub
 
Posts: 74
Joined: Fri Oct 26, 2007 3:19 am

Re: COPYIN with allocatable arrays

Postby ejd » Wed Apr 20, 2011 9:34 am

Jakub -

Thank you for your comment. You have found a problem where the draft doesn't correctly state what the action should be. I have forwarded it to the language committee and it will be addressed shortly.
ejd
 
Posts: 1025
Joined: Wed Jan 16, 2008 7:21 am


Return to Draft 3.1 Public Comment

Who is online

Users browsing this forum: No registered users and 2 guests