Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Compiling Singular for best performance
PostPosted: Fri Jun 22, 2012 6:01 am 
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 ?


Report this post
Top
  
Reply with quote  
 Post subject: Re: Compiling Singular for best performance
PostPosted: Fri Jun 22, 2012 3:09 pm 

Joined: Wed May 25, 2005 4:16 pm
Posts: 275
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


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

It is currently Fri May 13, 2022 10:56 am
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group