I have a maya plugin which uses cgal and ublas. I compiled it with Intel C++ Complier using VS2005 ide on xp. The plugin run time was 1:45 seconds, while with visual studio compilers it took only 50 seconds. I am quite disappointed, and I was wondring if I did anything wrong to cause such a performance degradation.
I compiled the app with /O3 /MD (I tried also various switches such as /Qparallel /O2 interproc...), disabled default libraries, and added:
Okay, after three very long days of digging inside your compiler, trying
every switch and technique, building all my additional libraries
(boost, cgal ....) from scratch, creating new test cases (simple one
didn't fail), I found the problem: God damn /EHa!
People, what's wrong with you?! Put it in sticky, burn all your
documentation and instead distribute one doc with a single bold line:
DON'T USE /EHa switch with intel compiler, performance degradation is insured!