- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
Is there a limit on the number of interfaces that can be brought in via use statements in ifort?
We've got a piece of code that won't compile with ifort 16.0.1.150 because it runs into this error:
/home/552/pxe552/lsdalton/src/lsutil/matop_dense.F90(86): error #6618: The INTERFACE/CONTAINS stack is full. This means that modules are being 'used' in a circular way.
I had a look at the used modules and it doesn't appear that there's any circular dependencies. To rule it out, we tried a clean build, so no .o and .mod files, but it still fails with the same problem. By commenting out a use statement for a module with a lot of generic interfaces (since it's not needed there), we can get one file to build, but then it fails in a later file with the same problem - and this time that large used module is needed.
Cheers,
Ben
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Not really - I have seen that error occur due to a compiler bug, but not for several years. Are you able to tar-up a test case we can look at?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks Steve, I'll send a tarball to you in a message - the code isn't completely open-sourced yet.

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page