Ask Your Question

can i compile sage with the Intel's compilers?

asked 2010-09-01 18:19:01 -0600

ngativ gravatar image

updated 2011-04-28 10:21:59 -0600

Kelvin Li gravatar image

or at least the sage's python?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2010-09-02 12:26:34 -0600

Mitesh Patel gravatar image

updated 2010-09-03 15:45:49 -0600

I think David Kirkby has explored building Sage with the Sun Studio compiler. You can perhaps find out more by inquiring on sage-solaris or sage-devel.

edit flag offensive delete link more

answered 2010-09-01 23:46:16 -0600

William Stein gravatar image

Nobody has ever built Sage with anything but GCC, though many people have tried.

It's conceivable that maybe the C code generated by Cython in the Sage library could be built with a different C compiler. However, since you'll be linking it with a bunch of code built using GCC, you'll be asking for trouble. I can't imagine that it would "just work". It couldn't hurt too much for you to try though.

edit flag offensive delete link more


LLVM might be a good candidate (at some point).

ccanonc gravatar imageccanonc ( 2010-09-02 04:12:07 -0600 )edit

answered 2010-09-04 05:20:10 -0600

GAP, a Sage component, won't correctly build on ia64 using icc-10. Something goes wrong with the garbage collection. (OK, ia64 is weird, though)

edit flag offensive delete link more


well, doing export CC=icc;export CXX=icpc; sage -f python seems to work. at least, sage loads faster

ngativ gravatar imagengativ ( 2010-09-06 05:01:25 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2010-09-01 18:19:01 -0600

Seen: 378 times

Last updated: Sep 04 '10