- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.

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