1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: $ |
4 |
# |
5 |
# tested on ocl00.awi-bremerhaven.de |
6 |
# Linux ocl00 2.4.21-261-smp #1 SMP Wed Nov 17 22:05:59 UTC 2004 x86_64 unknown |
7 |
# pgf77 5.2-4 |
8 |
# Copyright 1989-2000, The Portland Group, Inc. All Rights Reserved. |
9 |
# Copyright 2000-2004, STMicroelectronics, Inc. All Rights Reserved. |
10 |
|
11 |
FC='pgf77' |
12 |
CC='pgcc' |
13 |
LINK='pgf77' |
14 |
CPP='/usr/bin/cpp -P -traditional' |
15 |
|
16 |
DEFINES='-DWORDLENGTH=4' |
17 |
INCLUDES='-I/var/tmp.shared/netcdf-64/include' |
18 |
LIBS='-L/var/tmp.shared/netcdf-64/lib -lnetcdf' |
19 |
|
20 |
if test "x$IEEE" = x ; then |
21 |
# No need for IEEE-754 |
22 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
23 |
FOPTIM='-tp amd64 -O2 -Munroll' |
24 |
# -Mvect=cachesize:512000,transform |
25 |
else |
26 |
# Try to follow IEEE-754 |
27 |
FFLAGS='-byteswapio -r8 -Mnodclchk -Mextend' |
28 |
FOPTIM='-tp amd64 -O0 -Munroll -Kieee' |
29 |
# -Mvect=cachesize:512000,transform |
30 |
fi |