[Dart-dev] [4964] DART/trunk/mkmf/mkmf.template.intel.linux: updated for Intel 10

nancy at ucar.edu nancy at ucar.edu
Wed Jun 8 13:41:27 MDT 2011


Revision: 4964
Author:   thoar
Date:     2011-06-08 13:41:27 -0600 (Wed, 08 Jun 2011)
Log Message:
-----------
updated for Intel 10

Modified Paths:
--------------
    DART/trunk/mkmf/mkmf.template.intel.linux

-------------- next part --------------
Modified: DART/trunk/mkmf/mkmf.template.intel.linux
===================================================================
--- DART/trunk/mkmf/mkmf.template.intel.linux	2011-06-08 19:21:33 UTC (rev 4963)
+++ DART/trunk/mkmf/mkmf.template.intel.linux	2011-06-08 19:41:27 UTC (rev 4964)
@@ -1,5 +1,4 @@
-# Template for Intel 9.x Fortran Compiler on Linux clusters
-#   and workstations
+# Template for Intel Fortran Compiler on Linux clusters and workstations.
 #
 # DART software - Copyright 2004 - 2011 UCAR. This open source software is
 # provided by UCAR, "as is", without charge, subject to all terms of use at
@@ -16,16 +15,6 @@
 #
 # NETCDF and LIBS may need to be customized for your site.
 #
-#     fisher    NETCDF = /contrib/netcdf-3.6.0-p1-cc-c++-ifort9.0.031
-#     dart      NETCDF = /contrib/netcdf-3.6.0-p1-cc-c++-ifort9.0.031
-#     lightning NETCDF = /home/lightning/thoar/netcdf-3.6.0p1-gcc-g++-ifort9.1.036
-#     bangkok   NETCDF = /home/thoar/netcdf-3.5.1-cc-c++-ifort8.0.046_pe050.1
-#  ocotillo 8.0 NETCDF = /ocotillo/users/caya/netcdf
-#  ocotillo 8.1 NETCDF = /ocotillo/users/thoar/netcdf-3.6.1-cc-c++-ifort8.1
-#     coral     NETCDF = /coral/local/netcdf-3.6.0p1-icc-ifort9.0.028-64
-# CORAL note: use the 'module' commmand. It sets a NETCDF env variable that works.
-#
-#
 # If you have multiple machines to compile on and the only difference is
 # where NETCDF is installed, you can comment NETCDF out of this template
 # file and set it as an environment variable.
@@ -54,34 +43,16 @@
 #     values left of FP stack OR too much data is taken off the FP stack)
 #
 # FFLAGS   useful for benchmarking
-#     -O0      disable optimizations
-#     -pc64    set internal FPU precision to 53 bit significand
-#     -fpe0    underflows result in zero; all other exceptions abort
+#     -O0                  disable optimizations
+#     -pc64                set internal FPU precision to 53 bit significand
+#     -ftz                 'flush to zero' underflows result in zero
+#     -fp-model precise    more rigorous numerics in the face of optimization
 #
 # FFLAGS   useful for production
-#     -O2      optimize
-#     -mp      maintain precision in the face of optimization
+#     -O2        optimize without too much unrepeatable numerical games
+#     -x [WPTO]  generates specialized code to run exclusively on processors ...
+#                check   ifort --help    for a list of options/processors
 #
-# Just for reference, this template has been used with these versions
-# of the fortran compiler.
-#
-# Compiler Information (ifort -V):  [dart, fisher]
-#    Intel(R) Fortran Compiler for 32-bit applications, Version 9.0
-#    Build 20051201Z Package ID: l_fc_c_9.0.031
-#    Copyright (C) 1985-2005 Intel Corporation.  All rights reserved.
-#    FOR NON-COMMERCIAL USE ONLY
-#
-# Compiler Information (ifort -V):  [coral]
-#    Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version 9.0
-#    Build 20051020 
-#    Copyright (C) 1985-2005 Intel Corporation.  All rights reserved.
-#
-# Compiler Information (ifort -V):  [lightning]
-#    Intel(R) Fortran Compiler for Intel(R) EM64T-based applications, Version 8.1
-#    Build 20050406 Package ID: l_fce_pc_8.1.027
-#    Copyright (C) 1985-2005 Intel Corporation.  All rights reserved.
-#
-#
 # The PBL_1d model needs this flag added to whatever others are used:
 #FFLAGS = -r8 
 
@@ -96,14 +67,13 @@
 
 INCS = -I$(NETCDF)/include
 LIBS = -L$(NETCDF)/lib -lnetcdf
-FFLAGS  = -O2 -mp -fpe0 $(INCS)
+FFLAGS  = -O2 -ftz -vec-report0 $(INCS)
 LDFLAGS = $(FFLAGS) $(LIBS)
 
 # for development or debugging, use this instead:
-# FFLAGS = -C -check noarg_temp_created -fpe0 -mp -O0 -g -convert big_endian $(INCS)
-# FFLAGS = -C -check noarg_temp_created -fpe0 -vec-report0 -fp-model precise -O0 -g $(INCS)
-# FFLAGS = -fpe0 -vec-report0 -O3 -g $(INCS)
-#        -warn argument_checking,declarations,uncalled,uninitialized,unused \
-# Some optimized (BLAS, LAPACK) libraries are available with:
+# FFLAGS = -C -check noarg_temp_created -ftz -vec-report0 -fp-model precise -O0 -g \
+#        -warn argument_checking,declarations,uncalled,uninitialized,unused $(INCS)
+# FFLAGS = -ftz -vec-report0 -O3 -g $(INCS)
+# Some optimized (BLAS, LAPACK) libraries may be available with:
 # LIBS = -L$(NETCDF)/lib -lnetcdf -lmkl -lmkl_lapack -lguide -lpthread
 


More information about the Dart-dev mailing list