I have a piece of the following code in the my fortran program.
!$OMP END PARALLEL
abc(1,1,1) = 1.0
Depending on where I put the dimension of a in the variable definition area, 'a' has undefined address values and the assignment does not occur. If I remove the OMP commands everything works.
Note: This include me putting more codein the OMP Parallel region.