#!/bin/bash # # Ed Hill # # tested on faulks, 20030818 # # Build options for the intel 8.0 fortran compiler # the compiler is now called ifort (not ifc) and it appears to # need -DWORDLENGTH=1 and not -DWORDLENGTH=4 (which is what ifc 6.0) used to have. FC=/home/cnh/opt/intel/fc/9.1.037/bin/ifort FC=/home/cnh/usr/local/mpich-1.2.7p1/intel_9.1.037/bin/mpif90 DEFINES='-DWORDLENGTH=4' LINK=/home/cnh/opt/intel/fc/9.1.037/bin/ifort LINK=/home/cnh/usr/local/mpich-1.2.7p1/intel_9.1.037/bin/mpif90 CPP='cpp -traditional -P' INCLUDES='-I/home/cnh/usr/local/mpich-1.2.7p1/intel_9.1.037/include' LIBS=' ' F90C='ifort -fixed -c ' # Note that the -mp switch is for ieee "maintain precision" and is # roughly equivalent to -ieee FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -convert big_endian -assume byterecl -ftrapuv -fpconstant' if test "x$IEEE" = x ; then FOPTIM='-O3 -align' else FOPTIM='-O0 -noalign -xN -pc64' fi