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

INTERFACE/CONTAINS stack is full. This means that modules are beiing used in a circular way

Terry_Gerald1
Beginner
922 Views

Error3 error #6618: The INTERFACE/CONTAINS stack is full. This means that modules are being 'used' in a circular way.

For my application, the modules are NOT being used in a "circular way"

Using Intel Fortran 12.0.

Any work arounds?


0 Kudos
3 Replies
Steven_L_Intel1
Employee
922 Views
This usually indicates a compiler bug. I haven't seen this error in a while, though. Are you using Update 4? If so, please provide us with the sources necessary to reproduce the problem. Once we see what is going wrong we can probably offer a workaround until the bug is fixed.
0 Kudos
Terry_Gerald
Beginner
922 Views
Steve

I downloaded update #4 last night and attempted to compile this application.


Same error is reported: "modules are being used in a circular way"!


It would not be practical to upload the code.

It is much too large and 90% was written by people in other organizations.


When will you add the submodule feature to Intel Fortran?


0 Kudos
Steven_L_Intel1
Employee
922 Views
Can you isolsate a small set of modules needed to reproduce the problem? You can use Intel Premier Support to upload if you prefer. Without a test case, we can't find and fix the problem.

We very much want to do submodules but cannot say when it will appear in our compiler.
0 Kudos
Reply