/[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.5 - (show annotations) (download)
Tue Sep 19 17:03:16 2017 UTC (6 years, 6 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint66o, checkpoint66n, checkpoint66m, checkpoint66l, checkpoint66k, HEAD
Changes since 1.4: +6 -5 lines
Update modules

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia64_cray_archer,v 1.4 2016/03/13 18:30:34 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.10.0.1
9 # module load cray-netcdf-hdf5parallel/4.4.1.1
10
11
12 CC='cc'
13 FC='ftn'
14 F90C='ftn'
15
16 DEFINES='-DWORDLENGTH=4 -D_BYTESWAPIO -DHAVE_LAPACK'
17 CPP='cpp -traditional -P'
18 EXTENDED_SRC_FLAG='-Mextend'
19 GET_FC_VERSION="-V"
20 CHECK_FOR_LAPACK=t
21
22 INCLUDES='-I/opt/cray/netcdf-hdf5parallel/4.4.1.1/cray/83/include -I/opt/cray/mpt/7.5.5/gni/mpich-cray/84/include'
23 LIBS='-L/opt/cray/netcdf-hdf5parallel/4.4.1.1/cray/83/lib -L/opt/cray/mpt/7.5.5/gni/mpich-cray/84/lib'
24
25 NOOPTFLAGS='-O0'
26 NOOPTFILES=''
27
28 if test "x$IEEE" = x ; then #- with optimisation:
29 # FOPTIM='-O2 -hfp3 -Oipa5' for less agressive optimization
30 # Be aware not all experiments pass the restart test with optimization
31 FOPTIM='-O3 -hfp3 -Oipa5'
32 else
33 if test "x$DEVEL" = x ; then #- no optimisation + IEEE :
34 FOPTIM='-O0 -hfp0'
35 else #- development/check options:
36 FOPTIM='-O0 -hfp0'
37 FOPTIM="$FOPTIM -g -Rbc -rm -hmsgs -hnegmsgs"
38 fi
39 fi
40
41 #- For big executable, this could help:
42 #FFLAGS='-h pic -dynamic'
43 #CFLAGS='-h pic -dynamic'

  ViewVC Help
Powered by ViewVC 1.1.22