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

Contents of /MITgcm/tools/build_options/linux_ia64_ifort+mpi_altix_nas

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


Revision 1.22 - (show annotations) (download)
Tue Apr 27 07:26:50 2010 UTC (13 years, 11 months ago) by dimitri
Branch: MAIN
CVS Tags: checkpoint64i, checkpoint64h, checkpoint64j, checkpoint64a, checkpoint64c, checkpoint64b, checkpoint64e, checkpoint64d, checkpoint64g, checkpoint64f, checkpoint63p, checkpoint63q, checkpoint63r, checkpoint63s, checkpoint63l, checkpoint63m, checkpoint63n, checkpoint63o, checkpoint63h, checkpoint63i, checkpoint63j, checkpoint63k, checkpoint63d, checkpoint63e, checkpoint63f, checkpoint63g, checkpoint63a, checkpoint63b, checkpoint63c, checkpoint64, checkpoint63, checkpoint62g, checkpoint62f, checkpoint62k, checkpoint62j, checkpoint62i, checkpoint62h, checkpoint62o, checkpoint62n, checkpoint62m, checkpoint62l, checkpoint62s, checkpoint62r, checkpoint62q, checkpoint62p, checkpoint62w, checkpoint62v, checkpoint62u, checkpoint62t, checkpoint62z, checkpoint62y, checkpoint62x
Changes since 1.21: +3 -2 lines
reverting to "-mp" because "-fp-model precise -ftz" breaks restart

1 #!/bin/bash
2 #
3 # $Header: /u/gcmpack/MITgcm/tools/build_options/linux_ia64_ifort+mpi_altix_nas,v 1.21 2010/04/23 19:32:46 dimitri Exp $
4 # $Name: $
5
6 # tested on columbia using:
7 # module purge
8 # module load modules scsl.1.6.1.0 intel-comp.10.1.013 mpt.1.16.0.0 pd-netcdf.3.6.0-p1
9
10 FC=ifort
11
12 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
13 CPP='/lib/cpp -traditional -P'
14 EXTENDED_SRC_FLAG='-132'
15
16 LIBS='-L/opt/sgi/mpt/1.16.0.0/lib -lmpi -L/opt/pd/netcdf/3.6.0-p1/lib -lnetcdf'
17 INCLUDES='-I/opt/sgi/mpt/1.16.0.0/include -I/opt/pd/netcdf/3.6.0-p1/include'
18 INCLUDEDIRS='/opt/sgi/mpt/1.16.0.0/include'
19 MPIINCLUDEDIR='/opt/sgi/mpt/1.16.0.0/include'
20 MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
21 MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'
22 #PAPIINC='-I/usr/local/include'
23 #PAPILIB='-L/usr/local/lib -lpapi'
24
25 if test "x$IEEE" = x ; then
26 # No need for IEEE-754
27 # FFLAGS="$FFLAGS -fp-model precise -ftz -w95 -W0 -WB -convert big_endian -assume byterecl"
28 FFLAGS="$FFLAGS -mp -w95 -W0 -WB -convert big_endian -assume byterecl"
29 FOPTIM='-O3 -align'
30 NOOPTFLAGS='-O1'
31 NOOPTFILES='calc_oce_mxlayer.F fizhi_lsm.F fizhi_clockstuff.F'
32 else
33 # Try to follow IEEE-754
34 FFLAGS="$FFLAGS -w95 -W0 -WB -convert big_endian -assume byterecl"
35 FOPTIM='-O0 -noalign'
36 fi
37 #- might want to use '-r8' for fizhi pkg:
38 #FFLAGS="$FFLAGS -r8"

  ViewVC Help
Powered by ViewVC 1.1.22