Is it possible to use a derived type variable with the shared attribute inside an OpenMP parallel region?
I am running a Fortran code (compiled with Intel Fortran) that has an OpenMp parallel region within which I would like to have access to data that is stored in a derived type vector (whis has allocatable fields of different types). 

Each thread will only work with one position in this vector so therefore I would like the vector to have the "shared" attribute.

When running the code I get some strange errors and therefore I wonder is it possible to use a derived type vector in this way?
Is it possible to use a derived type variable with the shared attribute inside an OpenMP parallel region?
===

I am running a Fortran code (compiled with Intel Fortran) that has an OpenMp parallel region within which I would like to have access to data that is stored in a derived type vector (whis has allocatable fields of different types). 

Each thread will only work with one position in this vector so therefore I would like the vector to have the "shared" attribute.

When running the code I get some strange errors and therefore I wonder is it possible to use a derived type vector in this way?