| 1 |
cnh |
1.1 |
#!/bin/bash |
| 2 |
|
|
# |
| 3 |
|
|
# Ed Hill |
| 4 |
|
|
# |
| 5 |
|
|
# tested on faulks, 20030818 |
| 6 |
|
|
# |
| 7 |
|
|
# Build options for the intel 8.0 fortran compiler |
| 8 |
|
|
# the compiler is now called ifort (not ifc) and it appears to |
| 9 |
|
|
# need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have. |
| 10 |
|
|
|
| 11 |
|
|
|
| 12 |
|
|
FC=/opt/intel_fc_80/bin/ifort |
| 13 |
|
|
FC=/usr/local/mpich-1.2.6/intel_80/bin/mpif90 |
| 14 |
|
|
DEFINES='-DWORDLENGTH=4' |
| 15 |
|
|
LINK='/opt/intel_fc_80/bin/ifort' |
| 16 |
|
|
LINK='/usr/local/mpich-1.2.6/intel_80/bin/mpif90' |
| 17 |
|
|
CPP='cpp -traditional -P' |
| 18 |
|
|
INCLUDES='-I/usr/local/mpich-1.2.6/intel_80/include/' |
| 19 |
|
|
LIBS=' ' |
| 20 |
|
|
F90C='ifort -fixed -c ' |
| 21 |
|
|
|
| 22 |
|
|
# Note that the -mp switch is for ieee "maintain precision" and is |
| 23 |
|
|
# roughly equivalent to -ieee |
| 24 |
|
|
FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -ftrapuv -fpconstant' |
| 25 |
|
|
if test "x$IEEE" = x ; then |
| 26 |
|
|
FOPTIM='-O3 -align' |
| 27 |
|
|
else |
| 28 |
|
|
FOPTIM='-O0 -noalign -xN -pc64' |
| 29 |
|
|
fi |
| 30 |
|
|
|