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

Contents of /MITgcm/tools/build_options/linux_ia32_ifort+mpi_beagle

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


Revision 1.3 - (show annotations) (download)
Tue Mar 17 16:39:00 2009 UTC (15 years, 1 month ago) by jahn
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +1 -1 lines
FILE REMOVED
now linux_amd64_ifort+mpi_beagle

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort+mpi_beagle,v 1.2 2008/07/23 19:01:28 jahn Exp $
4 #
5 # These are the build options used with the Intel 9.x compiler for
6 # testing on Beagle.
7 #
8 # Please note that the appropriate module commands:
9 #
10 # module add intel/9.1.051
11 # module add mpich-mx/1.2.7..1/intel/9.1.051
12 #
13 # will add /home/ibm/util/mpich-mx-1.2.7..1/icc/9.1.051/lib,
14 # /opt/intel/cce/9.1.051/lib and /opt/intel/fce/9.1.051/lib
15 # to LD_LIBRARY_PATH which is needed by any executables generated
16 # with this optfile.
17 # The SGE -V option for exporting environment variables may also be
18 # helpful if you encounter missing-library problems. Or,
19 # alternatively, one may choose to link with one of the intel
20 # "-static" or "-i-static" flags.
21
22
23 mpichhome=/home/ibm/util/mpich-mx-1.2.7..1/icc/9.1.051
24 #netcdfhome=/home/software/netcdf/netcdf-3.6.2/intel-9.1.051
25 netcdfhome=/home/ibm/util/netcdf-3.6.2
26
27
28 FC='mpif77'
29 CC='mpicc'
30 F90C='mpif90 -fixed -c '
31 LINK='mpif77'
32 INCLUDES="-I$mpichhome/include -I$netcdfhome/include"
33 LIBS="-L$mpichhome/lib -L$netcdfhome/lib"
34
35
36 # -DIFORT turns on ifort-specific declarations in darwin (RAND is not an intrinsic)
37 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DIFORT'
38 CPP='cpp -traditional -P'
39
40 NOOPTFLAGS='-O0'
41 NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F'
42
43 # Note that the -mp switch is for ieee "maintain precision" and is
44 # roughly equivalent to -ieee
45 if test "x$IEEE" = x ; then
46 FOPTIM='-O3 -align'
47 #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
48 #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
49 # FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian'
50 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xT -fno-alias -assume byterecl -convert big_endian'
51 # FFLAGS='-132 -O3 -xT -fPIC -ipo -fno-alias'
52 else
53 # FOPTIM='-O0 -noalign -CA -CB -CU -CV -CS'
54 FOPTIM='-O0 -noalign'
55 # FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
56 # FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -pc64 -xW -assume byterecl -convert big_endian'
57 FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -pc64 -xT -fno-alias -assume byterecl -convert big_endian'
58 # FFLAGS='-132 -O3 -xT -fPIC -ipo -fno-alias'
59 # FLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian'
60 fi
61 F90FLAGS=$FFLAGS
62 F90OPTIM=$FOPTIM
63
64 NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F'
65 NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F'

  ViewVC Help
Powered by ViewVC 1.1.22