1 |
#!/bin/bash |
2 |
# build options files for trane without MPI |
3 |
# uname -a |
4 |
# 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 |
5 |
# |
6 |
|
7 |
FC='pgf95' |
8 |
CC='pgcc' |
9 |
LINK='pgf90' |
10 |
|
11 |
DEFINES='-DWORDLENGTH=4 -DNML_TERMINATOR' |
12 |
|
13 |
NETCDF_INCDIR="/common/usr/local/include" |
14 |
INCLUDES="$INCLUDES -I$NETCDF_INCDIR" |
15 |
LIBS="-L/common/usr/local/lib" |
16 |
|
17 |
CPP='/usr/bin/cpp -traditional -P' |
18 |
CFLAGS='-fast -Mipa=fast,inline,safe' |
19 |
|
20 |
if test "x$IEEE" = x ; then |
21 |
# No need for IEEE-754 |
22 |
FFLAGS='-byteswapio -Mextend' |
23 |
FOPTIM='-fast -Mipa=fast,inline,safe' |
24 |
else |
25 |
# Try to follow IEEE-754 |
26 |
FFLAGS='-byteswapio -Mnodclchk -Mextend -Ktrap=fp -Kieee' |
27 |
FOPTIM= |
28 |
fi |
29 |
# make clean removes also these files |
30 |
RMFILES='*.oo' |