/[MITgcm]/MITgcm/tools/build_options/osf1_alpha_f77
ViewVC logotype

Diff of /MITgcm/tools/build_options/osf1_alpha_f77

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.7 by jmc, Sun Mar 21 22:22:53 2010 UTC revision 1.8 by jmc, Mon Sep 12 18:03:26 2011 UTC
# Line 3  Line 3 
3  # $Header$  # $Header$
4  # $Name$  # $Name$
5    
6  #  confirmed on Halem by eh3, 2003-09-03  # confirmed on Halem by eh3, 2003-09-03
7    # netcdf: Tested and works:  Wed Jul 21 11:55:34 EDT 2004
 S64='$(TOOLSDIR)/set64bitConst.sh'  
 DEFINES='-DTARGET_DEC -DWORDLENGTH=1'  
8    
9    FC='f77'
10    LINK='f77'
11    
12    FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"
13    DEFINES='-DTARGET_DEC -DWORDLENGTH=1'
14  CPP='/usr/local/bin/cpp  -traditional -P'  CPP='/usr/local/bin/cpp  -traditional -P'
15    S64='$(TOOLSDIR)/set64bitConst.sh'
16    RMFILES='*.p.out'
17    EXTENDED_SRC_FLAG='-extend_source'
18    
19  #ph: makedepend not available on some/many DEC Alpha's; use mkdep instead  #ph: makedepend not available on some/many DEC Alpha's; use mkdep instead
20  #EH3  Remove the buggy mkdep since the newly included cyrus version  #EH3  Remove the buggy mkdep since the newly included cyrus version
21  #EH3  works much better on machines such as "halem"  #EH3  works much better on machines such as "halem"
22  #EH3  MAKEDEPEND='mkdep -f depend.out'  #EH3  MAKEDEPEND='mkdep -f depend.out'
23    
24  # netcdf  NOOPTFLAGS='-O0'
25  # Tested and works:  Wed Jul 21 11:55:34 EDT 2004  NOOPTFILES='barrier.F different_multiple.F external_fields_load.F'
 FC_NAMEMANGLE="#define FC_NAMEMANGLE(X) X ## _"  
 INCLUDES="$INCLUDES -I/usr/ulocal/stow/netcdf-3.5.1/include"  
 LIBS="-L/usr/ulocal/stow/netcdf-3.5.1/lib"  
26    
27  FC='f77'  FFLAGS="$FFLAGS -convert big_endian"
28  LINK='f77'  #FFLAGS="$FFLAGS -r8"
29  FFLAGS='-fpe2 -convert big_endian -r8 -extend_source -automatic -call_shared -notransform_loops -align dcommons'  
30    FFLAGS="$FFLAGS -fpe2 -automatic -call_shared -notransform_loops -align dcommons"
31  FOPTIM='-O5 -fast -tune host -inline all'  FOPTIM='-O5 -fast -tune host -inline all'
32  #ph: -O5 probably too aggressive in conjunction with adjoint code  #ph: -O5 probably too aggressive in conjunction with adjoint code
33  NOOPTFILES='barrier.F different_multiple.F external_fields_load.F'  
34  NOOPTFLAGS='-O0'  if test "x$MPI" = xtrue ; then
35  RMFILES='*.p.out'    INCLUDES="$INCLUDES -I/usr/ulocal/stow/netcdf-3.5.1/include"
36      LIBS="-L/usr/ulocal/stow/netcdf-3.5.1/lib -lnetcdf -lfmpi -lmpi -lkmp_osfp10 -pthread"
37    else
38      INCLUDES="$INCLUDES -I/usr/ulocal/stow/netcdf-3.5.1/include"
39      LIBS="-L/usr/ulocal/stow/netcdf-3.5.1/lib"
40    fi
41    

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.22