Modules in parallel programming



Dear list members,

trying to parallelize a fortran programm for OpenMP, I wonder how to manage a huge amount of variables used in different subroutines in the parallel section. The objective is to parallelize by subdividing the data and handle them in the different threads.
Is there a possibility to define data modules within the parallel section, which are 'global' for all the routines of these section but where I got one module for every thread ?
Otherwise I have to pass huge amounts of variables from subroutine to subroutine.


Thanks for your help in advance !

Klemens
.