/[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.19 - (show annotations) (download)
Fri Oct 9 15:08:08 2009 UTC (14 years, 6 months ago) by dfer
Branch: MAIN
CVS Tags: checkpoint62, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint61w, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.18: +3 -3 lines
Move to -mp (fixes the restart of cube-sphere and EVP).

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

  ViewVC Help
Powered by ViewVC 1.1.22