- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi all,
I am trying to compile some fortran code with -ipo using ifort 15.0.0 on Mac OS X provoking the following warning:
ifort -132 -ipo -c *.f
ifort -o foo *.o
ipo: warning #11021: unresolved flushqq
Referenced in /tmp/ipo_ifort2immSw.o
The problem does not occur when I use -ipo-c instead (although this creates a new warning that I do not understand):
ifort -132 -ipo-c -o foo *.f
ifort: warning #10015: multi-file optimization .o file produced; no link
ifort: warning #10021: add "--sort-section name" to link/lib stage
ifort -o foo foo*
The executable seems to at least run in both cases.
I found similar questions regarding ipo: warning #11021 on the forum, and it was suggested that there is a problem with the linking to a library.
But how would I go about fixing the link?
Any help would be greatly appreciated.
Thank you,
Marcus
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I thought the entry point to the portability library was FLUSH(lunit), not FLUSHQQ ? The compiler also supports a FLUSH statement, and a somewhat similar RTL routine COMMITQQ(lunit) - this latter is part of the core RTL, so USE IFCORE.
Does your code have USE IFPORT to pick up the corresponding interface? (You can then compile with -warn interfaces). Does it link if you build without -ipo, or in a single (compile and link) step using -ipo?
Finally, if this doesn't help, do you have a small test case?

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