/[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.3 - (show annotations) (download)
Fri Oct 30 09:25:24 2015 UTC (8 years, 6 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint65r, checkpoint65s, checkpoint65q, checkpoint65t
Changes since 1.2: +10 -4 lines
*** empty log message ***

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia64_cray_archer,v 1.2 2015/05/04 17:58:25 dfer Exp $
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.1.1/gni/mpich2-cray/83/include'
24 LIBS='-L/opt/cray/netcdf-hdf5parallel/4.3.2/cray/83/lib -L/opt/cray/mpt/7.1.1/gni/mpich2-cray/83/lib'
25
26 NOOPTFLAGS='-O0'
27 NOOPTFILES=''
28
29 if test "x$IEEE" = x ; then #- with optimisation:
30 # FOPTIM='-O2 -hfp3 -Oipa5' for less agressive optimization
31 # Be aware not all experiments pass the restart test with optimization
32 FOPTIM='-O3 -hfp3 -Oipa5'
33 else
34 if test "x$DEVEL" = x ; then #- no optimisation + IEEE :
35 FOPTIM='-O0 -hfp0'
36 else #- development/check options:
37 FOPTIM='-O0 -hfp0'
38 FOPTIM="$FOPTIM -g -Rbc -rm -hmsgs -hnegmsgs"
39 fi
40 fi
41
42 #- For big executable, this could help:
43 #FFLAGS='-h pic -dynamic'
44 #CFLAGS='-h pic -dynamic'

  ViewVC Help
Powered by ViewVC 1.1.22