I\'m working in C with openMP using gcc on a linux machine. In an openmp parallel for loop, I can declare a statically allocated array as private. Consider the code fragme
You told OpenMP that the pointera is private, i.e. replicated in each thread. Your array is just some arbitrary data a points to, and OpenMP will not replicate it (perhaps because this would make it necessary to allocate and deallocate the replicated arrays).