1 |
#!/bin/bash |
#!/bin/bash |
|
|
|
|
# $Header$ |
|
2 |
# |
# |
3 |
|
# $Header$ |
4 |
|
# $Name$ |
5 |
|
|
6 |
# tested on G4-PowerBook, 1GHz |
# tested on G4-PowerBook, 1GHz |
7 |
# cc-compiler is available only with the Apple Developer Tools, |
# cc-compiler is available only with the Apple Developer Tools, |
8 |
# so make sure that those are installed |
# so make sure that those are installed |
9 |
# g77 can be optained from FINK: http://fink.sourceforge.net |
# g77 can be optained from FINK: http://fink.sourceforge.net |
10 |
# |
# |
11 |
|
|
29 |
FOPTIM='-O0' |
FOPTIM='-O0' |
30 |
fi |
fi |
31 |
#ifndef REAL4_IS_SLOW |
#ifndef REAL4_IS_SLOW |
32 |
# _RS expands into real*4 and statements such as |
# _RS expands into real*4 and statements such as |
33 |
# MAX(ABS(aV3d),myNorm) in ini_cg3d.F do not work with 'g77 -O3', |
# MAX(ABS(aV3d),myNorm) in ini_cg3d.F do not work with 'g77 -O3', |
34 |
# so we have to lower the optimization level here to -O1; |
# so we have to lower the optimization level here to -O1; |
35 |
# not clear why this is so, similar statements do work in ini_cg2d.F |
# not clear why this is so, similar statements do work in ini_cg2d.F |