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 | SFC = gfortran |
---|
9 | SCC = gcc |
---|
10 | DM_FC = mpif90 -f90=$(SFC) |
---|
11 | DM_CC = mpicc -cc=$(SCC) |
---|
12 | FC = CONFIGURE_FC |
---|
13 | CC = CONFIGURE_CC |
---|
14 | LD = $(FC) |
---|
15 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
16 | PROMOTION = # -fdefault-real-8 # uncomment manually |
---|
17 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
18 | CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB |
---|
19 | LDFLAGS_LOCAL = |
---|
20 | CPLUSPLUSLIB = |
---|
21 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
22 | FCOPTIM = -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops |
---|
23 | FCREDUCEDOPT = $(FCOPTIM) |
---|
24 | FCNOOPT = -O0 |
---|
25 | FCDEBUG = # -g $(FCNOOPT) |
---|
26 | FORMAT_FIXED = -ffixed-form |
---|
27 | FORMAT_FREE = -ffree-form -ffree-line-length-none |
---|
28 | FCSUFFIX = |
---|
29 | BYTESWAPIO = -fconvert=big-endian -frecord-marker=4 |
---|
30 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
31 | MODULE_SRCH_FLAG = |
---|
32 | TRADFLAG = -traditional |
---|
33 | CPP = /lib/cpp -C -P |
---|
34 | AR = ar |
---|
35 | ARFLAGS = ru |
---|
36 | M4 = m4 -B 14000 |
---|
37 | RANLIB = ranlib |
---|
38 | CC_TOOLS = $(SCC) |
---|
39 | |
---|
40 | ########################################################### |
---|
41 | #ARCH Linux i486 i586 i686, g95 compiler with gcc #serial dmpar |
---|
42 | # |
---|
43 | DMPARALLEL = # 1 |
---|
44 | OMPCPP = # not supported |
---|
45 | OMP = # not supported |
---|
46 | SFC = g95 |
---|
47 | SCC = gcc |
---|
48 | DM_FC = mpif90 -f90=$(SFC) |
---|
49 | DM_CC = mpicc -cc=$(SCC) |
---|
50 | FC = CONFIGURE_FC |
---|
51 | CC = CONFIGURE_CC |
---|
52 | LD = $(FC) |
---|
53 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
54 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
55 | ARCH_LOCAL = -DF2CSTYLE -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR |
---|
56 | CFLAGS_LOCAL = -DF2CSTYLE |
---|
57 | LDFLAGS_LOCAL = |
---|
58 | CPLUSPLUSLIB = |
---|
59 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
60 | FCOPTIM = -O2 #-fast |
---|
61 | FCREDUCEDOPT = $(FCOPTIM) |
---|
62 | FCNOOPT = -O0 |
---|
63 | FCDEBUG = # -g $(FCNOOPT) |
---|
64 | FORMAT_FIXED = -ffixed-form |
---|
65 | FORMAT_FREE = -ffree-form -ffree-line-length-huge |
---|
66 | FCSUFFIX = |
---|
67 | BYTESWAPIO = -fendian=big |
---|
68 | FCBASEOPTS = -Wno=101,139,155,158 $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
69 | MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main |
---|
70 | TRADFLAG = -traditional |
---|
71 | CPP = /lib/cpp -C -P |
---|
72 | AR = ar |
---|
73 | ARFLAGS = ru |
---|
74 | M4 = m4 -B 14000 |
---|
75 | RANLIB = ranlib |
---|
76 | CC_TOOLS = $(SCC) |
---|
77 | |
---|
78 | ########################################################### |
---|
79 | #ARCH Linux x86_64, PGI compiler with gcc # serial smpar dmpar dm+sm |
---|
80 | # |
---|
81 | DMPARALLEL = # 1 |
---|
82 | OMPCPP = # -D_OPENMP |
---|
83 | OMP = # -mp -Minfo=mp |
---|
84 | SFC = pgf90 |
---|
85 | SCC = gcc |
---|
86 | DM_FC = mpif90 -f90=$(SFC) |
---|
87 | DM_CC = mpicc -cc=$(SCC) |
---|
88 | FC = CONFIGURE_FC |
---|
89 | CC = CONFIGURE_CC |
---|
90 | LD = $(FC) |
---|
91 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
92 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
93 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
94 | CFLAGS_LOCAL = -w -O3 |
---|
95 | LDFLAGS_LOCAL = |
---|
96 | CPLUSPLUSLIB = |
---|
97 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
98 | FCOPTIM = -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed # -Minfo=all =Mneginfo=all |
---|
99 | FCREDUCEDOPT = $(FCOPTIM) |
---|
100 | FCNOOPT = -O0 |
---|
101 | FCDEBUG = # -g $(FCNOOPT) |
---|
102 | FORMAT_FIXED = -Mfixed |
---|
103 | FORMAT_FREE = -Mfree |
---|
104 | FCSUFFIX = |
---|
105 | BYTESWAPIO = -byteswapio |
---|
106 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
107 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
---|
108 | TRADFLAG = -traditional |
---|
109 | CPP = /lib/cpp -C -P |
---|
110 | AR = ar |
---|
111 | ARFLAGS = ru |
---|
112 | M4 = m4 -B 14000 |
---|
113 | RANLIB = ranlib |
---|
114 | CC_TOOLS = $(SCC) |
---|
115 | |
---|
116 | ########################################################### |
---|
117 | #ARCH Linux i486 i586 i686, PGI compiler with gcc #serial smpar dmpar dm+sm |
---|
118 | # |
---|
119 | DMPARALLEL = # 1 |
---|
120 | OMPCPP = # -D_OPENMP |
---|
121 | OMP = # -mp |
---|
122 | SFC = pgf90 |
---|
123 | SCC = gcc |
---|
124 | DM_FC = mpif90 -f90=$(SFC) |
---|
125 | DM_CC = mpicc -cc=$(SCC) |
---|
126 | FC = CONFIGURE_FC |
---|
127 | CC = CONFIGURE_CC |
---|
128 | LD = $(FC) |
---|
129 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
130 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
131 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
132 | CFLAGS_LOCAL = |
---|
133 | LDFLAGS_LOCAL = |
---|
134 | CPLUSPLUSLIB = |
---|
135 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
136 | FCOPTIM = -O2 -fast |
---|
137 | FCREDUCEDOPT = $(FCOPTIM) |
---|
138 | FCNOOPT = -O0 |
---|
139 | FCDEBUG = # -g $(FCNOOPT) |
---|
140 | FORMAT_FIXED = -Mfixed |
---|
141 | FORMAT_FREE = -Mfree |
---|
142 | FCSUFFIX = |
---|
143 | BYTESWAPIO = -byteswapio |
---|
144 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
145 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
---|
146 | TRADFLAG = -traditional |
---|
147 | CPP = /lib/cpp -C -P |
---|
148 | AR = ar |
---|
149 | ARFLAGS = ru |
---|
150 | M4 = m4 -B 14000 |
---|
151 | RANLIB = ranlib |
---|
152 | CC_TOOLS = $(SCC) |
---|
153 | |
---|
154 | ########################################################### |
---|
155 | #ARCH Linux x86_64 i486 i586 i686, ifort compiler with icc #serial smpar dmpar dm+sm |
---|
156 | # |
---|
157 | # By default, some files are compiled without optimizations to speed up compilation. Removing |
---|
158 | # respective makefile rules in the end of this file will result in longer compilation time, and, possibly |
---|
159 | # Out Of Memory messages, but might produce binaries which are substantially faster. |
---|
160 | # |
---|
161 | # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm |
---|
162 | # for latest info on how to build WRF with Intel compilers. |
---|
163 | # |
---|
164 | # If you got Out Of Memory message, there are several options: |
---|
165 | # 1. Check your memory limits (ulimit -a), possibly increasing swap partitions size. |
---|
166 | # 2. Remove any debugging flags (-g, -check, -traceback). |
---|
167 | # 3. Force the problematic file to be compiled with less optimizations (see examples at the |
---|
168 | # end of this file), try -no-ip compiler flag. |
---|
169 | # |
---|
170 | # This configuration is aimed at accuracy. To improve performance (at the expence of accuracy) you might |
---|
171 | # consider removing '-fp-model precise' flag from FCBASEOPTS. This enables non value-safe optimizations. |
---|
172 | # Another option is to add '-ftz' flag, which flushes denormal results to zero when the application is in |
---|
173 | # the gradual underflow mode. It may improve performance if the denormal values are not critical to the |
---|
174 | # behavior of your workload. To further improve performance, add suitable vectorization options for your |
---|
175 | # processor to FCOPTIM (see ifort manpage). |
---|
176 | # |
---|
177 | # If you have Intel MPI installed and wish to use instead, make the |
---|
178 | # following changes to settings below: |
---|
179 | # DM_FC = mpiifort |
---|
180 | # DM_CC = mpiicc |
---|
181 | # and source bin64/mpivars.sh file from your Intel MPI installation |
---|
182 | # before the build. |
---|
183 | |
---|
184 | DMPARALLEL = # 1 |
---|
185 | OMPCPP = # -D_OPENMP |
---|
186 | OMP = # -openmp -fpp -auto |
---|
187 | SFC = ifort |
---|
188 | SCC = icc |
---|
189 | DM_FC = mpif90 -f90=$(SFC) |
---|
190 | DM_CC = mpicc -cc=$(SCC) |
---|
191 | FC = CONFIGURE_FC |
---|
192 | CC = CONFIGURE_CC |
---|
193 | LD = $(FC) |
---|
194 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
195 | PROMOTION = -i4 |
---|
196 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC |
---|
197 | CFLAGS_LOCAL = -w -O3 -ip |
---|
198 | LDFLAGS_LOCAL = -ip |
---|
199 | CPLUSPLUSLIB = |
---|
200 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
201 | FCOPTIM = -O3 |
---|
202 | FCREDUCEDOPT = $(FCOPTIM) |
---|
203 | FCNOOPT = -O0 |
---|
204 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
205 | FORMAT_FIXED = -FI |
---|
206 | FORMAT_FREE = -FR |
---|
207 | FCSUFFIX = |
---|
208 | BYTESWAPIO = -convert big_endian |
---|
209 | FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
210 | MODULE_SRCH_FLAG = |
---|
211 | TRADFLAG = -traditional |
---|
212 | CPP = /lib/cpp -C -P |
---|
213 | AR = ar |
---|
214 | ARFLAGS = ru |
---|
215 | M4 = m4 |
---|
216 | RANLIB = ranlib |
---|
217 | CC_TOOLS = $(SCC) |
---|
218 | |
---|
219 | ########################################################### |
---|
220 | #ARCH ia64 Linux ifort compiler with icc 9.x,10.x #serial smpar dmpar dm+sm |
---|
221 | # |
---|
222 | # By default, some files are compiled without optimizations to |
---|
223 | # speed up compilation. Removing respective makefile rules in the |
---|
224 | # end of this file will result in longer compilation time, and, |
---|
225 | # possibly Out Of Memory messages, but might produce binaries |
---|
226 | # which are substantially faster. |
---|
227 | # |
---|
228 | # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm |
---|
229 | # for latest info on how to build WRF with Intel compilers. |
---|
230 | # |
---|
231 | # If you get Out Of Memory messages, there are several options: |
---|
232 | # 1. Check your memory limits (ulimit -a), possibly increasing |
---|
233 | # swap partitions size. |
---|
234 | # 2. Remove any debugging flags (-g, -check, -traceback). |
---|
235 | # 3. Force the problematic file to be compiled with lower |
---|
236 | # optimization (see examples at the end of this file), |
---|
237 | # try the -no-ip compiler flag. |
---|
238 | # |
---|
239 | # The default configuration is aimed at accuracy. To improve speed |
---|
240 | # with only negligible effect on floating point accuracy, |
---|
241 | # consider removing "-fp-model precise" from FCBASEOPTS. If |
---|
242 | # you are using ifort 9.1.x compiler or earlier, consider |
---|
243 | # uncommenting the version of the FCBASEOPTS settings that uses |
---|
244 | # the -IPF-fp-relaxed option. |
---|
245 | # |
---|
246 | # If you can tolerate a longer build, change the setting of |
---|
247 | # FCNOOPT to -O1, for slightly faster performance. |
---|
248 | # |
---|
249 | # If you have Intel MPI installed and wish to use instead, make the |
---|
250 | # following changes to settings below: |
---|
251 | # DM_FC = mpiifort |
---|
252 | # DM_CC = mpiicc |
---|
253 | # and source bin/mpivars.sh file from your Intel MPI installation |
---|
254 | # before the build. |
---|
255 | # |
---|
256 | |
---|
257 | DMPARALLEL = # 1 |
---|
258 | OMPCPP = # -D_OPENMP |
---|
259 | OMP = # -openmp -fpp -auto |
---|
260 | SFC = ifort |
---|
261 | SCC = icc |
---|
262 | DM_FC = mpif90 -f90=$(SFC) |
---|
263 | DM_CC = mpicc -cc=$(SCC) |
---|
264 | FC = CONFIGURE_FC |
---|
265 | CC = CONFIGURE_CC |
---|
266 | LD = $(FC) |
---|
267 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
268 | PROMOTION = -i4 |
---|
269 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC |
---|
270 | CFLAGS_LOCAL = -w -O3 -ip |
---|
271 | LDFLAGS_LOCAL = -ip |
---|
272 | CPLUSPLUSLIB = |
---|
273 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
274 | FCOPTIM = -O3 |
---|
275 | FCREDUCEDOPT = $(FCOPTIM) |
---|
276 | FCNOOPT = -O0 |
---|
277 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
278 | FORMAT_FIXED = -FI |
---|
279 | FORMAT_FREE = -FR |
---|
280 | FCSUFFIX = |
---|
281 | BYTESWAPIO = -convert big_endian |
---|
282 | FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
283 | #FCBASEOPTS = -w -ftz -align all -fno-alias -IPF-fp-relaxed $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
284 | LIB_LOCAL = -L/usr/lib -lmpi |
---|
285 | MODULE_SRCH_FLAG = |
---|
286 | TRADFLAG = -traditional |
---|
287 | CPP = /lib/cpp -C -P |
---|
288 | AR = ar |
---|
289 | ARFLAGS = ru |
---|
290 | M4 = m4 |
---|
291 | RANLIB = ranlib |
---|
292 | CC_TOOLS = $(SCC) |
---|
293 | |
---|
294 | ########################################################### |
---|
295 | #ARCH Linux SGI Altix, ifort compiler with icc 9.x,10.x #serial smpar dmpar dm+sm |
---|
296 | # |
---|
297 | # By default, some files are compiled without optimizations to |
---|
298 | # speed up compilation. Removing respective makefile rules in the |
---|
299 | # end of this file will result in longer compilation time, and, |
---|
300 | # possibly Out Of Memory messages, but might produce binaries |
---|
301 | # which are substantially faster. |
---|
302 | # |
---|
303 | # If you get Out Of Memory messages, there are several options: |
---|
304 | # 1. Check your memory limits (ulimit -a), possibly increasing |
---|
305 | # swap partitions size. |
---|
306 | # 2. Remove any debugging flags (-g, -check, -traceback). |
---|
307 | # 3. Force the problematic file to be compiled with lower |
---|
308 | # optimization (see examples at the end of this file), |
---|
309 | # try the -no-ip compiler flag. |
---|
310 | # |
---|
311 | # Please visit http://www.intel.com/support/performancetools/sb/cs-028607.htm |
---|
312 | # for latest info on how to build WRF with Intel compilers. |
---|
313 | # |
---|
314 | # The default configuration is aimed at accuracy. To improve speed |
---|
315 | # with only negligible effect on floating point accuracy, |
---|
316 | # consider removing "-fp-model precise" from FCBASEOPTS. If |
---|
317 | # you are using an ifort 9.1.x compiler or earlier, consider |
---|
318 | # uncommenting the version of the FCBASEOPTS settings that uses |
---|
319 | # the -IPF-fp-relaxed option. To further improve performance, |
---|
320 | # add processor-specific options to FCOPTIM (see ifort manpage). |
---|
321 | # |
---|
322 | # If you can tolerate a longer build, change the setting of |
---|
323 | # FCNOOPT to -O1, for slightly faster performance. |
---|
324 | # |
---|
325 | # If your SGI MPI library is not installed in the default |
---|
326 | # locations (/usr/bin, /usr/include, /usr/lib), set MPI_HOME |
---|
327 | # to be the path to the directory where the SGI MPI bin, |
---|
328 | # include and lib directories are, and change the DM_FC, |
---|
329 | # DM_CC and LIB_LOCAL settings as follows: |
---|
330 | # DM_FC = $(SFC) -I$(MPI_HOME)/include |
---|
331 | # DM_CC = $(SFC) -I$(MPI_HOME)/include |
---|
332 | # LIB_LOCAL = -L$(MPI_HOME)/lib -lmpi |
---|
333 | |
---|
334 | DMPARALLEL = # 1 |
---|
335 | OMPCPP = # -D_OPENMP |
---|
336 | OMP = # -openmp -fpp -auto |
---|
337 | SFC = ifort |
---|
338 | SCC = icc |
---|
339 | DM_FC = $(SFC) |
---|
340 | DM_CC = $(SCC) |
---|
341 | FC = CONFIGURE_FC |
---|
342 | CC = CONFIGURE_CC |
---|
343 | LD = $(FC) |
---|
344 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
345 | PROMOTION = -i4 |
---|
346 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_FUNC |
---|
347 | CFLAGS_LOCAL = -w -O3 -ip |
---|
348 | LDFLAGS_LOCAL = -ip |
---|
349 | CPLUSPLUSLIB = |
---|
350 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
351 | FCOPTIM = -O3 |
---|
352 | FCREDUCEDOPT = $(FCOPTIM) |
---|
353 | FCNOOPT = -O0 |
---|
354 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
355 | FORMAT_FIXED = -FI |
---|
356 | FORMAT_FREE = -FR |
---|
357 | FCSUFFIX = |
---|
358 | BYTESWAPIO = -convert big_endian |
---|
359 | FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
360 | #FCBASEOPTS = -w -ftz -align all -fno-alias -IPF-fp-relaxed $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
361 | LIB_LOCAL = -L/usr/lib -lmpi |
---|
362 | MODULE_SRCH_FLAG = |
---|
363 | TRADFLAG = -traditional |
---|
364 | CPP = /lib/cpp -C -P |
---|
365 | AR = ar |
---|
366 | ARFLAGS = ru |
---|
367 | M4 = m4 |
---|
368 | RANLIB = ranlib |
---|
369 | CC_TOOLS = $(SCC) |
---|
370 | |
---|
371 | ########################################################### |
---|
372 | #ARCH Linux i486 i586 i686 x86_64, PathScale compiler with pathcc #serial dmpar |
---|
373 | # |
---|
374 | DMPARALLEL = # 1 |
---|
375 | OMPCPP = # not supported |
---|
376 | OMP = # not supported |
---|
377 | SFC = pathf90 |
---|
378 | SCC = pathcc |
---|
379 | DM_FC = mpif90 -f90=$(SFC) |
---|
380 | DM_CC = mpicc -cc=$(SCC) |
---|
381 | FC = CONFIGURE_FC |
---|
382 | CC = CONFIGURE_CC |
---|
383 | LD = $(FC) |
---|
384 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
385 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
386 | ARCH_LOCAL = -DF2CSTYLE -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR |
---|
387 | CFLAGS_LOCAL = -DF2CSTYLE |
---|
388 | LDFLAGS_LOCAL = |
---|
389 | CPLUSPLUSLIB = |
---|
390 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
391 | FCOPTIM = -O3 -OPT:Ofast:Olimit=5000 |
---|
392 | FCREDUCEDOPT = $(FCOPTIM) |
---|
393 | FCNOOPT = -O0 |
---|
394 | FCDEBUG = # -g $(FCNOOPT) |
---|
395 | FORMAT_FIXED = -fixed-form |
---|
396 | FORMAT_FREE = -free-form |
---|
397 | FCSUFFIX = |
---|
398 | BYTESWAPIO = -byteswapio |
---|
399 | FCBASEOPTS = -w -fno-second-underscore $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
400 | MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main |
---|
401 | TRADFLAG = -traditional |
---|
402 | CPP = /lib/cpp -C -P |
---|
403 | AR = ar |
---|
404 | ARFLAGS = ru |
---|
405 | M4 = m4 -B 14000 |
---|
406 | RANLIB = ranlib |
---|
407 | CC_TOOLS = $(SCC) |
---|
408 | |
---|
409 | ########################################################### |
---|
410 | #ARCH x86_64 Linux, gfortran compiler with gcc #serial smpar dmpar dm+sm |
---|
411 | # |
---|
412 | DMPARALLEL = # 1 |
---|
413 | OMPCPP = # -D_OPENMP |
---|
414 | OMP = # -fopenmp |
---|
415 | SFC = gfortran |
---|
416 | SCC = gcc |
---|
417 | DM_FC = mpif90 |
---|
418 | DM_CC = mpicc |
---|
419 | FC = CONFIGURE_FC |
---|
420 | CC = CONFIGURE_CC |
---|
421 | LD = $(FC) |
---|
422 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
423 | PROMOTION = # -fdefault-real-8 # uncomment manually |
---|
424 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
425 | CFLAGS_LOCAL = -w -O3 -c -DLANDREAD_STUB |
---|
426 | LDFLAGS_LOCAL = |
---|
427 | CPLUSPLUSLIB = |
---|
428 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
429 | FCOPTIM = -O3 -ftree-vectorize -ftree-loop-linear -funroll-loops |
---|
430 | FCREDUCEDOPT = $(FCOPTIM) |
---|
431 | FCNOOPT = -O0 |
---|
432 | FCDEBUG = # -g $(FCNOOPT) |
---|
433 | FORMAT_FIXED = -ffixed-form |
---|
434 | FORMAT_FREE = -ffree-form -ffree-line-length-none |
---|
435 | FCSUFFIX = |
---|
436 | BYTESWAPIO = -fconvert=big-endian -frecord-marker=4 |
---|
437 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
438 | MODULE_SRCH_FLAG = |
---|
439 | TRADFLAG = -traditional |
---|
440 | CPP = /lib/cpp -C -P |
---|
441 | AR = ar |
---|
442 | ARFLAGS = ru |
---|
443 | M4 = m4 -G |
---|
444 | RANLIB = ranlib |
---|
445 | CC_TOOLS = $(SCC) |
---|
446 | |
---|
447 | ########################################################### |
---|
448 | #ARCH Darwin (MACOS) PGI compiler with pgcc #serial smpar dmpar dm+sm |
---|
449 | # |
---|
450 | DMPARALLEL = # 1 |
---|
451 | OMPCPP = # -D_OPENMP |
---|
452 | OMP = # -mp |
---|
453 | SFC = pgf90 |
---|
454 | SCC = pgcc |
---|
455 | DM_FC = mpif90 -f90=$(SFC) |
---|
456 | DM_CC = mpicc -cc=$(SCC) |
---|
457 | FC = CONFIGURE_FC |
---|
458 | CC = CONFIGURE_CC |
---|
459 | LD = $(FC) |
---|
460 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
461 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
462 | ARCH_LOCAL = -DMACOS -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR |
---|
463 | CFLAGS_LOCAL = -DMACOS |
---|
464 | LDFLAGS_LOCAL = |
---|
465 | CPLUSPLUSLIB = |
---|
466 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
467 | FCOPTIM = -O2 -fast |
---|
468 | FCREDUCEDOPT = $(FCOPTIM) |
---|
469 | FCNOOPT = -O0 |
---|
470 | FCDEBUG = # -g $(FCNOOPT) |
---|
471 | FORMAT_FIXED = -Mfixed |
---|
472 | FORMAT_FREE = -Mfree |
---|
473 | FCSUFFIX = |
---|
474 | BYTESWAPIO = -byteswapio |
---|
475 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
476 | MODULE_SRCH_FLAG = -module $(WRF_SRC_ROOT_DIR)/main |
---|
477 | TRADFLAG = -traditional |
---|
478 | CPP = cpp -C -P -xassembler-with-cpp |
---|
479 | AR = ar |
---|
480 | ARFLAGS = ru |
---|
481 | M4 = m4 -B 14000 |
---|
482 | RANLIB = ranlib |
---|
483 | CC_TOOLS = cc |
---|
484 | |
---|
485 | ########################################################### |
---|
486 | #ARCH Darwin (MACOS) intel compiler with icc #serial smpar dmpar dm+sm |
---|
487 | # |
---|
488 | DMPARALLEL = # 1 |
---|
489 | OMPCPP = # -D_OPENMP |
---|
490 | OMP = # -openmp -fpp -auto |
---|
491 | SFC = ifort |
---|
492 | SCC = icc |
---|
493 | DM_FC = mpif90 -f90=$(SFC) |
---|
494 | DM_CC = mpicc -cc=$(SCC) |
---|
495 | FC = CONFIGURE_FC |
---|
496 | CC = CONFIGURE_CC |
---|
497 | LD = $(FC) |
---|
498 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
499 | PROMOTION = -i4 |
---|
500 | ARCH_LOCAL = -DMACOS -DNONSTANDARD_SYSTEM_FUNC |
---|
501 | CFLAGS_LOCAL = -w -O3 -ip -DMACOS |
---|
502 | LDFLAGS_LOCAL = -ip |
---|
503 | CPLUSPLUSLIB = |
---|
504 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
505 | FCOPTIM = -O3 |
---|
506 | FCREDUCEDOPT = $(FCOPTIM) |
---|
507 | FCNOOPT = -O0 |
---|
508 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
509 | FORMAT_FIXED = -FI |
---|
510 | FORMAT_FREE = -FR |
---|
511 | FCSUFFIX = |
---|
512 | BYTESWAPIO = -convert big_endian |
---|
513 | FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
514 | MODULE_SRCH_FLAG = |
---|
515 | TRADFLAG = -traditional |
---|
516 | CPP = cpp -C -P -xassembler-with-cpp |
---|
517 | AR = ar |
---|
518 | ARFLAGS = ru |
---|
519 | M4 = m4 -B 14000 |
---|
520 | RANLIB = ranlib |
---|
521 | CC_TOOLS = cc |
---|
522 | |
---|
523 | ########################################################### |
---|
524 | #ARCH Darwin (MACOS) intel compiler with cc #serial smpar dmpar dm+sm |
---|
525 | # |
---|
526 | DMPARALLEL = # 1 |
---|
527 | OMPCPP = # -D_OPENMP |
---|
528 | OMP = # -openmp -fpp -auto |
---|
529 | SFC = ifort |
---|
530 | SCC = cc |
---|
531 | DM_FC = mpif90 -f90=$(SFC) |
---|
532 | DM_CC = mpicc -cc=$(SCC) |
---|
533 | FC = CONFIGURE_FC |
---|
534 | CC = CONFIGURE_CC |
---|
535 | LD = $(FC) |
---|
536 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
537 | PROMOTION = -i4 |
---|
538 | ARCH_LOCAL = -DMACOS -DNONSTANDARD_SYSTEM_FUNC |
---|
539 | CFLAGS_LOCAL = -w -O3 -DMACOS |
---|
540 | LDFLAGS_LOCAL = |
---|
541 | CPLUSPLUSLIB = |
---|
542 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
543 | FCOPTIM = -O3 |
---|
544 | FCREDUCEDOPT = $(FCOPTIM) |
---|
545 | FCNOOPT = -O0 |
---|
546 | FCDEBUG = # -g $(FCNOOPT) -traceback |
---|
547 | FORMAT_FIXED = -FI |
---|
548 | FORMAT_FREE = -FR |
---|
549 | FCSUFFIX = |
---|
550 | BYTESWAPIO = -convert big_endian |
---|
551 | FCBASEOPTS = -w -ftz -align all -fno-alias -fp-model precise $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
552 | MODULE_SRCH_FLAG = |
---|
553 | TRADFLAG = -traditional |
---|
554 | CPP = cpp -C -P -xassembler-with-cpp |
---|
555 | AR = ar |
---|
556 | ARFLAGS = ru |
---|
557 | M4 = m4 -B 14000 |
---|
558 | RANLIB = ranlib |
---|
559 | CC_TOOLS = cc |
---|
560 | |
---|
561 | ########################################################### |
---|
562 | #ARCH Darwin (MACOS) g95 with gcc #serial dmpar |
---|
563 | # |
---|
564 | DMPARALLEL = # 1 |
---|
565 | OMPCPP = # not supported |
---|
566 | OMP = # not supported |
---|
567 | SFC = g95 |
---|
568 | SCC = gcc |
---|
569 | DM_FC = mpif90 -f90=$(SFC) |
---|
570 | DM_CC = mpicc -cc=$(SCC) |
---|
571 | FC = CONFIGURE_FC |
---|
572 | CC = CONFIGURE_CC |
---|
573 | LD = $(FC) |
---|
574 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
575 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
576 | ARCH_LOCAL = -DG95 -DMACOS -DF2CSTYLE -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR |
---|
577 | CFLAGS_LOCAL = -DMACOS -DF2CSTYLE |
---|
578 | LDFLAGS_LOCAL = |
---|
579 | CPLUSPLUSLIB = |
---|
580 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
581 | FCOPTIM = -O2 # -fast |
---|
582 | FCREDUCEDOPT = $(FCOPTIM) |
---|
583 | FCNOOPT = -O0 |
---|
584 | FCDEBUG = # -g $(FCNOOPT) |
---|
585 | FORMAT_FIXED = -ffixed-form |
---|
586 | FORMAT_FREE = -ffree-form -ffree-line-length-huge |
---|
587 | FCSUFFIX = |
---|
588 | BYTESWAPIO = -fendian=big |
---|
589 | FCBASEOPTS = -Wno=101,139,155,158 $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
590 | MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main |
---|
591 | TRADFLAG = -traditional |
---|
592 | CPP = cpp -C -P -xassembler-with-cpp |
---|
593 | AR = ar |
---|
594 | ARFLAGS = ru |
---|
595 | M4 = m4 -B 14000 |
---|
596 | RANLIB = ranlib |
---|
597 | CC_TOOLS = $(SCC) |
---|
598 | |
---|
599 | ########################################################### |
---|
600 | #ARCH Darwin (MACOS) xlf #serial dmpar |
---|
601 | # |
---|
602 | DMPARALLEL = # 1 |
---|
603 | OMPCPP = # not supported |
---|
604 | OMP = # not supported |
---|
605 | SFC = xlf90_r |
---|
606 | SCC = cc |
---|
607 | DM_FC = mpif90 -f90=$(SFC) |
---|
608 | DM_CC = mpicc -cc=$(SCC) |
---|
609 | FC = CONFIGURE_FC |
---|
610 | CC = CONFIGURE_CC |
---|
611 | LD = $(FC) |
---|
612 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
613 | PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 |
---|
614 | ARCH_LOCAL = -DMAC_KLUDGE -DF2CSTYLE -DNO_RRTM_PHYSICS -DNONSTANDARD_SYSTEM_SUBR |
---|
615 | CFLAGS_LOCAL = -DMACOS -DF2CSTYLE |
---|
616 | LDFLAGS_LOCAL = |
---|
617 | CPLUSPLUSLIB = |
---|
618 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
619 | CPLUSPLUSLIB = |
---|
620 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
621 | FCOPTIM = -O3 -qarch=auto |
---|
622 | FCREDUCEDOPT = $(FCOPTIM) |
---|
623 | FCNOOPT = -qnoopt |
---|
624 | FCDEBUG = # -g $(FCNOOPT) -qfullpath |
---|
625 | FORMAT_FIXED = -qfixed |
---|
626 | FORMAT_FREE = -qfree=f90 |
---|
627 | FCSUFFIX = -qsuffix=f=f90 |
---|
628 | BYTESWAPIO = |
---|
629 | FCBASEOPTS = -qsave $(FCDEBUG) -qmaxmem=32767 -qspillsize=32767 -w |
---|
630 | MODULE_SRCH_FLAG = -fmod=$(WRF_SRC_ROOT_DIR)/main |
---|
631 | TRADFLAG = |
---|
632 | CPP = cpp -C -P |
---|
633 | AR = ar |
---|
634 | ARFLAGS = ru |
---|
635 | M4 = m4 -B 14000 |
---|
636 | RANLIB = ranlib |
---|
637 | CC_TOOLS = $(SCC) |
---|
638 | |
---|
639 | ########################################################### |
---|
640 | #ARCH AIX xlf compiler with xlc #serial smpar dmpar dm+sm |
---|
641 | # |
---|
642 | DMPARALLEL = # 1 |
---|
643 | OMPCPP = # -D_OPENMP |
---|
644 | OMP = # -qsmp=noauto |
---|
645 | SFC = xlf90_r |
---|
646 | SCC = cc_r |
---|
647 | DM_FC = mpxlf90_r |
---|
648 | DM_CC = mpcc_r |
---|
649 | FC = CONFIGURE_FC |
---|
650 | CC = CONFIGURE_CC |
---|
651 | LD = $(FC) |
---|
652 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
653 | PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 |
---|
654 | ARCH_LOCAL = -DNONSTANDARD_SYSTEM_SUBR |
---|
655 | CFLAGS_LOCAL = -DNOUNDERSCORE |
---|
656 | LDFLAGS_LOCAL = |
---|
657 | CPLUSPLUSLIB = -lC |
---|
658 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
659 | # -qhot commented out in 3.0.1.1 release because of reported problems with |
---|
660 | # model results under certain configurations. Use at your own risk. |
---|
661 | FCOPTIM = -O3 # -qhot |
---|
662 | FCREDUCEDOPT = -O2 |
---|
663 | FCNOOPT = -qnoopt |
---|
664 | FCDEBUG = # -g $(FCNOOPT) -qfullpath |
---|
665 | FORMAT_FIXED = -qfixed |
---|
666 | FORMAT_FREE = -qfree=f90 |
---|
667 | FCSUFFIX = -qsuffix=f=f90 |
---|
668 | BYTESWAPIO = |
---|
669 | FCBASEOPTS = -w -qspill=20000 -qmaxmem=32767 $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) #-qflttrap=zerodivide:invalid:enable -qsigtrap |
---|
670 | MODULE_SRCH_FLAG = |
---|
671 | TRADFLAG = |
---|
672 | CPP = /lib/cpp -C -P |
---|
673 | AR = ar |
---|
674 | ARFLAGS = ru |
---|
675 | M4 = m4 -B 14000 |
---|
676 | RANLIB = ranlib |
---|
677 | CC_TOOLS = cc |
---|
678 | |
---|
679 | ########################################################### |
---|
680 | #ARCH Cray XT Catamount/Linux x86_64, PGI compiler with gcc # serial dmpar |
---|
681 | # |
---|
682 | DMPARALLEL = # 1 |
---|
683 | OMPCPP = # not supported |
---|
684 | OMP = # not supported |
---|
685 | SFC = ftn |
---|
686 | SCC = gcc |
---|
687 | DM_FC = ftn |
---|
688 | DM_CC = gcc -I$(MPICH_DIR)/include |
---|
689 | FC = CONFIGURE_FC |
---|
690 | CC = CONFIGURE_CC |
---|
691 | LD = $(FC) |
---|
692 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
693 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
694 | ARCH_LOCAL = -DLANDREAD_STUB -DXT3_Catamount |
---|
695 | CFLAGS_LOCAL = -w -O3 -DLANDREAD_STUB -DXT3_Catamount |
---|
696 | LDFLAGS_LOCAL = |
---|
697 | CPLUSPLUSLIB = |
---|
698 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
699 | # Use this to add XT iobuf library after loading iobuf module, also requires |
---|
700 | # properly built netCDF library that includes iobuf (Catamount OS only) |
---|
701 | #LDFLAGS_LOCAL = $(IOBUF_POST_LINK_OPTS) |
---|
702 | # PGI recommended |
---|
703 | #FCOPTIM = -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed |
---|
704 | FCOPTIM = -O3 -fastsse |
---|
705 | FCREDUCEDOPT = $(FCOPTIM) |
---|
706 | FCNOOPT = -O0 |
---|
707 | FCDEBUG = # -g $(FCNOOPT) |
---|
708 | FORMAT_FIXED = -Mfixed |
---|
709 | FORMAT_FREE = -Mfree |
---|
710 | FCSUFFIX = |
---|
711 | BYTESWAPIO = -byteswapio |
---|
712 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) |
---|
713 | MODULE_SRCH_FLAG = |
---|
714 | TRADFLAG = -traditional |
---|
715 | CPP = /lib/cpp -C -P $(TRADFLAG) |
---|
716 | AR = ar |
---|
717 | ARFLAGS = ru |
---|
718 | M4 = m4 -B 14000 |
---|
719 | RANLIB = ranlib |
---|
720 | CC_TOOLS = $(SCC) |
---|
721 | |
---|
722 | ########################################################### |
---|
723 | #ARCH Cray XT CNL/Linux x86_64, PGI compiler with gcc # serial dmpar smpar dm+sm |
---|
724 | # |
---|
725 | # Recommended CNL/Linux memory allocation settings at run time: |
---|
726 | # export MALLOC_MMAP_MAX_=0 |
---|
727 | # export MALLOC_TRIM_THRESHOLD_=536870912 |
---|
728 | # |
---|
729 | DMPARALLEL = # 1 |
---|
730 | OMPCPP = # -D_OPENMP |
---|
731 | OMP = # -mp=nonuma |
---|
732 | SFC = ftn |
---|
733 | SCC = gcc |
---|
734 | DM_FC = ftn |
---|
735 | DM_CC = gcc -I$(MPICH_DIR)/include |
---|
736 | FC = CONFIGURE_FC |
---|
737 | CC = CONFIGURE_CC |
---|
738 | LD = $(FC) |
---|
739 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
740 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
741 | ARCH_LOCAL = -DLANDREAD_STUB |
---|
742 | CFLAGS_LOCAL = -w -O3 -DLANDREAD_STUB |
---|
743 | LDFLAGS_LOCAL = |
---|
744 | CPLUSPLUSLIB = |
---|
745 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
746 | # PGI recommended |
---|
747 | #FCOPTIM = -O3 -fastsse -Mvect=noaltcode -Msmartalloc -Mprefetch=distance:8 -Mfprelaxed |
---|
748 | FCOPTIM = -O3 -fastsse |
---|
749 | FCREDUCEDOPT = $(FCOPTIM) |
---|
750 | FCNOOPT = -O0 |
---|
751 | OPTERON_TYPE = |
---|
752 | # Use this for AMD Opteron quad-core |
---|
753 | #OPTERON_TYPE = -tp barcelona-64 |
---|
754 | FCDEBUG = # -g $(FCNOOPT) |
---|
755 | FORMAT_FIXED = -Mfixed |
---|
756 | FORMAT_FREE = -Mfree |
---|
757 | FCSUFFIX = |
---|
758 | BYTESWAPIO = -byteswapio |
---|
759 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) $(OPTERON_TYPE) |
---|
760 | MODULE_SRCH_FLAG = |
---|
761 | TRADFLAG = -traditional |
---|
762 | CPP = /lib/cpp -C -P $(TRADFLAG) |
---|
763 | AR = ar |
---|
764 | ARFLAGS = ru |
---|
765 | M4 = m4 -B 14000 |
---|
766 | RANLIB = ranlib |
---|
767 | CC_TOOLS = $(SCC) |
---|
768 | |
---|
769 | ########################################################### |
---|
770 | #ARCH Cray XT CNL/Linux x86_64, Pathscale compiler with gcc # serial dmpar smpar dm+sm |
---|
771 | # |
---|
772 | # Recommended CNL/Linux memory allocation settings at run time: |
---|
773 | # export MALLOC_MMAP_MAX_=0 |
---|
774 | # export MALLOC_TRIM_THRESHOLD_=536870912 |
---|
775 | # |
---|
776 | DMPARALLEL = # 1 |
---|
777 | OMPCPP = # -D_OPENMP |
---|
778 | OMP = # -mp |
---|
779 | SFC = ftn |
---|
780 | SCC = gcc |
---|
781 | DM_FC = ftn |
---|
782 | DM_CC = gcc -I$(MPICH_DIR)/include |
---|
783 | FC = CONFIGURE_FC |
---|
784 | CC = CONFIGURE_CC |
---|
785 | LD = $(FC) |
---|
786 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
787 | PROMOTION = -r$(RWORDSIZE) -i4 |
---|
788 | ARCH_LOCAL = -DLANDREAD_STUB |
---|
789 | CFLAGS_LOCAL = -w -O3 -DLANDREAD_STUB |
---|
790 | LDFLAGS_LOCAL = |
---|
791 | CPLUSPLUSLIB = |
---|
792 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
793 | FCOPTIM = -O3 -OPT:Ofast |
---|
794 | FCREDUCEDOPT = $(FCOPTIM) |
---|
795 | FCNOOPT = -O1 |
---|
796 | OPTERON_TYPE = |
---|
797 | # Use this for AMD Opteron quad-core |
---|
798 | #OPTERON_TYPE = -march=barcelona -mcpu=barcelona -mtune=barcelona -msse4a |
---|
799 | FCDEBUG = # -g $(FCNOOPT) |
---|
800 | FORMAT_FIXED = -fixedform |
---|
801 | FORMAT_FREE = -freeform |
---|
802 | FCSUFFIX = |
---|
803 | BYTESWAPIO = -byteswapio |
---|
804 | FCBASEOPTS = -w $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) $(OPTERON_TYPE) |
---|
805 | MODULE_SRCH_FLAG = |
---|
806 | TRADFLAG = -traditional |
---|
807 | CPP = /lib/cpp -C -P $(TRADFLAG) |
---|
808 | AR = ar |
---|
809 | ARFLAGS = ru |
---|
810 | M4 = m4 -B 14000 |
---|
811 | RANLIB = ranlib |
---|
812 | CC_TOOLS = $(SCC) |
---|
813 | |
---|
814 | ########################################################### |
---|
815 | #ARCH Linux ppc64 BG blxlf compiler with blxlc # dmpar |
---|
816 | # |
---|
817 | DMPARALLEL = # 1 |
---|
818 | OMPCPP = # not supported |
---|
819 | OMP = # not supported |
---|
820 | BGL_SYS = /bgl/BlueLight/ppcfloor/bglsys |
---|
821 | MPI_INC = -I$(BGL_SYS)/include |
---|
822 | MPI_LIB = -L$(BGL_SYS)/lib -lmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts |
---|
823 | SFC = blrts_xlf90 |
---|
824 | SCC = blrts_xlc |
---|
825 | DM_FC = $(SFC) |
---|
826 | DM_CC = $(SCC) |
---|
827 | FC = CONFIGURE_FC |
---|
828 | CC = CONFIGURE_CC |
---|
829 | LD = $(FC) |
---|
830 | RWORDSIZE = CONFIGURE_RWORDSIZE |
---|
831 | PROMOTION = -qrealsize=$(RWORDSIZE) -qintsize=4 |
---|
832 | # If system has even more processors, set VERY_LARGE_MAXPROC to that number |
---|
833 | ARCH_LOCAL = -DMOVE_NL_OUTSIDE_MODULE_CONFIGURE -DNONSTANDARD_SYSTEM_SUBR -DLANDREAD_STUB -DVERY_LARGE_MAXPROC=36768 |
---|
834 | CFLAGS_LOCAL = -DNOUNDERSCORE -DNCARIBM_NOC99 $(MPI_INC) -DLANDREAD_STUB |
---|
835 | LIB_LOCAL = $(MPI_LIB) |
---|
836 | LDFLAGS_LOCAL = -Wl,--allow-multiple-definition -qstatic |
---|
837 | CPLUSPLUSLIB = |
---|
838 | ESMF_LDFLAG = $(CPLUSPLUSLIB) |
---|
839 | FCOPTIM = -O2 -qarch=440 |
---|
840 | FCNOOPT = -qnoopt |
---|
841 | FCDEBUG = # $(FCNOOPT) -qfullpath |
---|
842 | FORMAT_FIXED = -qfixed |
---|
843 | FORMAT_FREE = -qfree=f90 |
---|
844 | FCSUFFIX = -qsuffix=f=f90 |
---|
845 | BYTESWAPIO = |
---|
846 | FCBASEOPTS = -w -qspill=20000 -qmaxmem=64000 $(FCDEBUG) $(FORMAT_FREE) $(BYTESWAPIO) $(MPI_INC) #-qflttrap=zerodivide:invalid:enable -qsigtrap |
---|
847 | MODULE_SRCH_FLAG = |
---|
848 | TRADFLAG = |
---|
849 | # this might be different on different systems but we want the xlf version of cpp, not Linux's |
---|
850 | # NYBlue |
---|
851 | CPP = /opt/ibmcmp/xlf/bg/10.1/exe/cpp -C -P |
---|
852 | # frost.ucar.edu |
---|
853 | CPP = /opt/ibmcmp/xlf/9.1/exe/cpp -C -P |
---|
854 | AR = ar |
---|
855 | ARFLAGS = ru |
---|
856 | M4 = m4 -B 14000 |
---|
857 | RANLIB = ranlib |
---|
858 | CC_TOOLS = cc |
---|
859 | |
---|
860 | ########################################################### |
---|
861 | #ARCH NULL |
---|
862 | |
---|