Define a common block in an include file, for example
Common /test/ a b
Then wrap up the include file in a module file, for example
Basically I just define the common block in the module. I do not have issue to use the common block in the regular Fortran codes. However in OMP I define the common block as threadprivate and when I initialize the block for child threads with COPYIN directive, I got the error below.
error #7460: A common block name is required
Please let me know if I am not clear about the issue.