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:
29 # and source bin64/mpivars.sh file from your Intel MPI installation
34 OMP = # -openmp -fpp -auto
37 DM_FC = mpif90 -f90=$(SFC)
38 DM_CC = mpicc -cc=$(SCC)
42 RWORDSIZE = CONFIGURE_RWORDSIZE
44 ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC
45 CFLAGS_LOCAL = -w -O3 -DLANDREAD_STUB
48 ESMF_LDFLAG = $(CPLUSPLUSLIB)
50 FCREDUCEDOPT = $(FCOPTIM)
52 FCDEBUG = # -g $(FCNOOPT) -traceback
56 BYTESWAPIO = -convert big_endian
57 FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO)
59 TRADFLAG = -traditional
67 ###########################################################