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

Contents of /MITgcm/tools/build_options/linux_ia64_cray_archer

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


Revision 1.1 - (show annotations) (download)
Mon Apr 6 20:15:59 2015 UTC (9 years, 2 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint65l
Optfile for Archer (http://www.archer.ac.uk)

1 #!/bin/bash
2 #
3 # $Header: $
4 # $Name: $
5
6 # To be used with the suite of cray compilers (PrgEnv-cray).
7 # To get netcdf, add:
8 # module load cray-hdf5-parallel/1.8.13
9 # module load cray-netcdf-hdf5parallel/4.3.2
10
11 CC='cc'
12 FC='ftn'
13 F90C='ftn'
14
15
16 #DEFINES='-DWORDLENGTH=4 -DTARGET_CRAYXT -DNML_EXTENDED_F77'
17 DEFINES='-DWORDLENGTH=4 -D_BYTESWAPIO -DHAVE_LAPACK'
18 CPP='cpp -traditional -P'
19 EXTENDED_SRC_FLAG='-Mextend'
20 GET_FC_VERSION="-V"
21 CHECK_FOR_LAPACK=t
22
23 INCLUDES='-I/opt/cray/netcdf-hdf5parallel/4.3.2/cray/83/include -I/opt/cray/mpt/7.0.3/gni/mpich2-cray/83/include'
24 LIBS='-L/opt/cray/netcdf-hdf5parallel/4.3.2/cray/83/lib -L/opt/cray/mpt/7.0.3/gni/mpich2-cray/83/lib'
25
26 NOOPTFLAGS='-O0'
27 NOOPTFILES=''
28
29 if test "x$IEEE" = x ; then #- with optimisation:
30 # FOPTIM='-O3 -hfp0 -hflex_mp=intolerant'
31 FOPTIM='-O3 -hfp2'
32 else
33 FOPTIM='-O0'
34 fi
35
36 #- For big executable, this could help:
37 #FFLAGS='-h pic -dynamic'
38 #CFLAGS='-h pic -dynamic'

  ViewVC Help
Powered by ViewVC 1.1.22