I try to compile the ngspice SPICE program with the Intel compiler on
Windows 7 64bit, using Visual Studio 2013 Community. The machine has
32GB RAM. NGSPICE is a program with over 2500 files (2400 .obj in
the final result).
It is not possible to turn on /Qipo as it results in lots of [~44]
object files that can't be found (the compiler seems to be doing some
4 passes before giving up). With /Qip the code is some 20% slower
than with the old Microsoft compiler, which makes using the Intel
compiler somewhat pointless :-)
Id don't see a pattern in the files that can't be found, although
sometimes they come from the same director(y)(ies).
I have seen one occasion where the compiler complained it could not
write a file.
As /Qipo does not work, the advisor and instrumentation tools also fail.
I have not checked carefully, but I think the profiler never works, even
when /Qipo is set to /Qip.
It is certainly possible that I am doing something wrong. Is there a
limit on the number of files that can be processed, or on the number
of files that can be passed to the linker?
-marcel
--------------- error message -------------
...
1>C:\ngspice-ngspice\src\frontend\com_let.c(15) (col. 1): : error : 04010002_1670
1>
1>xilink: : error #10014: problem during multi-file optimization compilation (code 4)
1>xilink: : error #10014: problem during multi-file optimization compilation (code 4)