1 | |
---|
2 | ########################################################### |
---|
3 | #ARCH Linux i486 i586 i686, gfortran compiler with gcc #serial smpar dmpar dm+sm |
---|
4 | # |
---|
5 | DMPARALLEL = # 1 |
---|
6 | OMPCPP = # -D_OPENMP |
---|
7 | OMP = # -fopenmp |
---|
8 | OMPCC = # -fopenmp |
---|
9 | SFC = gfortran |
---|
10 | SCC = gcc |
---|
11 | CCOMP = gcc |
---|
12 | DM_FC = mpif90 -f90=$(SFC) |
---|
13 | DM_CC = mpicc -cc=$(SCC) |
---|
14 | FC = CONFIGURE_FC |
---|
15 | CC = CONFIGURE_CC |
---|
16 | LD = $(FC) |
---|
17 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
18 | PROMOTION = # -fdefault-real-8 # uncomment manually |
---|
19 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
20 | CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB |
---|
21 | LDFLAGS_LOCAL = |
---|
22 | CPLUSPLUSLIB = |
---|
23 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
24 | FCOPTIM = -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops |
---|
25 | FCREDUCEDOPT = $(FCOPTIM) |
---|
26 | FCNOOPT = -O0 |
---|
27 | FCDEBUG = # -g $(FCNOOPT) |
---|
28 | FORMAT_FIXED = -ffixed-form |
---|
29 | FORMAT_FREE = -ffree-form -ffree-line-length-none |
---|
30 | FCSUFFIX = |
---|
31 | BYTESWAPIO = -fconvert=big-endian -frecord-marker=4 |
---|
32 | FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) |
---|
33 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
34 | MODULE_SRCH_FLAG = |
---|
35 | TRADFLAG = -traditional |
---|
36 | CPP = /lib/cpp -C -P |
---|
37 | AR = ar |
---|
38 | ARFLAGS = ru |
---|
39 | M4 = m4 -B 14000 |
---|
40 | RANLIB = ranlib |
---|
41 | CC_TOOLS = $(SCC) |
---|
42 | |
---|
43 | ########################################################### |
---|
44 | #ARCH Linux i486 i586 i686, g95 compiler with gcc #serial dmpar |
---|
45 | # |
---|
46 | DMPARALLEL = # 1 |
---|
47 | OMPCPP = # not supported |
---|
48 | OMP = # not supported |
---|
49 | OMPCC = # not supported |
---|
50 | SFC = g95 |
---|
51 | SCC = gcc |
---|
52 | CCOMP = gcc |
---|
53 | DM_FC = mpif90 -f90=$(SFC) |
---|
54 | DM_CC = mpicc -cc=$(SCC) |
---|
55 | FC = CONFIGURE_FC |
---|
56 | CC = CONFIGURE_CC |
---|
57 | LD = $(FC) |
---|
58 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
59 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
60 | ARCH_LOCAL = -DF2CSTYLE -DNONSTANDARD_SYSTEM_SUBR |
---|
61 | CFLAGS_LOCAL = -DF2CSTYLE |
---|
62 | LDFLAGS_LOCAL = |
---|
63 | CPLUSPLUSLIB = |
---|
64 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
65 | FCOPTIM = -O2 #-fast |
---|
66 | FCREDUCEDOPT = $(FCOPTIM) |
---|
67 | FCNOOPT = -O0 |
---|
68 | FCDEBUG = # -g $(FCNOOPT) |
---|
69 | FORMAT_FIXED = -ffixed-form |
---|
70 | FORMAT_FREE = -ffree-form -ffree-line-length-huge |
---|
71 | FCSUFFIX = |
---|
72 | BYTESWAPIO = -fendian=big |
---|
73 | FCBASEOPTS_NO_G = -Wno=101,139,155,158 $(FORMAT_FREE) $(BYTESWAPIO) |
---|
74 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
75 | MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main |
---|
76 | TRADFLAG = -traditional |
---|
77 | CPP = /lib/cpp -C -P |
---|
78 | AR = ar |
---|
79 | ARFLAGS = ru |
---|
80 | M4 = m4 -B 14000 |
---|
81 | RANLIB = ranlib |
---|
82 | CC_TOOLS = $(SCC) |
---|
83 | |
---|
84 | ########################################################### |
---|
85 | #ARCH Linux x86_64, PGI compiler with gcc # serial smpar dmpar dm+sm |
---|
86 | # |
---|
87 | DMPARALLEL = # 1 |
---|
88 | OMPCPP = # -D_OPENMP |
---|
89 | OMP = # -mp -Minfo=mp -Mrecursive |
---|
90 | OMPCC = # -mp |
---|
91 | SFC = pgf90 |
---|
92 | SCC = gcc |
---|
93 | CCOMP = pgcc |
---|
94 | DM_FC = mpif90 -f90=$(SFC) |
---|
95 | DM_CC = mpicc -cc=$(SCC) |
---|
96 | FC = CONFIGURE_FC |
---|
97 | CC = CONFIGURE_CC |
---|
98 | LD = $(FC) |
---|
99 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
100 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
101 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
102 | CFLAGS_LOCAL = -w -O3 |
---|
103 | LDFLAGS_LOCAL = |
---|
104 | CPLUSPLUSLIB = |
---|
105 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
106 | FCOPTIM = -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed # -Minfo=all =Mneginfo=all |
---|
107 | FCREDUCEDOPT = $(FCOPTIM) |
---|
108 | FCNOOPT = -O0 |
---|
109 | FCDEBUG = # -g $(FCNOOPT) |
---|
110 | FORMAT_FIXED = -Mfixed |
---|
111 | FORMAT_FREE = -Mfree |
---|
112 | FCSUFFIX = |
---|
113 | BYTESWAPIO = -byteswapio |
---|
114 | FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) $(OMP) |
---|
115 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
116 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
---|
117 | TRADFLAG = -traditional |
---|
118 | CPP = /lib/cpp -C -P |
---|
119 | AR = ar |
---|
120 | ARFLAGS = ru |
---|
121 | M4 = m4 -B 14000 |
---|
122 | RANLIB = ranlib |
---|
123 | CC_TOOLS = $(SCC) |
---|
124 | |
---|
125 | ########################################################### |
---|
126 | #ARCH Linux x86_64, PGI accelerator compiler with gcc # serial smpar dmpar dm+sm |
---|
127 | # |
---|
128 | DMPARALLEL = # 1 |
---|
129 | OMPCPP = # -D_OPENMP |
---|
130 | OMP = # -mp -Minfo=mp -Mrecursive |
---|
131 | OMPCC = # -mp |
---|
132 | SFC = pgf90 |
---|
133 | SCC = gcc |
---|
134 | CCOMP = pgcc |
---|
135 | DM_FC = mpif90 -f90=$(SFC) |
---|
136 | DM_CC = mpicc -cc=$(SCC) |
---|
137 | FC = CONFIGURE_FC |
---|
138 | CC = CONFIGURE_CC |
---|
139 | LD = $(FC) |
---|
140 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
141 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
142 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -D_ACCEL |
---|
143 | CFLAGS_LOCAL = -w -O3 |
---|
144 | LDFLAGS_LOCAL = |
---|
145 | CPLUSPLUSLIB = |
---|
146 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
147 | FCOPTIM = -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -ta=nvidia:fastmath,host # -Minfo=all =Mneginfo=all |
---|
148 | FCREDUCEDOPT = $(FCOPTIM) |
---|
149 | FCNOOPT = -O0 |
---|
150 | FCDEBUG = # -g $(FCNOOPT) |
---|
151 | FORMAT_FIXED = -Mfixed |
---|
152 | FORMAT_FREE = -Mfree |
---|
153 | FCSUFFIX = |
---|
154 | BYTESWAPIO = -byteswapio |
---|
155 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) $(OMP) |
---|
156 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
---|
157 | TRADFLAG = -traditional |
---|
158 | CPP = /lib/cpp -C -P |
---|
159 | AR = ar |
---|
160 | ARFLAGS = ru |
---|
161 | M4 = m4 -B 14000 |
---|
162 | RANLIB = ranlib |
---|
163 | CC_TOOLS = $(SCC) |
---|
164 | |
---|
165 | ########################################################### |
---|
166 | #ARCH Linux i486 i586 i686, PGI compiler with gcc #serial smpar dmpar dm+sm |
---|
167 | # |
---|
168 | DMPARALLEL = # 1 |
---|
169 | OMPCPP = # -D_OPENMP |
---|
170 | OMP = # -mp -Minfo=mp -Mrecursive |
---|
171 | OMPCC = # -mp |
---|
172 | SFC = pgf90 |
---|
173 | SCC = gcc |
---|
174 | CCOMP = pgcc |
---|
175 | DM_FC = mpif90 -f90=$(SFC) |
---|
176 | DM_CC = mpicc -cc=$(SCC) |
---|
177 | FC = CONFIGURE_FC |
---|
178 | CC = CONFIGURE_CC |
---|
179 | LD = $(FC) |
---|
180 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
181 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
182 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
183 | CFLAGS_LOCAL = |
---|
184 | LDFLAGS_LOCAL = |
---|
185 | CPLUSPLUSLIB = |
---|
186 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
187 | FCOPTIM = -O2 -fast |
---|
188 | FCREDUCEDOPT = $(FCOPTIM) |
---|
189 | FCNOOPT = -O0 |
---|
190 | FCDEBUG = # -g $(FCNOOPT) |
---|
191 | FORMAT_FIXED = -Mfixed |
---|
192 | FORMAT_FREE = -Mfree |
---|
193 | FCSUFFIX = |
---|
194 | BYTESWAPIO = -byteswapio |
---|
195 | FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) $(OMP) |
---|
196 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
197 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
---|
198 | TRADFLAG = -traditional |
---|
199 | CPP = /lib/cpp -C -P |
---|
200 | AR = ar |
---|
201 | ARFLAGS = ru |
---|
202 | M4 = m4 -B 14000 |
---|
203 | RANLIB = ranlib |
---|
204 | CC_TOOLS = $(SCC) |
---|
205 | |
---|
206 | ########################################################### |
---|
207 | #ARCH Linux x86_64 i486 i586 i686, ifort compiler with icc #serial smpar dmpar dm+sm |
---|
208 | # |
---|
209 | # By default, some files are compiled without optimizations to speed up compilation. Removing |
---|
210 | # respective makefile rules in the end of this file will result in longer compilation time, and, possibly |
---|
211 | # Out Of Memory messages, but might produce binaries which are substantially faster. |
---|
212 | # |
---|
213 | # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm |
---|
214 | # for latest info on how to build WRF with Intel compilers. |
---|
215 | # |
---|
216 | # If you got Out Of Memory message, there are several options: |
---|
217 | # 1. Check your memory limits (ulimit -a), possibly increasing swap partitions size. |
---|
218 | # 2. Remove any debugging flags (-g, -check, -traceback). |
---|
219 | # 3. Force the problematic file to be compiled with less optimizations (see examples at the |
---|
220 | # end of this file), try -no-ip compiler flag. |
---|
221 | # |
---|
222 | # This configuration is aimed at accuracy. To improve performance (at the expence of accuracy) you might |
---|
223 | # consider removing '-fp-model precise' flag from FCBASEOPTS. This enables non value-safe optimizations. |
---|
224 | # Another option is to add '-ftz' flag, which flushes denormal results to zero when the application is in |
---|
225 | # the gradual underflow mode. It may improve performance if the denormal values are not critical to the |
---|
226 | # behavior of your workload. To further improve performance, add suitable vectorization options for your |
---|
227 | # processor to FCOPTIM (see ifort manpage). |
---|
228 | # |
---|
229 | # If you have Intel MPI installed and wish to use instead, make the |
---|
230 | # following changes to settings below: |
---|
231 | # DM_FC = mpiifort |
---|
232 | # DM_CC = mpiicc |
---|
233 | # and source bin64/mpivars.sh file from your Intel MPI installation |
---|
234 | # before the build. |
---|
235 | |
---|
236 | DMPARALLEL = # 1 |
---|
237 | OMPCPP = # -D_OPENMP |
---|
238 | OMP = # -openmp -fpp -auto |
---|
239 | OMPCC = # -openmp -fpp -auto |
---|
240 | SFC = ifort |
---|
241 | SCC = icc |
---|
242 | CCOMP = icc |
---|
243 | DM_FC = mpif90 -f90=$(SFC) |
---|
244 | DM_CC = mpicc -cc=$(SCC) |
---|
245 | FC = CONFIGURE_FC |
---|
246 | CC = CONFIGURE_CC |
---|
247 | LD = $(FC) |
---|
248 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
249 | PROMOTION = -i4 |
---|
250 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC |
---|
251 | CFLAGS_LOCAL = -w -O3 -ip |
---|
252 | LDFLAGS_LOCAL = -ip |
---|
253 | CPLUSPLUSLIB = |
---|
254 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
255 | FCOPTIM = -O3 |
---|
256 | FCREDUCEDOPT = $(FCOPTIM) |
---|
257 | FCNOOPT = -O0 -fno-inline -fno-ip |
---|
258 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
259 | FORMAT_FIXED = -FI |
---|
260 | FORMAT_FREE = -FR |
---|
261 | FCSUFFIX = |
---|
262 | BYTESWAPIO = -convert big_endian |
---|
263 | FCBASEOPTS_NO_G = -w -ftz -align all -fno-alias -fp-model precise $(FORMAT_FREE) $(BYTESWAPIO) |
---|
264 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
265 | MODULE_SRCH_FLAG = |
---|
266 | TRADFLAG = -traditional |
---|
267 | CPP = /lib/cpp -C -P |
---|
268 | AR = ar |
---|
269 | ARFLAGS = ru |
---|
270 | M4 = m4 |
---|
271 | RANLIB = ranlib |
---|
272 | CC_TOOLS = $(SCC) |
---|
273 | |
---|
274 | ########################################################### |
---|
275 | #ARCH ia64 Linux ifort compiler with icc 9.x,10.x #serial smpar dmpar dm+sm |
---|
276 | # |
---|
277 | # By default, some files are compiled without optimizations to |
---|
278 | # speed up compilation. Removing respective makefile rules in the |
---|
279 | # end of this file will result in longer compilation time, and, |
---|
280 | # possibly Out Of Memory messages, but might produce binaries |
---|
281 | # which are substantially faster. |
---|
282 | # |
---|
283 | # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm |
---|
284 | # for latest info on how to build WRF with Intel compilers. |
---|
285 | # |
---|
286 | # If you get Out Of Memory messages, there are several options: |
---|
287 | # 1. Check your memory limits (ulimit -a), possibly increasing |
---|
288 | # swap partitions size. |
---|
289 | # 2. Remove any debugging flags (-g, -check, -traceback). |
---|
290 | # 3. Force the problematic file to be compiled with lower |
---|
291 | # optimization (see examples at the end of this file), |
---|
292 | # try the -no-ip compiler flag. |
---|
293 | # |
---|
294 | # The default configuration is aimed at accuracy. To improve speed |
---|
295 | # with only negligible effect on floating point accuracy, |
---|
296 | # consider removing "-fp-model precise" from FCBASEOPTS. If |
---|
297 | # you are using ifort 9.1.x compiler or earlier, consider |
---|
298 | # uncommenting the version of the FCBASEOPTS settings that uses |
---|
299 | # the -IPF-fp-relaxed option. |
---|
300 | # |
---|
301 | # If you can tolerate a longer build, change the setting of |
---|
302 | # FCNOOPT to -O1, for slightly faster performance. |
---|
303 | # |
---|
304 | # If you have Intel MPI installed and wish to use instead, make the |
---|
305 | # following changes to settings below: |
---|
306 | # DM_FC = mpiifort |
---|
307 | # DM_CC = mpiicc |
---|
308 | # and source bin/mpivars.sh file from your Intel MPI installation |
---|
309 | # before the build. |
---|
310 | # |
---|
311 | |
---|
312 | DMPARALLEL = # 1 |
---|
313 | OMPCPP = # -D_OPENMP |
---|
314 | OMP = # -openmp -fpp -auto |
---|
315 | OMPCC = # -openmp -fpp -auto |
---|
316 | SFC = ifort |
---|
317 | SCC = icc |
---|
318 | CCOMP = icc |
---|
319 | DM_FC = mpif90 -f90=$(SFC) |
---|
320 | DM_CC = mpicc -cc=$(SCC) |
---|
321 | FC = CONFIGURE_FC |
---|
322 | CC = CONFIGURE_CC |
---|
323 | LD = $(FC) |
---|
324 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
325 | PROMOTION = -i4 |
---|
326 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC |
---|
327 | CFLAGS_LOCAL = -w -O3 -ip |
---|
328 | LDFLAGS_LOCAL = -ip |
---|
329 | CPLUSPLUSLIB = |
---|
330 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
331 | FCOPTIM = -O3 |
---|
332 | FCREDUCEDOPT = $(FCOPTIM) |
---|
333 | FCNOOPT = -O0 -fno-inline -fno-ip |
---|
334 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
335 | FORMAT_FIXED = -FI |
---|
336 | FORMAT_FREE = -FR |
---|
337 | FCSUFFIX = |
---|
338 | BYTESWAPIO = -convert big_endian |
---|
339 | FCBASEOPTS_NO_G = -w -ftz -align all -fno-alias -fp-model precise $(FORMAT_FREE) $(BYTESWAPIO) |
---|
340 | #FCBASEOPTS_NO_G = -w -ftz -align all -fno-alias -IPF-fp-relaxed $(FORMAT_FREE) $(BYTESWAPIO) |
---|
341 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
342 | LIB_LOCAL = -L/usr/lib -lmpi |
---|
343 | MODULE_SRCH_FLAG = |
---|
344 | TRADFLAG = -traditional |
---|
345 | CPP = /lib/cpp -C -P |
---|
346 | AR = ar |
---|
347 | ARFLAGS = ru |
---|
348 | M4 = m4 |
---|
349 | RANLIB = ranlib |
---|
350 | CC_TOOLS = $(SCC) |
---|
351 | |
---|
352 | ########################################################### |
---|
353 | #ARCH Linux SGI Altix, ifort compiler with icc 9.x,10.x #serial smpar dmpar dm+sm |
---|
354 | # |
---|
355 | # By default, some files are compiled without optimizations to |
---|
356 | # speed up compilation. Removing respective makefile rules in the |
---|
357 | # end of this file will result in longer compilation time, and, |
---|
358 | # possibly Out Of Memory messages, but might produce binaries |
---|
359 | # which are substantially faster. |
---|
360 | # |
---|
361 | # If you get Out Of Memory messages, there are several options: |
---|
362 | # 1. Check your memory limits (ulimit -a), possibly increasing |
---|
363 | # swap partitions size. |
---|
364 | # 2. Remove any debugging flags (-g, -check, -traceback). |
---|
365 | # 3. Force the problematic file to be compiled with lower |
---|
366 | # optimization (see examples at the end of this file), |
---|
367 | # try the -no-ip compiler flag. |
---|
368 | # |
---|
369 | # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm |
---|
370 | # for latest info on how to build WRF with Intel compilers. |
---|
371 | # |
---|
372 | # The default configuration is aimed at accuracy. To improve speed |
---|
373 | # with only negligible effect on floating point accuracy, |
---|
374 | # consider removing "-fp-model precise" from FCBASEOPTS. If |
---|
375 | # you are using an ifort 9.1.x compiler or earlier, consider |
---|
376 | # uncommenting the version of the FCBASEOPTS settings that uses |
---|
377 | # the -IPF-fp-relaxed option. To further improve performance, |
---|
378 | # add processor-specific options to FCOPTIM (see ifort manpage). |
---|
379 | # |
---|
380 | # If you can tolerate a longer build, change the setting of |
---|
381 | # FCNOOPT to -O1, for slightly faster performance. |
---|
382 | # |
---|
383 | # If your SGI MPI library is not installed in the default |
---|
384 | # locations (/usr/bin, /usr/include, /usr/lib), set MPI_HOME |
---|
385 | # to be the path to the directory where the SGI MPI bin, |
---|
386 | # include and lib directories are, and change the DM_FC, |
---|
387 | # DM_CC and LIB_LOCAL settings as follows: |
---|
388 | # DM_FC = $(SFC) -I$(MPI_HOME)/include |
---|
389 | # DM_CC = $(SFC) -I$(MPI_HOME)/include |
---|
390 | # LIB_LOCAL = -L$(MPI_HOME)/lib -lmpi |
---|
391 | |
---|
392 | DMPARALLEL = # 1 |
---|
393 | OMPCPP = # -D_OPENMP |
---|
394 | OMP = # -openmp -fpp -auto |
---|
395 | OMPCC = # -openmp -fpp -auto |
---|
396 | SFC = ifort |
---|
397 | SCC = icc |
---|
398 | CCOMP = icc |
---|
399 | DM_FC = $(SFC) |
---|
400 | DM_CC = $(SCC) |
---|
401 | FC = CONFIGURE_FC |
---|
402 | CC = CONFIGURE_CC |
---|
403 | LD = $(FC) |
---|
404 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
405 | PROMOTION = -i4 |
---|
406 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC |
---|
407 | CFLAGS_LOCAL = -w -O3 -ip |
---|
408 | LDFLAGS_LOCAL = -ip |
---|
409 | CPLUSPLUSLIB = |
---|
410 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
411 | FCOPTIM = -O3 |
---|
412 | FCREDUCEDOPT = $(FCOPTIM) |
---|
413 | FCNOOPT = -O0 -fno-inline -fno-ip |
---|
414 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
415 | FORMAT_FIXED = -FI |
---|
416 | FORMAT_FREE = -FR |
---|
417 | FCSUFFIX = |
---|
418 | BYTESWAPIO = -convert big_endian |
---|
419 | FCBASEOPTS_NO_G = -w -ftz -align all -fno-alias -fp-model precise $(FORMAT_FREE) $(BYTESWAPIO) |
---|
420 | #FCBASEOPTS_NO_G = -w -ftz -align all -fno-alias -IPF-fp-relaxed $(FORMAT_FREE) $(BYTESWAPIO) |
---|
421 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
422 | LIB_LOCAL = -L/usr/lib -lmpi |
---|
423 | MODULE_SRCH_FLAG = |
---|
424 | TRADFLAG = -traditional |
---|
425 | CPP = /lib/cpp -C -P |
---|
426 | AR = ar |
---|
427 | ARFLAGS = ru |
---|
428 | M4 = m4 |
---|
429 | RANLIB = ranlib |
---|
430 | CC_TOOLS = $(SCC) |
---|
431 | |
---|
432 | ########################################################### |
---|
433 | #ARCH Linux i486 i586 i686 x86_64, PathScale compiler with pathcc #serial dmpar |
---|
434 | # |
---|
435 | DMPARALLEL = # 1 |
---|
436 | OMPCPP = # not supported |
---|
437 | OMP = # not supported |
---|
438 | OMPCC = # not supported |
---|
439 | SFC = pathf90 |
---|
440 | SCC = pathcc |
---|
441 | CCOMP = pathcc |
---|
442 | DM_FC = mpif90 -f90=$(SFC) |
---|
443 | DM_CC = mpicc -cc=$(SCC) |
---|
444 | FC = CONFIGURE_FC |
---|
445 | CC = CONFIGURE_CC |
---|
446 | LD = $(FC) |
---|
447 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
448 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
449 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
450 | CFLAGS_LOCAL = |
---|
451 | LDFLAGS_LOCAL = |
---|
452 | CPLUSPLUSLIB = |
---|
453 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
454 | FCOPTIM = -O -OPT:Ofast:Olimit=5000 |
---|
455 | FCREDUCEDOPT = $(FCOPTIM) |
---|
456 | FCNOOPT = -O0 |
---|
457 | FCDEBUG = # -g $(FCNOOPT) |
---|
458 | FORMAT_FIXED = -fixedform |
---|
459 | FORMAT_FREE = -freeform |
---|
460 | FCSUFFIX = |
---|
461 | BYTESWAPIO = -byteswapio |
---|
462 | FCBASEOPTS_NO_G = -w -fno-second-underscore $(FORMAT_FREE) $(BYTESWAPIO) |
---|
463 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
464 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
---|
465 | TRADFLAG = -traditional |
---|
466 | CPP = /lib/cpp -C -P |
---|
467 | AR = ar |
---|
468 | ARFLAGS = ru |
---|
469 | M4 = m4 -B 14000 |
---|
470 | RANLIB = ranlib |
---|
471 | CC_TOOLS = $(SCC) |
---|
472 | |
---|
473 | ########################################################### |
---|
474 | #ARCH x86_64 Linux, gfortran compiler with gcc #serial smpar dmpar dm+sm |
---|
475 | # |
---|
476 | DMPARALLEL = # 1 |
---|
477 | OMPCPP = # -D_OPENMP |
---|
478 | OMP = # -fopenmp |
---|
479 | OMPCC = # -fopenmp |
---|
480 | SFC = gfortran |
---|
481 | SCC = gcc |
---|
482 | CCOMP = gcc |
---|
483 | DM_FC = mpif90 -f90=$(SFC) |
---|
484 | DM_CC = mpicc -cc=$(SCC) |
---|
485 | FC = CONFIGURE_FC |
---|
486 | CC = CONFIGURE_CC |
---|
487 | LD = $(FC) |
---|
488 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
489 | PROMOTION = # -fdefault-real-8 # uncomment manually |
---|
490 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
491 | CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB |
---|
492 | LDFLAGS_LOCAL = |
---|
493 | CPLUSPLUSLIB = |
---|
494 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
495 | FCOPTIM = -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops |
---|
496 | FCREDUCEDOPT = $(FCOPTIM) |
---|
497 | FCNOOPT = -O0 |
---|
498 | FCDEBUG = # -g $(FCNOOPT) |
---|
499 | FORMAT_FIXED = -ffixed-form |
---|
500 | FORMAT_FREE = -ffree-form -ffree-line-length-none |
---|
501 | FCSUFFIX = |
---|
502 | BYTESWAPIO = -fconvert=big-endian -frecord-marker=4 |
---|
503 | FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) |
---|
504 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
505 | MODULE_SRCH_FLAG = |
---|
506 | TRADFLAG = -traditional |
---|
507 | CPP = /lib/cpp -C -P |
---|
508 | AR = ar |
---|
509 | ARFLAGS = ru |
---|
510 | M4 = m4 -G |
---|
511 | RANLIB = ranlib |
---|
512 | CC_TOOLS = $(SCC) |
---|
513 | |
---|
514 | ########################################################### |
---|
515 | #ARCH Darwin (MACOS) PGI compiler with pgcc #serial smpar dmpar dm+sm |
---|
516 | # |
---|
517 | DMPARALLEL = # 1 |
---|
518 | OMPCPP = # -D_OPENMP |
---|
519 | OMP = # -mp -Minfo=mp -Mrecursive |
---|
520 | OMPCC = # -mp |
---|
521 | SFC = pgf90 |
---|
522 | SCC = pgcc |
---|
523 | CCOMP = pgcc |
---|
524 | DM_FC = mpif90 -f90=$(SFC) |
---|
525 | DM_CC = mpicc -cc=$(SCC) |
---|
526 | FC = CONFIGURE_FC |
---|
527 | CC = CONFIGURE_CC |
---|
528 | LD = $(FC) |
---|
529 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
530 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
531 | ARCH_LOCAL = -DMACOS -DNONSTANDARD_SYSTEM_SUBR |
---|
532 | CFLAGS_LOCAL = -DMACOS |
---|
533 | LDFLAGS_LOCAL = |
---|
534 | CPLUSPLUSLIB = |
---|
535 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
536 | FCOPTIM = -O2 -fast |
---|
537 | FCREDUCEDOPT = $(FCOPTIM) |
---|
538 | FCNOOPT = -O0 |
---|
539 | FCDEBUG = # -g $(FCNOOPT) |
---|
540 | FORMAT_FIXED = -Mfixed |
---|
541 | FORMAT_FREE = -Mfree |
---|
542 | FCSUFFIX = |
---|
543 | BYTESWAPIO = -byteswapio |
---|
544 | FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) $(OMP) |
---|
545 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
546 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
---|
547 | TRADFLAG = -traditional |
---|
548 | CPP = cpp -C -P -xassembler-with-cpp |
---|
549 | AR = ar |
---|
550 | ARFLAGS = ru |
---|
551 | M4 = m4 -B 14000 |
---|
552 | RANLIB = ranlib |
---|
553 | CC_TOOLS = cc |
---|
554 | |
---|
555 | ########################################################### |
---|
556 | #ARCH Darwin (MACOS) intel compiler with icc #serial smpar dmpar dm+sm |
---|
557 | # |
---|
558 | DMPARALLEL = # 1 |
---|
559 | OMPCPP = # -D_OPENMP |
---|
560 | OMP = # -openmp -fpp -auto |
---|
561 | OMPCC = # -openmp -fpp -auto |
---|
562 | SFC = ifort |
---|
563 | SCC = icc |
---|
564 | CCOMP = icc |
---|
565 | DM_FC = mpif90 -f90=$(SFC) |
---|
566 | DM_CC = mpicc -cc=$(SCC) |
---|
567 | FC = CONFIGURE_FC |
---|
568 | CC = CONFIGURE_CC |
---|
569 | LD = $(FC) |
---|
570 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
571 | PROMOTION = -i4 |
---|
572 | ARCH_LOCAL = -DMACOS -DNONSTANDARD_SYSTEM_FUNC |
---|
573 | CFLAGS_LOCAL = -w -O3 -ip -DMACOS |
---|
574 | # increase stack size; also note that for OpenMP, set environment OMP_STACKSIZE 4G or greater |
---|
575 | LDFLAGS_LOCAL = -ip -Wl,-stack_addr,0xF10000000 -Wl,-stack_size,0x64000000 |
---|
576 | CPLUSPLUSLIB = |
---|
577 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
578 | FCOPTIM = -O3 |
---|
579 | FCREDUCEDOPT = $(FCOPTIM) |
---|
580 | FCNOOPT = -O0 -fno-inline -fno-ip |
---|
581 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
582 | FORMAT_FIXED = -FI |
---|
583 | FORMAT_FREE = -FR |
---|
584 | FCSUFFIX = |
---|
585 | BYTESWAPIO = -convert big_endian |
---|
586 | # added -fno-common at suggestion of R. Dubtsov as workaround for failing to link program_name |
---|
587 | FCBASEOPTS_NO_G = -w -ftz -align all -fno-alias -fp-model precise -fno-common $(FORMAT_FREE) $(BYTESWAPIO) |
---|
588 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
589 | MODULE_SRCH_FLAG = |
---|
590 | TRADFLAG = -traditional |
---|
591 | CPP = cpp -C -P -xassembler-with-cpp |
---|
592 | AR = ar |
---|
593 | ARFLAGS = ru |
---|
594 | M4 = m4 -B 14000 |
---|
595 | RANLIB = ranlib |
---|
596 | CC_TOOLS = cc |
---|
597 | |
---|
598 | ########################################################### |
---|
599 | #ARCH Darwin (MACOS) intel compiler with cc #serial smpar dmpar dm+sm |
---|
600 | # |
---|
601 | DMPARALLEL = # 1 |
---|
602 | OMPCPP = # -D_OPENMP |
---|
603 | OMP = # -openmp -fpp -auto |
---|
604 | OMPCC = # -openmp |
---|
605 | SFC = ifort |
---|
606 | SCC = cc |
---|
607 | CCOMP = cc |
---|
608 | DM_FC = mpif90 -f90=$(SFC) |
---|
609 | DM_CC = mpicc -cc=$(SCC) |
---|
610 | FC = CONFIGURE_FC |
---|
611 | CC = CONFIGURE_CC |
---|
612 | LD = $(FC) |
---|
613 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
614 | PROMOTION = -i4 |
---|
615 | ARCH_LOCAL = -DMACOS -DNONSTANDARD_SYSTEM_FUNC |
---|
616 | CFLAGS_LOCAL = -w -O3 -DMACOS |
---|
617 | # increase stack size; also note that for OpenMP, set environment OMP_STACKSIZE 4G or greater |
---|
618 | LDFLAGS_LOCAL = -ip -Wl,-stack_addr,0xF10000000 -Wl,-stack_size,0x64000000 |
---|
619 | CPLUSPLUSLIB = |
---|
620 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
621 | FCOPTIM = -O3 |
---|
622 | FCREDUCEDOPT = $(FCOPTIM) |
---|
623 | FCNOOPT = -O0 -fno-inline -fno-ip |
---|
624 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
625 | FORMAT_FIXED = -FI |
---|
626 | FORMAT_FREE = -FR |
---|
627 | FCSUFFIX = |
---|
628 | BYTESWAPIO = -convert big_endian |
---|
629 | # added -fno-common at suggestion of R. Dubtsov as workaround for failing to link program_name |
---|
630 | FCBASEOPTS_NO_G = -w -ftz -align all -fno-alias -fp-model precise -fno-common $(FORMAT_FREE) $(BYTESWAPIO) |
---|
631 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
632 | MODULE_SRCH_FLAG = |
---|
633 | TRADFLAG = -traditional |
---|
634 | CPP = cpp -C -P -xassembler-with-cpp |
---|
635 | AR = ar |
---|
636 | ARFLAGS = ru |
---|
637 | M4 = m4 -B 14000 |
---|
638 | RANLIB = ranlib |
---|
639 | CC_TOOLS = cc |
---|
640 | |
---|
641 | ########################################################### |
---|
642 | #ARCH Darwin (MACOS) g95 with gcc #serial dmpar |
---|
643 | # |
---|
644 | DMPARALLEL = # 1 |
---|
645 | OMPCPP = # not supported |
---|
646 | OMP = # not supported |
---|
647 | OMPCC = # not supported |
---|
648 | SFC = g95 |
---|
649 | SCC = gcc |
---|
650 | CCOMP = gcc |
---|
651 | DM_FC = mpif90 -f90=$(SFC) |
---|
652 | DM_CC = mpicc -cc=$(SCC) |
---|
653 | FC = CONFIGURE_FC |
---|
654 | CC = CONFIGURE_CC |
---|
655 | LD = $(FC) |
---|
656 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
657 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
658 | ARCH_LOCAL = -DG95 -DMACOS -DF2CSTYLE -DNONSTANDARD_SYSTEM_SUBR -DRCONFIG_CHARLEN=64 |
---|
659 | CFLAGS_LOCAL = -DMACOS -DF2CSTYLE |
---|
660 | LDFLAGS_LOCAL = |
---|
661 | CPLUSPLUSLIB = |
---|
662 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
663 | FCOPTIM = -O2 # -fast |
---|
664 | FCREDUCEDOPT = $(FCOPTIM) |
---|
665 | FCNOOPT = -O0 |
---|
666 | FCDEBUG = # -g $(FCNOOPT) |
---|
667 | FORMAT_FIXED = -ffixed-form |
---|
668 | FORMAT_FREE = -ffree-form -ffree-line-length-huge |
---|
669 | FCSUFFIX = |
---|
670 | BYTESWAPIO = -fendian=big |
---|
671 | FCBASEOPTS_NO_G = -Wno=101,139,155,158 $(FORMAT_FREE) $(BYTESWAPIO) |
---|
672 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
673 | LIB_LOCAL = -L/usr/lib -lSystemStubs |
---|
674 | MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main |
---|
675 | TRADFLAG = -traditional |
---|
676 | CPP = cpp -C -P -xassembler-with-cpp |
---|
677 | AR = ar |
---|
678 | ARFLAGS = ru |
---|
679 | M4 = m4 -B 14000 |
---|
680 | RANLIB = ranlib -c |
---|
681 | CC_TOOLS = $(SCC) |
---|
682 | |
---|
683 | ########################################################### |
---|
684 | #ARCH Darwin (MACOS) gfortran with gcc #serial smpar dmpar dm+sm |
---|
685 | # |
---|
686 | DMPARALLEL = # 1 |
---|
687 | OMPCPP = # -D_OPENMP |
---|
688 | OMP = # -fopenmp |
---|
689 | OMPCC = # -fopenmp |
---|
690 | SFC = gfortran |
---|
691 | SCC = gcc |
---|
692 | CCOMP = gcc |
---|
693 | DM_FC = mpif90 -f90=$(SFC) |
---|
694 | DM_CC = mpicc -cc=$(SCC) |
---|
695 | FC = CONFIGURE_FC |
---|
696 | CC = CONFIGURE_CC |
---|
697 | LD = $(FC) |
---|
698 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
699 | PROMOTION = # -fdefault-real-8 # uncomment manually |
---|
700 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -DMACOS |
---|
701 | CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB -DMACOS |
---|
702 | LDFLAGS_LOCAL = |
---|
703 | CPLUSPLUSLIB = |
---|
704 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
705 | FCOPTIM = -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops |
---|
706 | FCREDUCEDOPT = $(FCOPTIM) |
---|
707 | FCNOOPT = -O0 |
---|
708 | FCDEBUG = # -g $(FCNOOPT) |
---|
709 | FORMAT_FIXED = -ffixed-form |
---|
710 | FORMAT_FREE = -ffree-form -ffree-line-length-none |
---|
711 | FCSUFFIX = |
---|
712 | BYTESWAPIO = -fconvert=big-endian -frecord-marker=4 |
---|
713 | FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) |
---|
714 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
715 | MODULE_SRCH_FLAG = |
---|
716 | TRADFLAG = -traditional |
---|
717 | CPP = cpp -C -P -xassembler-with-cpp |
---|
718 | AR = ar |
---|
719 | ARFLAGS = ru |
---|
720 | M4 = m4 -B 14000 |
---|
721 | RANLIB = ranlib |
---|
722 | CC_TOOLS = $(SCC) |
---|
723 | |
---|
724 | ########################################################### |
---|
725 | #ARCH Darwin (MACOS) xlf #serial dmpar |
---|
726 | # |
---|
727 | DMPARALLEL = # 1 |
---|
728 | OMPCPP = # not supported |
---|
729 | OMP = # not supported |
---|
730 | OMPCC = # not supported |
---|
731 | SFC = xlf90_r |
---|
732 | SCC = cc |
---|
733 | CCOMP = cc |
---|
734 | DM_FC = mpif90 -f90=$(SFC) |
---|
735 | DM_CC = mpicc -cc=$(SCC) |
---|
736 | FC = CONFIGURE_FC |
---|
737 | CC = CONFIGURE_CC |
---|
738 | LD = $(FC) |
---|
739 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
740 | PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 |
---|
741 | ARCH_LOCAL = -DMAC_KLUDGE -DF2CSTYLE -DNONSTANDARD_SYSTEM_SUBR |
---|
742 | CFLAGS_LOCAL = -DMACOS -DF2CSTYLE |
---|
743 | LDFLAGS_LOCAL = |
---|
744 | CPLUSPLUSLIB = |
---|
745 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
746 | CPLUSPLUSLIB = |
---|
747 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
748 | FCOPTIM = -O3 -qarch=auto |
---|
749 | FCREDUCEDOPT = $(FCOPTIM) |
---|
750 | FCNOOPT = -qnoopt |
---|
751 | FCDEBUG = # -g $(FCNOOPT) -qfullpath |
---|
752 | FORMAT_FIXED = -qfixed |
---|
753 | FORMAT_FREE = -qfree=f90 |
---|
754 | FCSUFFIX = -qsuffix=f=f90 |
---|
755 | BYTESWAPIO = |
---|
756 | FCBASEOPTS_NO_G = -qsave -qmaxmem=32767 -qspillsize=32767 -w |
---|
757 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
758 | MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main |
---|
759 | TRADFLAG = |
---|
760 | CPP = cpp -C -P |
---|
761 | AR = ar |
---|
762 | ARFLAGS = ru |
---|
763 | M4 = m4 -B 14000 |
---|
764 | RANLIB = ranlib |
---|
765 | CC_TOOLS = $(SCC) |
---|
766 | |
---|
767 | ########################################################### |
---|
768 | #ARCH AIX xlf compiler with xlc #serial smpar dmpar dm+sm |
---|
769 | # |
---|
770 | DMPARALLEL = # 1 |
---|
771 | OMPCPP = # -D_OPENMP |
---|
772 | OMP = # -qsmp=noauto |
---|
773 | OMPCC = # -qsmp=noauto |
---|
774 | SFC = xlf90_r |
---|
775 | SCC = cc_r |
---|
776 | SC99 = c99_r |
---|
777 | CCOMP = cc_r |
---|
778 | DM_FC = mpxlf90_r |
---|
779 | DM_CC = mpcc_r |
---|
780 | FC = CONFIGURE_FC |
---|
781 | CC = CONFIGURE_CC |
---|
782 | LD = $(FC) |
---|
783 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
784 | PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 |
---|
785 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -DNATIVE_MASSV |
---|
786 | CFLAGS_LOCAL = -DNOUNDERSCORE |
---|
787 | LDFLAGS_LOCAL = -lmass -lmassv |
---|
788 | CPLUSPLUSLIB = -lC |
---|
789 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
790 | # -qhot commented out in 3.0.1.1 release because of reported problems with |
---|
791 | # model results under certain configurations. Use at your own risk. |
---|
792 | FCOPTIM = -O3 # -qhot |
---|
793 | FCREDUCEDOPT = -O2 |
---|
794 | FCNOOPT = -qnoopt |
---|
795 | FCDEBUG = # -g $(FCNOOPT) -qfullpath |
---|
796 | FORMAT_FIXED = -qfixed |
---|
797 | FORMAT_FREE = -qfree=f90 |
---|
798 | FCSUFFIX = -qsuffix=f=f90 |
---|
799 | BYTESWAPIO = |
---|
800 | FCBASEOPTS_NO_G = -w -qspill=20000 -qmaxmem=32767 $(FORMAT_FREE) $(BYTESWAPIO) #-qflttrap=zerodivide:invalid:enable -qsigtrap -C # -qinitauto=7FF7FFFF |
---|
801 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
802 | MODULE_SRCH_FLAG = |
---|
803 | TRADFLAG = |
---|
804 | CPP = /lib/cpp -C -P |
---|
805 | AR = ar |
---|
806 | ARFLAGS = ru |
---|
807 | M4 = m4 -B 14000 |
---|
808 | RANLIB = ranlib |
---|
809 | CC_TOOLS = cc |
---|
810 | |
---|
811 | ########################################################### |
---|
812 | #ARCH Cray XT CLE/Linux x86_64, PGI compiler with gcc # serial dmpar smpar dm+sm |
---|
813 | # |
---|
814 | # Recommended CLE/Linux memory allocation settings at run time: |
---|
815 | # export MALLOC_MMAP_MAX_=0 |
---|
816 | # export MALLOC_TRIM_THRESHOLD_=536870912 |
---|
817 | # |
---|
818 | DMPARALLEL = # 1 |
---|
819 | OMPCPP = # -D_OPENMP |
---|
820 | OMP = # -mp -Mrecursive |
---|
821 | OMPCC = # -mp |
---|
822 | SFC = ftn |
---|
823 | SCC = gcc |
---|
824 | CCOMP = pgcc |
---|
825 | DM_FC = ftn |
---|
826 | DM_CC = gcc -I$(MPICH_DIR)/include |
---|
827 | FC = CONFIGURE_FC |
---|
828 | CC = CONFIGURE_CC |
---|
829 | LD = $(FC) |
---|
830 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
831 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
832 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
833 | CFLAGS_LOCAL = -w -O3 |
---|
834 | LDFLAGS_LOCAL = |
---|
835 | # module load libfast to use Cray XT fast math library |
---|
836 | #LIB_LOCAL = -lfast_mv |
---|
837 | CPLUSPLUSLIB = |
---|
838 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
839 | # PGI recommended |
---|
840 | FCOPTIM = -O3 -fast -Mvect=noaltcode -Mprefetch=distance:8 -Mfprelaxed |
---|
841 | # For Pathscale compiler |
---|
842 | #FCOPTIM = -O3 -OPT:Ofast |
---|
843 | FCREDUCEDOPT = $(FCOPTIM) |
---|
844 | FCNOOPT = -O0 |
---|
845 | OPTERON_TYPE = |
---|
846 | # Use this for AMD Opteron quad-core |
---|
847 | #OPTERON_TYPE = -tp barcelona-64 |
---|
848 | #OPTERON_TYPE = -tp shanghai-64 |
---|
849 | # Use this for AMD Opteron six-way Istanbul |
---|
850 | #OPTERON_TYPE = -tp istanbul |
---|
851 | FCDEBUG = # -g $(FCNOOPT) |
---|
852 | FORMAT_FIXED = -Mfixed |
---|
853 | FORMAT_FREE = -Mfree |
---|
854 | # For Pathscale compiler |
---|
855 | #OPTERON_TYPE = -march=barcelona -msse4a |
---|
856 | #FORMAT_FIXED = -fixedform |
---|
857 | #FORMAT_FREE = -freeform |
---|
858 | FCSUFFIX = |
---|
859 | BYTESWAPIO = -byteswapio |
---|
860 | FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) $(OPTERON_TYPE) $(OMP) |
---|
861 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
862 | MODULE_SRCH_FLAG = |
---|
863 | TRADFLAG = -traditional |
---|
864 | CPP = /lib/cpp -C -P $(TRADFLAG) |
---|
865 | AR = ar |
---|
866 | ARFLAGS = ru |
---|
867 | M4 = m4 -B 14000 |
---|
868 | RANLIB = ranlib |
---|
869 | CC_TOOLS = $(SCC) |
---|
870 | |
---|
871 | ########################################################### |
---|
872 | #ARCH Cray XT CLE/Linux x86_64, Cray CCE compiler with gcc # serial dmpar smpar dm+sm |
---|
873 | # |
---|
874 | # Recommended CLE/Linux memory allocation settings at run time: |
---|
875 | # export MALLOC_MMAP_MAX_=0 |
---|
876 | # export MALLOC_TRIM_THRESHOLD_=536870912 |
---|
877 | # |
---|
878 | DMPARALLEL = # 1 |
---|
879 | OMPCPP = # -D_OPENMP |
---|
880 | OMP = # -Oomp |
---|
881 | OMPCC = # -fopenmp |
---|
882 | SFC = ftn |
---|
883 | SCC = gcc |
---|
884 | CCOMP = gcc |
---|
885 | DM_FC = ftn |
---|
886 | DM_CC = gcc -I$(MPICH_DIR)/include |
---|
887 | FC = CONFIGURE_FC |
---|
888 | CC = CONFIGURE_CC |
---|
889 | LD = $(FC) |
---|
890 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
891 | PROMOTION = -s integer32 -s real32 |
---|
892 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
893 | CFLAGS_LOCAL = -w -O3 |
---|
894 | LDFLAGS_LOCAL = |
---|
895 | # module load libfast |
---|
896 | #LIB_LOCAL = -lfast_mv |
---|
897 | CPLUSPLUSLIB = |
---|
898 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
899 | FCOPTIM = |
---|
900 | FCREDUCEDOPT = $(FCOPTIM) |
---|
901 | FCNOOPT = -O1 -Oipa0 |
---|
902 | OPTERON_TYPE = |
---|
903 | FCDEBUG = # -g $(FCNOOPT) |
---|
904 | FORMAT_FIXED = -f fixed |
---|
905 | FORMAT_FREE = -f free |
---|
906 | FCSUFFIX = |
---|
907 | BYTESWAPIO = -h byteswapio |
---|
908 | FCBASEOPTS_NO_G = -N255 -Onomodinline -em -Onoomp $(FORMAT_FREE) $(BYTESWAPIO) $(OPTERON_TYPE) $(OMP) |
---|
909 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
910 | MODULE_SRCH_FLAG = |
---|
911 | TRADFLAG = -traditional |
---|
912 | CPP = /lib/cpp -C -P $(TRADFLAG) |
---|
913 | AR = ar |
---|
914 | ARFLAGS = ru |
---|
915 | M4 = m4 -B 14000 |
---|
916 | RANLIB = ranlib |
---|
917 | CC_TOOLS = $(SCC) |
---|
918 | |
---|
919 | ########################################################### |
---|
920 | #ARCH Linux ppc64 BG /L blxlf compiler with blxlc # dmpar |
---|
921 | # |
---|
922 | DMPARALLEL = # 1 |
---|
923 | OMPCPP = # not supported |
---|
924 | OMP = # not supported |
---|
925 | OMPCC = # not supported |
---|
926 | BGL_SYS = /bgl/BlueLight/ppcfloor/bglsys |
---|
927 | MPI_INC = -I$(BGL_SYS)/include |
---|
928 | MPI_LIB = -L$(BGL_SYS)/lib -lmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts |
---|
929 | SFC = blrts_xlf90 |
---|
930 | SCC = blrts_xlc |
---|
931 | CCOMP = blrts_xlc |
---|
932 | DM_FC = $(SFC) |
---|
933 | DM_CC = $(SCC) |
---|
934 | FC = CONFIGURE_FC |
---|
935 | CC = CONFIGURE_CC |
---|
936 | LD = $(FC) |
---|
937 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
938 | PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 |
---|
939 | # If system has even more processors, set VERY_LARGE_MAXPROC to that number |
---|
940 | ARCH_LOCAL = -DMOVE_NL_OUTSIDE_MODULE_CONFIGURE -DNONSTANDARD_SYSTEM_SUBR -DLANDREAD_STUB -DVERY_LARGE_MAXPROC=36768 -DBLUEGENE |
---|
941 | CFLAGS_LOCAL = -DNOUNDERSCORE -DNCARIBM_NOC99 $(MPI_INC) -DLANDREAD_STUB |
---|
942 | LIB_LOCAL = $(MPI_LIB) |
---|
943 | LDFLAGS_LOCAL = -Wl,--allow-multiple-definition -qstatic |
---|
944 | CPLUSPLUSLIB = |
---|
945 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
946 | FCOPTIM = -O2 -qarch=440 |
---|
947 | FCNOOPT = -qnoopt |
---|
948 | FCDEBUG = # $(FCNOOPT) -qfullpath |
---|
949 | FORMAT_FIXED = -qfixed |
---|
950 | FORMAT_FREE = -qfree=f90 |
---|
951 | FCSUFFIX = -qsuffix=f=f90 |
---|
952 | BYTESWAPIO = |
---|
953 | FCBASEOPTS_NO_G = -w -qspill=20000 -qmaxmem=64000 $(FORMAT_FREE) $(BYTESWAPIO) $(MPI_INC) #-qflttrap=zerodivide:invalid:enable -qsigtrap |
---|
954 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
955 | MODULE_SRCH_FLAG = |
---|
956 | TRADFLAG = |
---|
957 | # this might be different on different systems but we want the xlf version of cpp, not Linux's |
---|
958 | # NYBlue |
---|
959 | CPP = /opt/ibmcmp/xlf/bg/10.1/exe/cpp -C -P |
---|
960 | # frost.ucar.edu |
---|
961 | CPP = /opt/ibmcmp/xlf/9.1/exe/cpp -C -P |
---|
962 | AR = ar |
---|
963 | ARFLAGS = ru |
---|
964 | M4 = m4 -B 14000 |
---|
965 | RANLIB = ranlib |
---|
966 | CC_TOOLS = cc |
---|
967 | ########################################################### |
---|
968 | #ARCH Linux ppc64 BG /P xlf compiler with xlc # smpar dmpar dm+sm |
---|
969 | # developed on surveyor.alcf.anl.gov (thanks to ANL/ALCF) |
---|
970 | # |
---|
971 | DMPARALLEL = # 1 |
---|
972 | OMPCPP = # -D_OPENMP |
---|
973 | OMP = # -qsmp=noauto |
---|
974 | OMPCC = # -qsmp=noauto |
---|
975 | # these have to be the same as DM_FC on surveyor or it fails with weird errors in time manager |
---|
976 | SFC = time mpixlf90_r |
---|
977 | SCC = time mpixlc_r |
---|
978 | CCOMP = time mpixlc_r |
---|
979 | DM_FC = time mpixlf90_r |
---|
980 | DM_CC = time mpixlc_r -DMPI2_SUPPORT |
---|
981 | FC = $(DM_FC) |
---|
982 | CC = $(DM_CC) -DFSEEKO64_OK |
---|
983 | LD = $(FC) |
---|
984 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
985 | PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 |
---|
986 | # If system has even more processors, set VERY_LARGE_MAXPROC to that number |
---|
987 | ARCH_LOCAL = -DMOVE_NL_OUTSIDE_MODULE_CONFIGURE -DNONSTANDARD_SYSTEM_SUBR -DLANDREAD_STUB -DVERY_LARGE_MAXPROC=36768 -DBLUEGENE |
---|
988 | CFLAGS_LOCAL = -DNOUNDERSCORE -DLANDREAD_STUB |
---|
989 | LIB_LOCAL = |
---|
990 | LDFLAGS_LOCAL = -Wl,--allow-multiple-definition,--relax -qstatic |
---|
991 | CPLUSPLUSLIB = |
---|
992 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
993 | FCOPTIM = -O3 -qnoipa -qarch=auto -qcache=auto -qtune=auto |
---|
994 | FCNOOPT = -qnoopt |
---|
995 | FCDEBUG = # $(FCNOOPT) -g -qfullpath |
---|
996 | FORMAT_FIXED = -qfixed |
---|
997 | FORMAT_FREE = -qfree=f90 |
---|
998 | FCSUFFIX = -qsuffix=f=f90 |
---|
999 | BYTESWAPIO = |
---|
1000 | FCBASEOPTS_NO_G = -w -qspill=20000 -qmaxmem=64000 $(FORMAT_FREE) $(BYTESWAPIO) #-qflttrap=zerodivide:invalid:enable -qsigtrap |
---|
1001 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
1002 | MODULE_SRCH_FLAG = |
---|
1003 | TRADFLAG = |
---|
1004 | # this might be different on different systems but we want the xlf version of cpp, not Linux's |
---|
1005 | # surveyor.alcf.anl.gov |
---|
1006 | CPP = /opt/ibmcmp/xlf/bg/11.1/exe/cpp -C -P |
---|
1007 | AR = ar |
---|
1008 | ARFLAGS = ru |
---|
1009 | M4 = m4 -B 14000 |
---|
1010 | RANLIB = ranlib |
---|
1011 | CC_TOOLS = cc |
---|
1012 | ########################################################### |
---|
1013 | #ARCH Linux ppc64 IBM Blade Server xlf compiler with xlc # dmpar |
---|
1014 | # provided by Luis C. Cana Cascallar for IBM JS21 blade server, May 2009 |
---|
1015 | # |
---|
1016 | DMPARALLEL = # 1 |
---|
1017 | OMPCPP = # not supported |
---|
1018 | OMP = # not supported |
---|
1019 | OMPCC = # not supported |
---|
1020 | SFC = xlf90_r -q64 |
---|
1021 | SCC = xlc_r -q64 |
---|
1022 | CCOMP = xlc_r -q64 |
---|
1023 | DM_FC = mpif90 -q64 |
---|
1024 | DM_CC = mpicc -q64 -DMPI2_SUPPORT -DFSEEKO64_OK |
---|
1025 | FC = CONFIGURE_FC |
---|
1026 | CC = CONFIGURE_CC |
---|
1027 | LD = $(FC) |
---|
1028 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
1029 | PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 |
---|
1030 | # If system has even more processors, set VERY_LARGE_MAXPROC to that number |
---|
1031 | ARCH_LOCAL = -DMOVE_NL_OUTSIDE_MODULE_CONFIGURE -DNONSTANDARD_SYSTEM_SUBR -DLANDREAD_STUB -DVERY_LARGE_MAXPROC=36768 |
---|
1032 | CFLAGS_LOCAL = -DNOUNDERSCORE -DLANDREAD_STUB |
---|
1033 | LDFLAGS_LOCAL = |
---|
1034 | CPLUSPLUSLIB = -lC |
---|
1035 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
1036 | FCOPTIM = -O3 -qtune=ppc970 -qarch=ppc970 |
---|
1037 | FCNOOPT = -qnoopt |
---|
1038 | FCDEBUG = # -g $(FCNOOPT) -qfullpath |
---|
1039 | FORMAT_FIXED = -qfixed |
---|
1040 | FORMAT_FREE = -qfree=f90 |
---|
1041 | FCSUFFIX = -qsuffix=f=f90 |
---|
1042 | BYTESWAPIO = |
---|
1043 | FCBASEOPTS_NO_G = -w -qspill=20000 -qmaxmem=32767 $(FORMAT_FREE) $(BYTESWAPIO) #-qflttrap=zerodivide:invalid:enable -qsigtrap |
---|
1044 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
1045 | MODULE_SRCH_FLAG = |
---|
1046 | TRADFLAG = |
---|
1047 | # this might be different on different systems but we want the xlf version of cpp, not Linux |
---|
1048 | CPP = /opt/ibmcmp/xlf/11.1/exe/cpp -C -P |
---|
1049 | AR = ar |
---|
1050 | ARFLAGS = ru |
---|
1051 | M4 = m4 -B 14000 |
---|
1052 | RANLIB = ranlib |
---|
1053 | CC_TOOLS = xlc -q64 |
---|
1054 | ########################################################### |
---|
1055 | #ARCH CYGWIN_NT i686, PGI compiler on Windows # serial smpar dmpar dm+sm |
---|
1056 | # |
---|
1057 | DMPARALLEL = # 1 |
---|
1058 | OMPCPP = # -D_OPENMP |
---|
1059 | OMP = # -mp -Minfo=mp |
---|
1060 | OMPCC = # -mp |
---|
1061 | SFC = pgf90 |
---|
1062 | SCC = pgcc |
---|
1063 | CCOMP = pgcc |
---|
1064 | DM_FC = pgf90 -Mmpi=msmpi |
---|
1065 | DM_CC = pgcc -Mmpi=msmpi |
---|
1066 | FC = CONFIGURE_FC |
---|
1067 | CC = CONFIGURE_CC |
---|
1068 | LD = $(FC) |
---|
1069 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
1070 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
1071 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR -D_WIN32 |
---|
1072 | CFLAGS_LOCAL = -w -O3 -DMEMCPY_FOR_BCOPY -DLANDREAD_STUB |
---|
1073 | LDFLAGS_LOCAL = Ws2_32.lib # -lnetcdff |
---|
1074 | CPLUSPLUSLIB = |
---|
1075 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
1076 | FCOPTIM = -fastsse -Mvect=noaltcode -Mprefetch=distance:8 -Mfprelaxed -tp core2-64 # -Minfo=all |
---|
1077 | FCREDUCEDOPT = $(FCOPTIM) |
---|
1078 | FCNOOPT = -O0 |
---|
1079 | FCDEBUG = # -g $(FCNOOPT) |
---|
1080 | FORMAT_FIXED = -Mfixed |
---|
1081 | FORMAT_FREE = -Mfree |
---|
1082 | FCSUFFIX = |
---|
1083 | BYTESWAPIO = -byteswapio |
---|
1084 | FCBASEOPTS_NO_G = -w $(FORMAT_FREE) $(BYTESWAPIO) |
---|
1085 | FCBASEOPTS = $(FCBASEOPTS_NO_G) $(FCDEBUG) |
---|
1086 | MODULE_SRCH_FLAG= -module $(WRF_SRC_ROOT_DIR)/main |
---|
1087 | TRADFLAG = |
---|
1088 | CPP = pgprepro |
---|
1089 | AR = ar |
---|
1090 | ARFLAGS = cr |
---|
1091 | M4 = NA |
---|
1092 | RANLIB = ranlib |
---|
1093 | CC_TOOLS = $(SCC) |
---|
1094 | |
---|
1095 | LIB_EXTERNAL = \ |
---|
1096 | ../external/io_netcdf/libwrfio_nf.a CONFIGURE_NETCDF_PATH/lib/libnetcdf.lib \ |
---|
1097 | ../external/wavelet/libWavelet.a ../external/wavelet/lib_wavelet.a |
---|
1098 | ESMF_IO_LIB = ../external/esmf_time_f90/libesmf_time.a |
---|
1099 | LIB_BUNDLED = \ |
---|
1100 | ../external/fftpack/fftpack5/libfftpack.a \ |
---|
1101 | ../external/io_grib1/libio_grib1.a \ |
---|
1102 | ../external/io_grib_share/libio_grib_share.a \ |
---|
1103 | ../external/io_int/libwrfio_int.a \ |
---|
1104 | $(ESMF_IO_LIB) \ |
---|
1105 | CONFIGURE_COMMS_LIB \ |
---|
1106 | ../frame/module_internal_header_util.o \ |
---|
1107 | ../frame/pack_utils.o |
---|
1108 | |
---|
1109 | |
---|
1110 | ########################################################### |
---|
1111 | #ARCH NULL |
---|
1112 | |
---|