Ask Your Question
2

can i compile sage with the Intel's compilers?

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

ngativ gravatar image

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

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
1

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

Mitesh Patel gravatar image

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

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
1

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

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

Comments

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

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

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

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

Comments

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 -0500 )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

Stats

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

Seen: 292 times

Last updated: Sep 04 '10