On 9/5/11 11:43 PM, Stefan G. Weichinger wrote: > > Anyone else using Intel's compiler, icc?
Hi Stefan, try to stick to gcc as most pacakges will compile with it. I personally use icc/ifort for some sience packages and see speedups of calculation between 2-25x depending on the *FLAGS. But this needs much optimization of the flags. Nevertheless interesting for performance critical apps. Another compiler which was recently released after a long time as closed source app into the open source world is the ekopath compiler suite (ekopath(-bin) and path64) which proofed to have the best optimization of all compilers in benchmarks. But same as icc, it might not work with some packages. And never use it with the kernel. justin > > I do for quite a while now. > Followed http://www.gentoo-wiki.info/HOWTO_ICC_and_Portage > > I still prefer gcc over icc so I use > > http://www.gentoo-wiki.info/HOWTO_ICC_and_Portage#.2Fetc.2Fportage.2Fbashrc > > to only use icc for stuff I list in /etc/portage/package.icc > > - > > Lately I get compilation-errors for packages that aren't listed in that > file, for example dev-python/numpy-1.6.1 > > It fails with log-lines telling me that icc was used to (try to) compile it: > > [..] > icc: command line warning #10156: ignoring option '-fp'; no argument > required > icc: error #10236: File not found: 'l1-cache-line-size=64' > icc: command line warning #10156: ignoring option '-fp'; no argument > required > icc: error #10236: File not found: 'l2-cache-size=4096' > error: Command "icc -pthread -shared -Wl,-O1 -Wl,--as-needed -shared -O2 > -D_FORTIFY_SOURCE=2 -march=core2 -mcx16 -msahf --param l1-cache-size=32 > --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 > -fno-strict-aliasing > build-2.7/temp.linux-x86_64-2.7/build-2.7/src.linux-x86_64-2.7/numpy/core/src/_sortmodule.o > -L/usr/lib64 -Lbuild-2.7/temp.linux-x86_64-2.7 -lnpymath -lm -lpython2.7 > -o build-2.7/lib.linux-x86_64-2.7/numpy/core/_sort.so" failed with exit > status 1 > > > # grep numpy /etc/portage/* > # > > The shell is bash: > > # echo $SHELL > /bin/bash > > hmm > > Yeah, I know, I could simply get rid of icc again. > > But maybe someone in here has an idea why this fails. > Maybe it somehow needs some small fix somewhere. > > Stefan >
signature.asc
Description: OpenPGP digital signature