bugFreeFEM3D - Bugs: bug #8140, default compilation flags are not...

 
 

bug #8140: default compilation flags are not good

Submitted by:  Christophe Prud'homme <prudhomm>
Submitted on:  Sun 14 Mar 2004 09:33:32 AM UTC  
 
Category: CompilationSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Stéphane Del Pino <delpinux>
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 15 Mar 2004 07:38:23 PM UTC, comment #3:

Standard compilation option is now the standard one.

Stéphane Del Pino <delpinux>
Project AdministratorIn charge of this item.
Sun 14 Mar 2004 01:37:05 PM UTC, comment #2:

You are right, but what about this strategy:
*) --enable-debug => -g
*) nothing =>-O2
*) --enable-fast => '-O2 -funroll-all-loops -fargument-noalias-global -fno-gcse'

Because these options make the code run really faster.

Stéphane Del Pino <delpinux>
Project AdministratorIn charge of this item.
Sun 14 Mar 2004 09:35:06 AM UTC, comment #1:

this is a compilation suggestion of course
but I believe it make more sense than these obscure flags
by default

Christophe Prud'homme <prudhomm>
Project Administrator
Sun 14 Mar 2004 09:33:32 AM UTC, original submission:

I am not sure that these flags should be set by default:
-O2 -funroll-all-loops -fargument-noalias-global -fno-gcse

By default it will be bve -g -O2 which is fine enough
then if you want to tweak the flags
you can always do something like:

CXXFLAGS=-funroll-all-loops -O2" configure
make

Christophe Prud'homme <prudhomm>
Project Administrator

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 4 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Mon 15 Mar 2004 07:38:23 PM UTCdelpinuxStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Sun 14 Mar 2004 01:37:05 PM UTCdelpinuxCarbon-Copy-=>Added prudhomm --AT-- mit --DOT-- edu
Sun 14 Mar 2004 09:35:06 AM UTCprudhommAssigned toNone=>delpinux

Back to the top


Powered by Savane 3.1-cleanup1