CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > SU2

How to configure the CXXFLAGS AND LDFLAGS in SU2?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   March 8, 2017, 03:30
Default How to configure the CXXFLAGS AND LDFLAGS in SU2?
  #1
New Member
 
Li Ji
Join Date: Sep 2014
Posts: 24
Rep Power: 5
leejearl is on a distinguished road
Hi, all:
I found that the default option of CXXFLAGS is "-g -O2", and the default option of LDFLAGS is none. In my viewpoint, the option "-g" might reduce the efficiency of the programs. Is there any example of options which can
improve the computational efficiency of SU2?

Thanks.
leejearl is offline   Reply With Quote

Old   March 8, 2017, 06:06
Default
  #2
Super Moderator
 
Tim Albring
Join Date: Sep 2015
Posts: 115
Rep Power: 4
talbring is on a distinguished road
You can change the compiler flags using

export CXXFLAGS="-O3"

before you run the configure script.
talbring is offline   Reply With Quote

Old   March 12, 2017, 01:57
Default
  #3
New Member
 
Li Ji
Join Date: Sep 2014
Posts: 24
Rep Power: 5
leejearl is on a distinguished road
Quote:
Originally Posted by talbring View Post
You can change the compiler flags using

export CXXFLAGS="-O3"

before you run the configure script.
I build SU2 following your advice, but it hardly improve the efficiency of SU2.
leejearl is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 16:24.