Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.
29280 Discussions

How to make an input data to be the common data of a module?

Zhanghong_T_
Novice
473 Views
Hi all,
I am asking for the help of data interface. For the following subroutine, How to make sure its input array to be the common data in the module it used?
Thanks,
Zhanghong Tang
subroutine receivedata (A, B)
use commondata
...
end subroutine
module commondata
real*8, pointer:: A(:), B(:)
...
end module
0 Kudos
0 Replies
Reply