merge standard release WRF/WPS V3.0.1.1 into wrffire
[wrffire.git] / wrfv2_fire / arch / configure_new.defaults
blobccb894c443b41e938570b4dc47c9b87d1a51f167
2 ###########################################################
3 #ARCH    (WF) Linux x86_64 i486 i586 i686, ifort compiler with gcc #serial smpar dmpar dm+sm
5 #        By default, some files are compiled without optimizations to speed up compilation. Removing
6 #        respective makefile rules in the end of this file will result in longer compilation time, and, possibly
7 #        Out Of Memory messages, but might produce binaries which are substantially faster.
9 #        Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm 
10 #        for latest info on how to build WRF with Intel compilers.
12 #        If you got Out Of Memory message, there are several options:
13 #          1. Check your memory limits (ulimit -a), possibly increasing swap partitions size.
14 #          2. Remove any debugging flags (-g, -check, -traceback).
15 #          3. Force the problematic file to be compiled with less optimizations (see examples at the 
16 #             end of this file), try -no-ip compiler flag.
18 #        This configuration is aimed at accuracy. To improve performance (at the expence of accuracy) you might
19 #        consider removing '-fp-model precise' flag from FCBASEOPTS. This enables non value-safe optimizations.
20 #        Another option is to add '-ftz' flag, which flushes denormal results to zero when the application is in
21 #        the gradual underflow mode. It may improve performance if the denormal values are not critical to the
22 #        behavior of your workload. To further improve performance, add suitable vectorization options for your
23 #        processor to FCOPTIM (see ifort manpage).
25 #        If you have Intel MPI installed and wish to use instead, make the
26 #        following changes to settings below:
27 #        DM_FC  = mpiifort
28 #        DM_CC  = mpiicc
29 #        and source bin64/mpivars.sh file from your Intel MPI installation
30 #        before the build.
32 DMPARALLEL      =       # 1
33 OMPCPP          =       # -D_OPENMP
34 OMP             =       # -openmp -fpp -auto
35 SFC             =       ifort
36 SCC             =       gcc
37 DM_FC           =       mpif90 -f90=$(SFC)
38 DM_CC           =       mpicc -cc=$(SCC)
39 FC              =       CONFIGURE_FC
40 CC              =       CONFIGURE_CC
41 LD              =       $(FC)
42 RWORDSIZE       =       CONFIGURE_RWORDSIZE
43 PROMOTION       =       -i4
44 ARCH_LOCAL      =       -DNONSTANDARD_SYSTEM_FUNC
45 CFLAGS_LOCAL    =       -w -O3 -DLANDREAD_STUB
46 LDFLAGS_LOCAL   =       -ip
47 CPLUSPLUSLIB    =       
48 ESMF_LDFLAG     =       $(CPLUSPLUSLIB)
49 FCOPTIM         =       -O3
50 FCREDUCEDOPT    =       $(FCOPTIM)
51 FCNOOPT         =       -O0
52 FCDEBUG         =       # -g $(FCNOOPT) -traceback
53 FORMAT_FIXED    =       -FI
54 FORMAT_FREE     =       -FR
55 FCSUFFIX        =
56 BYTESWAPIO      =       -convert big_endian
57 FCBASEOPTS      =       -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO)
58 MODULE_SRCH_FLAG =     
59 TRADFLAG        =      -traditional
60 CPP             =      /lib/cpp -C -P
61 AR              =      ar
62 ARFLAGS         =      ru
63 M4              =      m4
64 RANLIB          =      ranlib
65 CC_TOOLS        =      $(SCC)
67 ###########################################################
68 #ARCH  NULL