Singular
https://www.singular.uni-kl.de/forum/

Compiling Singular for best performance
https://www.singular.uni-kl.de/forum/viewtopic.php?f=10&t=2111
Page 1 of 1

Author:  yashodhan.karandikar [ Fri Jun 22, 2012 6:01 am ]
Post subject:  Compiling Singular for best performance

While compiling Singular 3-1-3 on Linux, I observed the use of "-g" flag in the output of "make" command. Is this the default flag ? Which options during configure should be used for getting best runtime performance of Singular ?

Author:  hannes [ Fri Jun 22, 2012 3:09 pm ]
Post subject:  Re: Compiling Singular for best performance

If your version of gcc supports -march, you may use this.
Also -O3 instead of -O2 may help (but does it not work with gcc 4.6).
For example (assume that your shell is bash):
Code:
export CC="gcc -march=native"
export CXX="g++ -march=native"
export CFLAGS="-O3  -fomit-frame-pointer"
export CXXFLAGS="-O3  -fomit-frame-pointer"
./configure

Page 1 of 1 All times are UTC + 1 hour [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/