'Common' Statement question??

'Common' Statement question??

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.

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


Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today