I use ICC to compile a program that I wrote for my research (nothing impressive just for floating point computing), and I can compile it with:
g++ -O3 mixingModel.cpp configFile.cpp -o mixingModel
or
icc -O3 -ipo -static mixingModel.cpp configFile.cpp -o mixingModel
However, as soon as I add -static, the compiler just freezes. This problem first crept up when I wanted to use -fast, and the compiler just sat there, compiling forever. The process that is running is called mcpcom, and it takes 99% of my processor (so its one thread) and almost no memory. I let him sit there for more than 30 minutes (the usual compilation time without -fast is one minute).
Then I continued to work and wrote a small welcome world program in C ++ and tried to compile it with the -fast flag and it again showed the same MO. Sat using 99% of the processor, and the process is called mcpcom.
Note. I am compiling on 64-bit Linux with ICC version 11.1 20100806
Thank,
Patrick
source
share