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

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

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


Revision 1.5 - (show annotations) (download)
Tue Oct 24 15:55:21 2006 UTC (17 years, 5 months ago) by baylor
Branch: MAIN
CVS Tags: mitgcm_mapl_00, checkpoint58u_post, checkpoint60, checkpoint61, checkpoint62, checkpoint58r_post, checkpoint58x_post, checkpoint61l, checkpoint58w_post, checkpoint59q, checkpoint59p, checkpoint59r, checkpoint59e, checkpoint59d, checkpoint59g, checkpoint59f, checkpoint59a, checkpoint59c, checkpoint59b, checkpoint59m, checkpoint59l, checkpoint59o, checkpoint59n, checkpoint59i, checkpoint59h, checkpoint59k, checkpoint59j, checkpoint59, checkpoint62c, checkpoint62b, checkpoint62a, checkpoint58y_post, checkpoint58v_post, checkpoint58s_post, checkpoint61f, checkpoint61g, checkpoint61d, checkpoint61e, checkpoint61b, checkpoint61c, checkpoint61a, checkpoint61n, checkpoint61o, checkpoint58t_post, checkpoint61m, checkpoint61j, checkpoint61k, checkpoint61h, checkpoint61i, checkpoint61v, checkpoint61w, checkpoint61t, checkpoint61u, checkpoint61r, checkpoint61s, checkpoint61p, checkpoint61q, checkpoint61z, checkpoint61x, checkpoint61y
Changes since 1.4: +17 -11 lines
New GFDL optfile.  Thanks to Constantinos!

This should now work with modules, and continue to do so as new compilers and mpt libraries come along.  Before compilation and exectution (including qsub scripts!) you will need to load the ifort and mpt modules.

1 #!/bin/bash
2 #
3 # Ed Hill
4 #
5 # tested on orion.jpl.nasa.gov (Linux orion 2.4.21-sgi230r7 #1 SMP Tue Oct 7 22:38:53 PDT 2003 ia64 unknown), 20031029
6 #
7 # adapted to GFDL's Itanium cluster
8 # heimbach@mit.edu and baylor@mit.edu
9 #
10 # Will need to do module_load ifort.9.1.039 mpt-1.14 first
11
12 CPP='/lib/cpp -traditional -P'
13
14 # the '-convert big_endian' is crucial on this platform
15 # -D_BYTESWAPIO doesn't work
16 FFLAGS='-mp -132 -r8 -i4 -w95 -W0 -WB -convert big_endian'
17
18 FOPTIM='-O3 -align -ip'
19 NOOPTFILES='ini_curvilinear_grid.F'
20 NOOPTFLAGS='-O3'
21
22 #P3 FOPTIM = ( $FOPTIM '-tpp6 -xWKM' )
23 #P4 FOPTIM = ( $FOPTIM '-tpp7 -xWKM' )
24 LIBS='-lmpi -lnetcdf'
25
26 FC=ifort
27 # Using gcc instead of icc since this is how netcdf was compiled
28 #CC=icc
29 DEFINES='-DALLOW_USE_MPI -DALWAYS_USE_MPI -DWORDLENGTH=4'
30
31 #SKIP_NETCDF_CHECK=t
32 #HAVE_NETCDF=t
33
34 # These paths will likely change to newer versions of ifort
35 INCLUDES="-I/usr/local/include -I$CPATH"
36 INCLUDEDIRS="/usr/local/include $CPATH"
37 #LIBDIRS='/usr/local/lib'
38 #MPIINCLUDEDIR='/opt/mpt/1.14/include'
39 #MPI_HEADER_FILES='mpif.h mpiof.h mpif_parameters.h'
40 #MPI_HEADER_FILES_INC='./mpi_headers/mpif.h ./mpi_headers/mpiof.h ./mpi_headers/mpif_parameters.h'

  ViewVC Help
Powered by ViewVC 1.1.22