1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: $ |
4 |
# $Name: $ |
5 |
|
6 |
# build options files for trane without MPI |
7 |
# uname -a |
8 |
# Darwin trane.evsc.virginia.edu 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386 |
9 |
# |
10 |
|
11 |
FC='pgf95' |
12 |
CC='pgcc' |
13 |
LINK='pgf90' |
14 |
|
15 |
DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR' |
16 |
|
17 |
NETCDF_INCDIR="/common/usr/local/include" |
18 |
INCLUDES="$INCLUDES -I$NETCDF_INCDIR" |
19 |
LIBS="-L/common/usr/local/lib" |
20 |
|
21 |
CPP='/usr/bin/cpp -traditional -P' |
22 |
CFLAGS='-fast -Mipa=fast,inline,safe' |
23 |
|
24 |
if test "x$IEEE" = x ; then |
25 |
# No need for IEEE-754 |
26 |
FFLAGS='-byteswapio -Mextend' |
27 |
FOPTIM='-fast -Mipa=fast,inline,safe' |
28 |
else |
29 |
# Try to follow IEEE-754 |
30 |
FFLAGS='-byteswapio -Mnodclchk -Mextend -Ktrap=fp -Kieee' |
31 |
FOPTIM= |
32 |
fi |
33 |
# make clean removes also these files |
34 |
RMFILES='*.oo' |