I have two simple questions.
First, are Fortran arrays used in the OpenMP REDUCTION clause considered PRIVATE or FIRSTPRIVATE? In other words, are they assumed to be initialized or uninitialized?
Secondly, is it possible to perform a reduction on only part of an array? Sometimes it is advantageous to update only a portion of an array in iterative schemes instead of the entirety of the array, i.e. instead of updating all elements of a(1:i2), only update elements a(i1:i2).
Thanks in advance