1 |
#!/bin/bash |
#!/bin/bash |
2 |
# |
# |
3 |
# $Header$ |
# $Header$ |
4 |
# |
# $Name$ |
5 |
# These are the build options used with the Intel compiler together with OpenAD and MPI |
|
6 |
|
# These are the build options used with the Intel compiler together with OpenAD and MPI |
7 |
|
|
8 |
|
|
9 |
FC='mpif77' |
FC='mpif77' |
14 |
INCLUDES='-I${MPIROOT}/include' |
INCLUDES='-I${MPIROOT}/include' |
15 |
LIBS='' |
LIBS='' |
16 |
|
|
17 |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4' |
DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4 -DALLOW_AUTODIFF_OPENAD' |
18 |
CPP='cpp -traditional -P' |
CPP='cpp -traditional -P' |
19 |
|
|
20 |
NOOPTFLAGS='-O0' |
NOOPTFLAGS='-O0' |
23 |
# Note that the -mp switch is for ieee "maintain precision" and is |
# Note that the -mp switch is for ieee "maintain precision" and is |
24 |
# roughly equivalent to -ieee |
# roughly equivalent to -ieee |
25 |
if test "x$IEEE" = x ; then |
if test "x$IEEE" = x ; then |
26 |
FOPTIM='-O0 -align' |
FOPTIM='-O0 -g -align' |
27 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -assume byterecl -convert big_endian' |
FFLAGS='-132 -w95 -W0 -WB -assume byterecl -convert big_endian' |
28 |
else |
else |
29 |
FOPTIM='-O0 -noalign' |
FOPTIM='-O0 -noalign' |
30 |
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -pc64 -xW -assume byterecl -convert big_endian' |
FFLAGS='-132 -w95 -W0 -WB -pc64 -xW -assume byterecl -convert big_endian' |
31 |
fi |
fi |
32 |
|
|
33 |
F90FLAGS=$FFLAGS |
F90FLAGS=$FFLAGS |