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

Muli-file optimization link problem

Andrew_Smith
Valued Contributor I
457 Views
I am trying out /Qipo and it gives a good 10% improvement on top of other optimizations.

My code is in many small files to improve the development process. Large files are difficult to merge in a team environment.

But I found out a catch. While waiting the 30 minutes for the link I was tempted to carry on working with the application and of course at the end of the link it failed due to the application being open. After closing the application and restarting the build to my hooror it has to go through the half hour again since it has lost whatever it tried to produce.

The target being locked happens to me a lot, so can we have a popup when the target is locked to ask us to retry or fail?
0 Kudos
1 Reply
Steven_L_Intel1
Employee
457 Views
What is happening is that the actual link, which happens at the very end of the IPO "link" process, wants to replace its output file and can't if it's open. You can see the same behavior with a non-IPO application such as a console application that waits for input. Run it and then rebuild the project while the program is still active. The link will fail.

If this is an issue for you, I suggest that you make a copy of the EXE and run the copy.
0 Kudos
Reply