Ask Your Question
2

can i compile sage with the Intel's compilers?

asked 2010-09-02 01:19:01 +0100

ngativ gravatar image

updated 2011-04-28 17:21:59 +0100

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-04 12:20:10 +0100

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 12:01:25 +0100 )edit
1

answered 2010-09-02 06:46:16 +0100

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 11:12:07 +0100 )edit
1

answered 2010-09-02 19:26:34 +0100

Mitesh Patel gravatar image

updated 2010-09-03 22:45:49 +0100

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

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-02 01:19:01 +0100

Seen: 641 times

Last updated: Sep 04 '10