Software Archive
Read-only legacy content
17061 Discussions

'Common' Statement question??

Intel_C_Intel
Employee
373 Views
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?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
373 Views
Are nni, nnj, nnk and nb all declared as PARAMETER constants? If not, you might get this error.

Steve
0 Kudos
Reply