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