1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort+oad+mpi,v 1.5 2012/08/30 20:13:50 jmc Exp $ |
4 |
# $Name: $ |
5 |
|
6 |
# These are the build options used with the Intel compiler together with OpenAD and MPI |
7 |
|
8 |
CC='mpicc' |
9 |
FC='mpif77' |
10 |
F90C='mpif90' |
11 |
LINK='mpif90' |
12 |
|
13 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
14 |
CPP='cpp -traditional -P' |
15 |
F90FIXEDFORMAT='-fixed -Tf' |
16 |
|
17 |
NOOPTFLAGS='-O0' |
18 |
NOOPTFILES='mds_byteswapr8.F mds_byteswapr4.F mds_byteswapi4.F' |
19 |
|
20 |
FFLAGS="$FFLAGS -132 -w95 -W0 -WB -convert big_endian -assume byterecl" |
21 |
if test "x$IEEE" = x ; then |
22 |
FOPTIM='-O3 -align' |
23 |
else |
24 |
FOPTIM='-O0 -g -noalign' |
25 |
FFLAGS="$FFLAGS -xW -pc64" |
26 |
fi |
27 |
|
28 |
NOOPTFILES=$NOOPTFILES' mitcplr_char2real.F mitcplr_real2char.F' |
29 |
NOOPTFILES=$NOOPTFILES' mitcplr_char2int.F mitcplr_int2char.F mds_byteswap.F' |
30 |
|
31 |
F90FLAGS=$FFLAGS |
32 |
F90OPTIM=$FOPTIM |
33 |
|
34 |
INCLUDES='-I${MPIROOT}/include' |
35 |
LIBS='' |