/[MITgcm]/MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces
ViewVC logotype

Annotation of /MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces

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


Revision 1.7 - (hide annotations) (download)
Mon Jun 15 02:21:47 2009 UTC (14 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: checkpoint61r, checkpoint61q
Changes since 1.6: +9 -9 lines
add some checking option for testing (-ieee)

1 edhill 1.1 #!/bin/bash
2     #
3 jmc 1.7 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort+mpi_aces,v 1.6 2007/06/26 12:30:32 utke Exp $
4 edhill 1.1 #
5 edhill 1.4 # These are the build options used with the Intel 8.x compiler for the
6     # daily testing on ACES (which are initiated by cron jobs on the "ao"
7     # head node).
8 edhill 1.1 #
9 edhill 1.4 # Please note that the appropriate module commands:
10     #
11     # module add mpich/intel
12     #
13     # will add /usr/local/pkg/ifc/ifc-8.0.034/lib to LD_LIBRARY_PATH
14     # which is needed by any executables generated with this optfile.
15 jmc 1.7 # The PBS -V option for exporting environment variables <== does not work
16     # may also be helpful if you encounter missing-library problems.
17     # Or, alternatively, one may choose to link with one of the intel
18 edhill 1.4 # "-static" or "-i-static" flags.
19    
20 edhill 1.1
21 edhill 1.4 FC='mpif77'
22     CC='mpicc'
23 cnh 1.5 F90C='mpif90 -fixed -c '
24 edhill 1.4 LINK='mpif77'
25     INCLUDES='-I/usr/local/pkg/ifc/ifc-8.1.018/include -I/usr/local/pkg/mpich/mpich-intel/include/'
26     LIBS='-L/usr/local/pkg/ifc/ifc-8.1.018/lib'
27 edhill 1.1
28 edhill 1.4 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
29 edhill 1.1 CPP='cpp -traditional -P'
30 jmc 1.7 EXTENDED_SRC_FLAG='-132'
31 edhill 1.4
32     NOOPTFLAGS='-O0'
33     NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
34 edhill 1.1
35     # Note that the -mp switch is for ieee "maintain precision" and is
36     # roughly equivalent to -ieee
37     if test "x$IEEE" = x ; then
38     FOPTIM='-O3 -align'
39 edhill 1.4 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
40     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
41 jmc 1.7 FFLAGS='-r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian'
42 edhill 1.1 else
43 edhill 1.4 # FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS'
44 jmc 1.7 FOPTIM='-O0 -noalign -CB -CU -CV'
45     FFLAGS='-r8 -i4 -w95 -W0 -WB -pc64 -xW -assume byterecl -convert big_endian'
46     # FLAGS='-mp -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian'
47 edhill 1.1 fi
48 utke 1.6 F90FLAGS=$FFLAGS
49     F90OPTIM=$FOPTIM
50 edhill 1.1
51 edhill 1.4 NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
52     NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'

  ViewVC Help
Powered by ViewVC 1.1.22