targets
Matlab is so great
updated 20 hours ago ... see more @coreyberes »
  • View
  • Track

ICCky Python

Submitted by corey on Thu, 2009-07-23 18:51

Recently, I became bored and tried installing icc, the Intel C/C++ Compiler. I heard that programs compiled with icc run much quicker than programs compiled with gcc (the GNU Compiler Collection). I tried it out on my ray tracer and, sure enough, the icc version ran 30% faster than the gcc version. Impressed, I added the necessary configuration files to have Paludis use icc.

According to the Gentoo Linux wiki, icc used to be unable to compile Python properly using the -O3 optimization level (specifically, the find function didn't work). Supposedly, I had a version in which this was no longer a problem. But find—and Portage—failed magnificently. I tried compiling Pythong using -O2 and then find worked fine.

Today, I tried running Picard and I uncovered another error. Python wouldn't import ctypes. I tried running python-updater, but that fixed nothing. I tried reinstalling ctypes and Python, but nothing changed. Then I tried compiling python with gcc and Picard worked fine.

In conclusion, compile Python with gcc.

Update: I just installed Python 2.6. I wonder how this version works with icc.

»
  • corey's blog
  • Login or register to post comments
  • Home
  • Artwork
  • Software
  • Favorites
  • About

Recent posts

  • Android ROMs
  • Android
  • Dolphin saying "HAVE FIN!"
  • Where am I?
  • Say Anything
  • Tumblr
  • Money
  • Stream bend
  • Max Bemis acknowledges local boy's existence
  • printweet 0.2
more
What is OpenID?
  • Log in using OpenID
  • Cancel OpenID login
  • Create new account
  • Request new password
© 2009-2010 Corey Beres. All rights reserved.
Powered by Drupal, an open source content management system