OMP: Error #133: Inconsistent THREADPRIVATE common block declarations are non-conforming and are unsupported. Either all threadprivate common blocks must be declared identically, or the largest instance of each threadprivate common block must be referenced first during the run.
发生以上错误确实很麻烦,而且可参考文档基本没有。Fortran代码中的Common块数据大小可以不一样大(相同名称的Common),但是在OpenMP中确要求,要么大小一样,要么占用内存最大的先调用,变量如果是隐式声明,一定要注意,变量名称不同,可能会编译为不同长度的内存