for the copyin clause:
An array with the ALLOCATABLE attribute must be in the allocated state.
Each thread's copy of that array must be allocated with the same bounds.
This seems to imply that it's the programmers responsibility to allocate the
memory for each thread's copy of an allocatable array, whereas lines p. 101,
lines 22-24, state:
On entry to any parallel region, each thread’s copy of a variable that is
affected by a copyin clause for the parallel region will acquire the
allocation, association, and definition status of the master thread’s copy...
which seems to imply that the OpenMP implementation is responsible.
Could I have clarification regarding this? Thanks.