Page 1 of 1

replacing gcc with icc

Posted: Mon Oct 11, 2004 10:00 pm
by Antares
Hi all,

after a long time passed i am now trying to compile Blender with the intel compiler under linux.

Everything is fine up to now. Blender already compiled with gcc using scons and the intel compiler is ready as well.

Now where can i specify within the scons files, that i want to use gcc for this file and icc for that file, probably alternating.

Is this possible? Or can i only compile the hole project with or without the intel compiler?

Thanx for your help

Posted: Tue Oct 12, 2004 12:48 am
by ideasman
Sconstruct

Re: replacing gcc with icc

Posted: Tue Oct 12, 2004 6:34 am
by jesterKing
Antares wrote:Now where can i specify within the scons files, that i want to use gcc for this file and icc for that file, probably alternating.

Is this possible? Or can i only compile the hole project with or without the intel compiler?
The best place to change this is after a successful run with gcc, modify config.opts which gets created upon first run. CC and CXX are the ones you need to modify - and to be on the safe side, do also the related HOST- and TARGET- options.

/Nathan

Posted: Tue Oct 12, 2004 1:07 pm
by ideasman
Id be interested in your results- benchmarking GCC against ICC-

Also, is ICC any good for AMD???

Im using large scenes where the number of objects is slowing blender down, any speed improvements would be good.

Posted: Tue Oct 12, 2004 3:08 pm
by Antares
If done properly icc should giva another 10% speedup over gcc.
There's an intel document about this issue (which i cannot find right now).

my windows builds work well on AMD, because the intel compiler is doing basic optimsation and isupported instruction based ones. AMD also got SSE so they benefit from icc as well.

i doubt i have the skills to beat gcc, but neverterless i'll try it ^^