'Common' Statement question??

'Common' Statement question??

Community Admin's picture

I have a subroutine that compiles and executes perfectly fine in program, but when i add it to another program i'm getting this error....
"D:wall_intercept1.for(8) : Error: A COMMON block data object must not be an automatic object. [XF] common /coord/xf(nni,nnj,nnk,nb),yf(nni,nnj,nnk,nb)"
is there something i need to change in the project settings or what?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
Steve Lionel (Intel)'s picture

Are nni, nnj, nnk and nb all declared as PARAMETER constants? If not, you might get this error.

Steve

Steve

Login to leave a comment.