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

Multi-file optimization compilation

invariant-invariant
1,356 Views

Somtimes when compiling certain files with the option /ipo (or /fast), I get the error message below.

Link: error: problem during multi-file optimization compilation (code -1073741819)

What is the origin of this message, and do you have a cure?

As a workaround I did place the problematic fortran files in a separate static library which was compiled with /O3 only (not /ipo or /fast). Then I did not get the message at all and the executeable worked fine.

When compilingsome libraries with /ipo and some libraries without /ipo, do the final linking use /ipo at all, and will the "ipo-libraries" be slowed down by the "not-ipo-libraries"?

0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,356 Views
It would be helpful to us if you would submit a problem report to Intel Premier Support with a sample project that gets the error.
The sources that you compiled without ipo won't get the advantage of multifile optimization, but to be honest, this is much less helpful in Fortran than it is in C, so I wouldn't worry about it much.
0 Kudos
Reply