1 |
#!/bin/bash |
2 |
# |
3 |
# Build options for the intel compiler with OpenAD |
4 |
|
5 |
FC=ifort |
6 |
F90C=ifort |
7 |
F90FIXEDFORMAT='-fixed -Tf' |
8 |
DEFINES='-DWORDLENGTH=4' |
9 |
LINK='ifort -static' |
10 |
CPP='cpp -traditional -P' |
11 |
INCLUDES='' |
12 |
LIBS='' |
13 |
|
14 |
# Note that the -mp switch is for ieee "maintain precision" and is |
15 |
# roughly equivalent to -ieee |
16 |
if test "x$IEEE" = x ; then |
17 |
FOPTIM='-O0 -g' |
18 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl' |
19 |
else |
20 |
FOPTIM='-O0 -noalign' |
21 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl' |
22 |
fi |
23 |
|
24 |
F90OPTIM=$FOPTIM |
25 |
F90FLAGS=$FFLAGS |