Changeset 644 for inundation/ga


Ignore:
Timestamp:
Nov 30, 2004, 3:36:28 PM (20 years ago)
Author:
ole
Message:

Fixed bug with compiler optimisation flag. Now it is O3 and speed of run_profile increased from 0.180s to 0.140s

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inundation/ga/storm_surge/pyvolution/compile.py

    r507 r644  
    1010   Ole Nielsen, Oct 2001     
    1111"""     
    12 
    13 #Hello from GA - more from GA's linux box
    14 
    1512
    1613 
     
    122119      compiler = CC
    123120    else: 
    124       compiler = 'gcc -O3'
     121      compiler = 'gcc'
    125122    if LD:
    126123      loader = LD
     
    198195    #
    199196   
    200     s = "%s -c %s -I%s -o %s.o -Wall -O" %(compiler, FN, include, root)
     197    s = "%s -c %s -I%s -o %s.o -Wall -O3" %(compiler, FN, include, root)
    201198    if verbose:
    202199      print s
Note: See TracChangeset for help on using the changeset viewer.