1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/osf1_alpha_f77,v 1.6 2005/03/04 00:12:23 edhill Exp $ |
4 |
# $Name: $ |
5 |
|
6 |
# confirmed on Halem by eh3, 2003-09-03 |
7 |
|
8 |
S64='$(TOOLSDIR)/set64bitConst.sh' |
9 |
DEFINES='-DTARGET_DEC -DWORDLENGTH=1' |
10 |
|
11 |
|
12 |
CPP='/usr/local/bin/cpp -traditional -P' |
13 |
|
14 |
#ph: makedepend not available on some/many DEC Alpha's; use mkdep instead |
15 |
#EH3 Remove the buggy mkdep since the newly included cyrus version |
16 |
#EH3 works much better on machines such as "halem" |
17 |
#EH3 MAKEDEPEND='mkdep -f depend.out' |
18 |
|
19 |
# netcdf |
20 |
# Tested and works: Wed Jul 21 11:55:34 EDT 2004 |
21 |
FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _" |
22 |
INCLUDES="$INCLUDES -I/usr/ulocal/stow/netcdf-3.5.1/include" |
23 |
LIBS="-L/usr/ulocal/stow/netcdf-3.5.1/lib" |
24 |
|
25 |
FC='f77' |
26 |
LINK='f77' |
27 |
FFLAGS='-fpe2 -convert big_endian -r8 -extend_source -automatic -call_shared -notransform_loops -align dcommons' |
28 |
FOPTIM='-O5 -fast -tune host -inline all' |
29 |
#ph: -O5 probably too aggressive in conjunction with adjoint code |
30 |
NOOPTFILES='barrier.F different_multiple.F external_fields_load.F' |
31 |
NOOPTFLAGS='-O0' |
32 |
RMFILES='*.p.out' |