1 |
#!/bin/bash |
2 |
# |
3 |
# $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia32_ifort+oad,v 1.7 2010/03/21 18:01:13 jmc Exp $ |
4 |
# $Name: $ |
5 |
|
6 |
# Build options for the intel compiler with OpenAD |
7 |
|
8 |
FC=ifort |
9 |
F90C=ifort |
10 |
F90FIXEDFORMAT='-fixed -Tf' |
11 |
DEFINES='-DWORDLENGTH=4' |
12 |
LINK='ifort -static' |
13 |
CPP='cpp -traditional -P' |
14 |
INCLUDES='' |
15 |
LIBS='' |
16 |
|
17 |
if test "x$IEEE" = x ; then |
18 |
FOPTIM='-O3 -align' |
19 |
FFLAGS='-132 -r8 -i4 -W0 -WB -convert big_endian -assume byterecl' |
20 |
else |
21 |
FOPTIM='-O0 -g -noalign -fp-model source' |
22 |
FFLAGS='-132 -r8 -i4 -W0 -WB -pc64 -convert big_endian -assume byterecl' |
23 |
fi |
24 |
|
25 |
F90OPTIM=$FOPTIM |
26 |
F90FLAGS=$FFLAGS |