########################################################### #ARCH Linux i486 i586 i686, gfortran compiler with gcc #serial smpar dmpar dm+sm # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -fopenmp SFC = gfortran SCC = gcc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = # -fdefault-real-8 # uncomment manually ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -ffixed-form FORMAT_FREE = -ffree-form -ffree-line-length-none FCSUFFIX = BYTESWAPIO = -fconvert=big-endian -frecord-marker=4 FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Linux i486 i586 i686, g95 compiler with gcc #serial dmpar # DMPARALLEL = # 1 OMPCPP = # not supported OMP = # not supported SFC = g95 SCC = gcc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DF2CSTYLE -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -DF2CSTYLE LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O2 #-fast FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -ffixed-form FORMAT_FREE = -ffree-form -ffree-line-length-huge FCSUFFIX = BYTESWAPIO = -fendian=big FCBASEOPTS = -Wno=101,139,155,158 $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main TRADFLAG = -traditional CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Linux x86_64, PGI compiler with gcc # serial smpar dmpar dm+sm # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -mp -Minfo=mp SFC = pgf90 SCC = gcc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -w -O3 LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed # -Minfo=all =Mneginfo=all FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -Mfixed FORMAT_FREE = -Mfree FCSUFFIX = BYTESWAPIO = -byteswapio FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main TRADFLAG = -traditional CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Linux i486 i586 i686, PGI compiler with gcc #serial smpar dmpar dm+sm # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -mp SFC = pgf90 SCC = gcc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O2 -fast FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -Mfixed FORMAT_FREE = -Mfree FCSUFFIX = BYTESWAPIO = -byteswapio FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main TRADFLAG = -traditional CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Linux x86_64 i486 i586 i686, ifort compiler with icc #serial smpar dmpar dm+sm # # By default, some files are compiled without optimizations to speed up compilation. Removing # respective makefile rules in the end of this file will result in longer compilation time, and, possibly # Out Of Memory messages, but might produce binaries which are substantially faster. # # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm # for latest info on how to build WRF with Intel compilers. # # If you got Out Of Memory message, there are several options: # 1. Check your memory limits (ulimit -a), possibly increasing swap partitions size. # 2. Remove any debugging flags (-g, -check, -traceback). # 3. Force the problematic file to be compiled with less optimizations (see examples at the # end of this file), try -no-ip compiler flag. # # This configuration is aimed at accuracy. To improve performance (at the expence of accuracy) you might # consider removing '-fp-model precise' flag from FCBASEOPTS. This enables non value-safe optimizations. # Another option is to add '-ftz' flag, which flushes denormal results to zero when the application is in # the gradual underflow mode. It may improve performance if the denormal values are not critical to the # behavior of your workload. To further improve performance, add suitable vectorization options for your # processor to FCOPTIM (see ifort manpage). # # If you have Intel MPI installed and wish to use instead, make the # following changes to settings below: # DM_FC = mpiifort # DM_CC = mpiicc # and source bin64/mpivars.sh file from your Intel MPI installation # before the build. DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -openmp -fpp -auto SFC = ifort SCC = icc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = 8 PROMOTION = -i4 -real-size 64 ARCH_LOCAL = -DNEWPHYS -DNONSTANDARD_SYSTEM_FUNC CFLAGS_LOCAL = -w -O3 -mcmodel=large -shared-intel -ip LDFLAGS_LOCAL = -ip CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 -mcmodel=large -shared-intel FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) -traceback FORMAT_FIXED = -FI FORMAT_FREE = -FR FCSUFFIX = BYTESWAPIO = -convert big_endian FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) -mkl=parallel MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = /lib/cpp -P AR = ar ARFLAGS = ru M4 = m4 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH ia64 Linux ifort compiler with icc 9.x,10.x #serial smpar dmpar dm+sm # # By default, some files are compiled without optimizations to # speed up compilation. Removing respective makefile rules in the # end of this file will result in longer compilation time, and, # possibly Out Of Memory messages, but might produce binaries # which are substantially faster. # # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm # for latest info on how to build WRF with Intel compilers. # # If you get Out Of Memory messages, there are several options: # 1. Check your memory limits (ulimit -a), possibly increasing # swap partitions size. # 2. Remove any debugging flags (-g, -check, -traceback). # 3. Force the problematic file to be compiled with lower # optimization (see examples at the end of this file), # try the -no-ip compiler flag. # # The default configuration is aimed at accuracy. To improve speed # with only negligible effect on floating point accuracy, # consider removing "-fp-model precise" from FCBASEOPTS. If # you are using ifort 9.1.x compiler or earlier, consider # uncommenting the version of the FCBASEOPTS settings that uses # the -IPF-fp-relaxed option. # # If you can tolerate a longer build, change the setting of # FCNOOPT to -O1, for slightly faster performance. # # If you have Intel MPI installed and wish to use instead, make the # following changes to settings below: # DM_FC = mpiifort # DM_CC = mpiicc # and source bin/mpivars.sh file from your Intel MPI installation # before the build. # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -openmp -fpp -auto SFC = ifort SCC = icc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -i4 ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC CFLAGS_LOCAL = -w -O3 -ip LDFLAGS_LOCAL = -ip CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) -traceback FORMAT_FIXED = -FI FORMAT_FREE = -FR FCSUFFIX = BYTESWAPIO = -convert big_endian FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) #FCBASEOPTS = -w -ftz -align all -fno-alias -IPF-fp-relaxed $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) LIB_LOCAL = -L/usr/lib -lmpi MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Linux SGI Altix, ifort compiler with icc 9.x,10.x #serial smpar dmpar dm+sm # # By default, some files are compiled without optimizations to # speed up compilation. Removing respective makefile rules in the # end of this file will result in longer compilation time, and, # possibly Out Of Memory messages, but might produce binaries # which are substantially faster. # # If you get Out Of Memory messages, there are several options: # 1. Check your memory limits (ulimit -a), possibly increasing # swap partitions size. # 2. Remove any debugging flags (-g, -check, -traceback). # 3. Force the problematic file to be compiled with lower # optimization (see examples at the end of this file), # try the -no-ip compiler flag. # # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm # for latest info on how to build WRF with Intel compilers. # # The default configuration is aimed at accuracy. To improve speed # with only negligible effect on floating point accuracy, # consider removing "-fp-model precise" from FCBASEOPTS. If # you are using an ifort 9.1.x compiler or earlier, consider # uncommenting the version of the FCBASEOPTS settings that uses # the -IPF-fp-relaxed option. To further improve performance, # add processor-specific options to FCOPTIM (see ifort manpage). # # If you can tolerate a longer build, change the setting of # FCNOOPT to -O1, for slightly faster performance. # # If your SGI MPI library is not installed in the default # locations (/usr/bin, /usr/include, /usr/lib), set MPI_HOME # to be the path to the directory where the SGI MPI bin, # include and lib directories are, and change the DM_FC, # DM_CC and LIB_LOCAL settings as follows: # DM_FC = $(SFC) -I$(MPI_HOME)/include # DM_CC = $(SFC) -I$(MPI_HOME)/include # LIB_LOCAL = -L$(MPI_HOME)/lib -lmpi DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -openmp -fpp -auto SFC = ifort SCC = icc DM_FC = $(SFC) DM_CC = $(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -i4 ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC CFLAGS_LOCAL = -w -O3 -ip LDFLAGS_LOCAL = -ip CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) -traceback FORMAT_FIXED = -FI FORMAT_FREE = -FR FCSUFFIX = BYTESWAPIO = -convert big_endian FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) #FCBASEOPTS = -w -ftz -align all -fno-alias -IPF-fp-relaxed $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) LIB_LOCAL = -L/usr/lib -lmpi MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Linux i486 i586 i686 x86_64, PathScale compiler with pathcc #serial dmpar # DMPARALLEL = # 1 OMPCPP = # not supported OMP = # not supported SFC = pathf90 SCC = pathcc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DF2CSTYLE -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -DF2CSTYLE LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 -OPT:Ofast:Olimit=5000 FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -fixed-form FORMAT_FREE = -free-form FCSUFFIX = BYTESWAPIO = -byteswapio FCBASEOPTS = -w -fno-second-underscore $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main TRADFLAG = -traditional CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH x86_64 Linux, gfortran compiler with gcc #serial smpar dmpar dm+sm # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -fopenmp SFC = gfortran SCC = gcc DM_FC = mpif90 DM_CC = mpicc FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = # -fdefault-real-8 # uncomment manually ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -ffixed-form FORMAT_FREE = -ffree-form -ffree-line-length-none FCSUFFIX = BYTESWAPIO = -fconvert=big-endian -frecord-marker=4 FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -G RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Darwin (MACOS) PGI compiler with pgcc #serial smpar dmpar dm+sm # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -mp SFC = pgf90 SCC = pgcc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DMACOS -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -DMACOS LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O2 -fast FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -Mfixed FORMAT_FREE = -Mfree FCSUFFIX = BYTESWAPIO = -byteswapio FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main TRADFLAG = -traditional CPP = cpp -C -P -xassembler-with-cpp AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = cc ########################################################### #ARCH Darwin (MACOS) intel compiler with icc #serial smpar dmpar dm+sm # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -openmp -fpp -auto SFC = ifort SCC = icc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -i4 ARCH_LOCAL = -DMACOS -DNONSTANDARD_SYSTEM_FUNC CFLAGS_LOCAL = -w -O3 -ip -DMACOS LDFLAGS_LOCAL = -ip CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) -traceback FORMAT_FIXED = -FI FORMAT_FREE = -FR FCSUFFIX = BYTESWAPIO = -convert big_endian FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = cpp -C -P -xassembler-with-cpp AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = cc ########################################################### #ARCH Darwin (MACOS) intel compiler with cc #serial smpar dmpar dm+sm # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -openmp -fpp -auto SFC = ifort SCC = cc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -i4 ARCH_LOCAL = -DMACOS -DNONSTANDARD_SYSTEM_FUNC CFLAGS_LOCAL = -w -O3 -DMACOS LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) -traceback FORMAT_FIXED = -FI FORMAT_FREE = -FR FCSUFFIX = BYTESWAPIO = -convert big_endian FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = cpp -C -P -xassembler-with-cpp AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = cc ########################################################### #ARCH Darwin (MACOS) g95 with gcc #serial dmpar # DMPARALLEL = # 1 OMPCPP = # not supported OMP = # not supported SFC = g95 SCC = gcc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DG95 -DMACOS -DF2CSTYLE -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -DMACOS -DF2CSTYLE LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O2 # -fast FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -ffixed-form FORMAT_FREE = -ffree-form -ffree-line-length-huge FCSUFFIX = BYTESWAPIO = -fendian=big FCBASEOPTS = -Wno=101,139,155,158 $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main TRADFLAG = -traditional CPP = cpp -C -P -xassembler-with-cpp AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Darwin (MACOS) xlf #serial dmpar # DMPARALLEL = # 1 OMPCPP = # not supported OMP = # not supported SFC = xlf90_r SCC = cc DM_FC = mpif90 -f90=$(SFC) DM_CC = mpicc -cc=$(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 ARCH_LOCAL = -DMAC_KLUDGE -DF2CSTYLE -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -DMACOS -DF2CSTYLE LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 -qarch=auto FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -qnoopt FCDEBUG = # -g $(FCNOOPT) -qfullpath FORMAT_FIXED = -qfixed FORMAT_FREE = -qfree=f90 FCSUFFIX = -qsuffix=f=f90 BYTESWAPIO = FCBASEOPTS = -qsave $(FCDEBUG) -qmaxmem=32767 -qspillsize=32767 -w MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main TRADFLAG = CPP = cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH AIX xlf compiler with xlc #serial smpar dmpar dm+sm # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -qsmp=noauto SFC = xlf90_r SCC = cc_r DM_FC = mpxlf90_r DM_CC = mpcc_r FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR CFLAGS_LOCAL = -DNOUNDERSCORE LDFLAGS_LOCAL = CPLUSPLUSLIB = -lC ESMF_LDFLAG = $(CPLUSPLUSLIB) # -qhot commented out in 3.0.1.1 release because of reported problems with # model results under certain configurations. Use at your own risk. FCOPTIM = -O3 # -qhot FCREDUCEDOPT = -O2 FCNOOPT = -qnoopt FCDEBUG = # -g $(FCNOOPT) -qfullpath FORMAT_FIXED = -qfixed FORMAT_FREE = -qfree=f90 FCSUFFIX = -qsuffix=f=f90 BYTESWAPIO = FCBASEOPTS = -w -qspill=20000 -qmaxmem=32767 $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) #-qflttrap=zerodivide:invalid:enable -qsigtrap MODULE_SRCH_FLAG = TRADFLAG = CPP = /lib/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = cc ########################################################### #ARCH Cray XT Catamount/Linux x86_64, PGI compiler with gcc # serial dmpar # DMPARALLEL = # 1 OMPCPP = # not supported OMP = # not supported SFC = ftn SCC = gcc DM_FC = ftn DM_CC = gcc -I$(MPICH_DIR)/include FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DLANDREAD_STUB -DXT3_Catamount CFLAGS_LOCAL = -w -O3 -DLANDREAD_STUB -DXT3_Catamount LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) # Use this to add XT iobuf library after loading iobuf module, also requires # properly built netCDF library that includes iobuf (Catamount OS only) #LDFLAGS_LOCAL = $(IOBUF_POST_LINK_OPTS) # PGI recommended #FCOPTIM = -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed FCOPTIM = -O3 -fastsse FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -Mfixed FORMAT_FREE = -Mfree FCSUFFIX = BYTESWAPIO = -byteswapio FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = /lib/cpp -C -P $(TRADFLAG) AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Cray XT CNL/Linux x86_64, PGI compiler with gcc # serial dmpar smpar dm+sm # # Recommended CNL/Linux memory allocation settings at run time: # export MALLOC_MMAP_MAX_=0 # export MALLOC_TRIM_THRESHOLD_=536870912 # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -mp=nonuma SFC = ftn SCC = gcc DM_FC = ftn DM_CC = gcc -I$(MPICH_DIR)/include FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DLANDREAD_STUB CFLAGS_LOCAL = -w -O3 -DLANDREAD_STUB LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) # PGI recommended #FCOPTIM = -O3 -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed FCOPTIM = -O3 -fastsse FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O0 OPTERON_TYPE = # Use this for AMD Opteron quad-core #OPTERON_TYPE = -tp barcelona-64 FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -Mfixed FORMAT_FREE = -Mfree FCSUFFIX = BYTESWAPIO = -byteswapio FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) $(OPTERON_TYPE) MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = /lib/cpp -C -P $(TRADFLAG) AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Cray XT CNL/Linux x86_64, Pathscale compiler with gcc # serial dmpar smpar dm+sm # # Recommended CNL/Linux memory allocation settings at run time: # export MALLOC_MMAP_MAX_=0 # export MALLOC_TRIM_THRESHOLD_=536870912 # DMPARALLEL = # 1 OMPCPP = # -D_OPENMP OMP = # -mp SFC = ftn SCC = gcc DM_FC = ftn DM_CC = gcc -I$(MPICH_DIR)/include FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -r$(RWORDSIZE) -i4 ARCH_LOCAL = -DLANDREAD_STUB CFLAGS_LOCAL = -w -O3 -DLANDREAD_STUB LDFLAGS_LOCAL = CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O3 -OPT:Ofast FCREDUCEDOPT = $(FCOPTIM) FCNOOPT = -O1 OPTERON_TYPE = # Use this for AMD Opteron quad-core #OPTERON_TYPE = -march=barcelona -mcpu=barcelona -mtune=barcelona -msse4a FCDEBUG = # -g $(FCNOOPT) FORMAT_FIXED = -fixedform FORMAT_FREE = -freeform FCSUFFIX = BYTESWAPIO = -byteswapio FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) $(OPTERON_TYPE) MODULE_SRCH_FLAG = TRADFLAG = -traditional CPP = /lib/cpp -C -P $(TRADFLAG) AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = $(SCC) ########################################################### #ARCH Linux ppc64 BG blxlf compiler with blxlc # dmpar # DMPARALLEL = # 1 OMPCPP = # not supported OMP = # not supported BGL_SYS = /bgl/BlueLight/ppcfloor/bglsys MPI_INC = -I$(BGL_SYS)/include MPI_LIB = -L$(BGL_SYS)/lib -lmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts SFC = blrts_xlf90 SCC = blrts_xlc DM_FC = $(SFC) DM_CC = $(SCC) FC = CONFIGURE_FC CC = CONFIGURE_CC LD = $(FC) RWORDSIZE = CONFIGURE_RWORDSIZE PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 # If system has even more processors, set VERY_LARGE_MAXPROC to that number ARCH_LOCAL = -DMOVE_NL_OUTSIDE_MODULE_CONFIGURE -DNONSTANDARD_SYSTEM_SUBR -DLANDREAD_STUB -DVERY_LARGE_MAXPROC=36768 CFLAGS_LOCAL = -DNOUNDERSCORE -DNCARIBM_NOC99 $(MPI_INC) -DLANDREAD_STUB LIB_LOCAL = $(MPI_LIB) LDFLAGS_LOCAL = -Wl,--allow-multiple-definition -qstatic CPLUSPLUSLIB = ESMF_LDFLAG = $(CPLUSPLUSLIB) FCOPTIM = -O2 -qarch=440 FCNOOPT = -qnoopt FCDEBUG = # $(FCNOOPT) -qfullpath FORMAT_FIXED = -qfixed FORMAT_FREE = -qfree=f90 FCSUFFIX = -qsuffix=f=f90 BYTESWAPIO = FCBASEOPTS = -w -qspill=20000 -qmaxmem=64000 $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) $(MPI_INC) #-qflttrap=zerodivide:invalid:enable -qsigtrap MODULE_SRCH_FLAG = TRADFLAG = # this might be different on different systems but we want the xlf version of cpp, not Linux's # NYBlue CPP = /opt/ibmcmp/xlf/bg/10.1/exe/cpp -C -P # frost.ucar.edu CPP = /opt/ibmcmp/xlf/9.1/exe/cpp -C -P AR = ar ARFLAGS = ru M4 = m4 -B 14000 RANLIB = ranlib CC_TOOLS = cc ########################################################### #ARCH NULL