I'm not sure if this question belongs in this forum or the Fortran Compiler forum. If I'm in the wrong place please let me know.
I am trying to compile software with ifort v12.0 with OMP. I know this software will comile using ifort v10.0 using OMP. I can compile it using ifort v12.0 without OMP. When I try to compile it with ifort v12.0 with OMP get the following error:
A variable in a THREADPRIVATE directive must not be an element of a common block or be declared in an equivalence statement
I have a vague idea what this means, but not an exact one. I am wondering why this occurs with ifort v12.0 and not previous versions. Is there stricter enforcement of an OpenMP standard or did the standard change between ifort releases?
Most importantly, is there a simple way to correct this? For example, could I compile with a flag that would ignore errors like this?
(My appologies if similar questions have been addressed previously. I searched the forum and did not find my issue anywhere so I started a new thread.)