- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello!
I'm using Intel C++ Composer XE 2013 (w_ccompxe_2013.1.119) on MS Visual Studio 2012 (11.0.51106.01). I build my solution in x64 and Win32. I have a 8 core computer and allow parallel compiling (/MP).
The problem that occurs is the following: when I modify a single file (.cpp) in a project, almost all other .cpp files are recompiled. They should not since no dependencies have been modified. Only the modified file must be recompiled.
We tried the same build using the Microsoft compiler and this problem doesn't occur. It seems linked to the Intel compiler.
Any idea how to fix this bug and to avoid such a waste of time? Feel free to request more specific info.
Thanks in advance for your help!
Dominique B.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>> This is a statement from your 1st post again:
That wasn't my original post, I was running across the same problem and instead of opening another thread I just tagged along.
>> Could you try to disable /MP?
That seems to work for me; but a rebuild now takes 1h 23 min (in VS 2010 with /MP it was something like 10-15 mins, never actually measured it). That's a workaround only for when I don't change any header files...
Maximum Number of parallel project builds is indeed set to 8. I didn't test setting it to 1 since the first workaround already worked.
Is there anything else I can do/check to help fix this bug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
>> This is a statement from your 1st post again:
That wasn't my original post, I was running across the same problem and instead of opening another thread I just tagged along.
>> Could you try to disable /MP?
That seems to work for me; but a rebuild now takes 1h 23 min (in VS 2010 with /MP it was something like 10-15 mins, never actually measured it). That's a workaround only for when I don't change any header files...
Maximum Number of parallel project builds is indeed set to 8. I didn't test setting it to 1 since the first workaround already worked.
Is there anything else I can do/check to help fix this bug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using VS 2012 Professional Edition with Update 1, not using the CTP from Novermber 2012.
The Precompiled Header for .cpp files looks the same in all files I checked; I am not aware of a way to easily check *all* of them.
I don't know what that MIDL-compiler is, so I assume I am not using it.
I switched /MP back on, did a full rebuild, set max number of parallel project builds to 1, changed 1 file and hit "Build": it started recompiling tons of files again, using all 8 processors.
My project consists of a few hundred .cpp-files, no way I can change all of their #include directives.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Small update: After much Internet-research I found one possible culprit could be non-existant headers being referenced in the project. Indeed I had a few of those, once I deleted them there is no more rebuild if I have done no changes and try to run the project. But if I change 1 file it still rebuilds tons of files.
I tried to make sense out of the icl.write.1.tlog; As far as I can tell, each of the files that is unnecssarily being rebuilt is in this file with a "^" in front of the corresponding .obj-file. Also, none of the files without that "°" are being rebuilt. I have no idea what that "^" is supposed to mean or why it would show up on some files and not on others; maybe it can give you some hint as to what the underlying problem really is.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
We have fixed the rebuild-issue related to /MP, it should be in the next update (update2).
But about your finding on the none-used header files:
>> Small update: After much Internet-research I found one possible culprit could be non-existant headers being referenced in the project.
>> Indeed I had a few of those, once I deleted them there is no more rebuild if I have done no changes and try to run the project. But if I change 1 file it still rebuilds tons of files.
could you paste some code snippets? which .cpp files contain such header? is it the file that used to generate the pre-compiled header? wouldn't it cause "... file could not be found" compiler-error?
This would be another different issue.
thanks,
Jennifer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content

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