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

Question about USE association

jond
Novice
343 Views
Is it possible in Fortran to have two modules that USE each other? A sample program is attached. When I try to compile this piece of code I get errors saying that modules supp and operations can not be opened. Is there a way around these error messages and to get this program compiled?
Thanks for any help,
John
0 Kudos
1 Reply
Steven_L_Intel1
Employee
343 Views
No. Typically you end up with a third module that has the routines that the first two reference. Or combine these into a single module since they seem to be related.
0 Kudos
Reply