/[MITgcm]/MITgcm/tools/build_options/linux_ia64_ifort+mpi_swell
ViewVC logotype

Annotation of /MITgcm/tools/build_options/linux_ia64_ifort+mpi_swell

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Apr 5 20:52:25 2008 UTC (16 years ago) by heimbach
Branch: MAIN
I think these opt files for Harvard cluster swell are out of date;
replaced by one that works.

1 heimbach 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     # ph: use ifort compiler options -convert big_endian -assume byterecl
11    
12     FC=mpif90
13     F90C=mpif90
14     CC=mpicc
15     DEFINES='-DWORDLENGTH=4'
16     LINK='mpif90'
17     CPP='cpp -traditional -P'
18     #INCLUDES='-I/usr/include/netcdf'
19    
20     INCLUDES='-I/opt/netcdf-3.6.0-p1/include -I/usr/local/topspin/mpi/mpich'
21     LIBS='-L/opt/netcdf-3.6.0-p1/lib -L/usr/local/topspin/mpi/mpich/lib64 -lmpich_i -lpthread'
22    
23     # Note that the -mp switch is for ieee "maintain precision" and is
24     # roughly equivalent to -ieee
25     if test "x$IEEE" = x ; then
26     # lz( FOPTIM='-O3 -align' )
27     FOPTIM=
28     #P3 FOPTIM=$FOPTIM' -tpp6 -xWKM'
29     #P4 FOPTIM=$FOPTIM' -tpp7 -xWKM'
30     FFLAGS='-132 -r8 -i4 -w95 -g -convert big_endian -assume byterecl'
31     FOPTIM='-O3 -align'
32     else
33     FOPTIM='-O0 -noalign'
34     FFLAGS='-132 -r8 -i4 -w95 -W0 -WB -xN -pc64 -convert big_endian -assume byterecl'
35     #FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB'
36     fi
37    
38    
39    
40     #if test "x$IEEE" = x ; then
41     # FFLAGS='-Wimplicit -Wunused -Wuninitialized -fno-second-underscore'
42     # FOPTIM='-O3 -funroll-loops'
43     #else
44     # FFLAGS='-Wimplicit -Wunused -ffloat-store'
45     # FOPTIM='-O0 '
46     #fi
47    

  ViewVC Help
Powered by ViewVC 1.1.22