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

Intermitent Errors Occurring When Building under Visual Studio - Reference Number : DPD200141726

Les_Neilson
Valued Contributor II
568 Views

"Problem Description : Intermitent Errors were observed when building multi-project solutions under Visual Studio* on multi-core systems. Examples of errors reported:

catastrophic error: Unable to read 'filename'
error #5102: Cannot open include file 'filename'
Microsoft Visual Studio has encountered a problem and needs to close"

I don't recall ever seeing the first error, we occasionally got the second error but regularly (ie every time) get the third error.

We have a dedicated machine for rebuilding the code overnight via a series of batch files, and everymorning we find that the build has stopped part way through with a dialog asking if we wish to restart VS and if we want to send a report to Microsoft. We click "don't restart" and "don't send". This occurs for a few more solutions and then the build runs to completion.
This is with 11.1.054 (on Windows XP) so we were hopeful of DPD200141726 resolving this issue.

I installed 11.1.060 (alongside 11.1.054) on the build machineand ran the batch files using this version of the compiler andit has stopped at the end of buildingtwo projects (a big improvement on the 5 or more in 11.1.054)
It is always at the end of the build fora solution andit hasactually built successfully ie the libs or exes are usable.

My own pc is running Vista Ultimate, and the same batch process (which I run regularly i.e.almost daily as I'm building a 64 bit version of our software) has never stopped in this way under 11.1.054 or 060

Les

0 Kudos
4 Replies
Steven_L_Intel1
Employee
568 Views
The fix for DPD200141726 was really for the first two issues only, as far as I know. I don't see anything in the issue related to VS getting an error itself. Are you building multiple projects in parallel? Which VS version are you using?
0 Kudos
Les_Neilson
Valued Contributor II
568 Views
Steve,
The setting is a maximum of 2 parallel builds. I could change it to one since it is (usually) an overnight build.

VS 2008 (9.0.30729.1)
OSWindows XP Professional SP 3
Hardware Intel Core 2 Duo E6850 @ 3.00GHz with 3.25 GB RAM and 2GB paging space.

Les
0 Kudos
Steven_L_Intel1
Employee
568 Views
Try a single build stream and see what happens.
0 Kudos
Les_Neilson
Valued Contributor II
568 Views
I changed the maximum number of parallel builds to one but it made no difference. The batch process stoppedat three separate projects.
Not to worry it's more of a nuisance than a problem.

Les
0 Kudos
Reply