Ignoring build files
[WPS.git] / arch / configure.defaults
blob827bac2c68b781233a64c529e56c180cc1bd2886
1 ########################################################################################################################
2 #ARCH   Linux ppc64le POWER Linux, XL compiler # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
4 COMPRESSION_LIBS    = CONFIGURE_COMP_L
5 COMPRESSION_INC     = CONFIGURE_COMP_I
6 FDEFS               = CONFIGURE_FDEFS
7 NCARG_LIBS          =
8 NCARG_LIBS2         =
9 FC                  = mpifort
10 SFC                 = xlf2003_r
11 CC                  = mpicc
12 SCC                 = xlc_r
13 DM_FC               = mpifort
14 DM_CC               = mpicc
15 LD                  = $(FC)
16 FFLAGS              = $(FORMAT_FREE) -qufmt=be
17 F77FLAGS            = $(FORMAT_FIXED) -qufmt=be
18 FORMAT_FREE         = -qfree=f90
19 FORMAT_FIXED        = -qfixed
20 FNGFLAGS            = $(FFLAGS)
21 LDFLAGS             =
22 CFLAGS              =
23 CPP                 = cpp -P -traditional
24 CPPFLAGS            = -Uvector -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
25 ARFLAGS             =
26 ########################################################################################################################
27 #ARCH   Linux ppc64le POWER Linux, PGI compiler # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
29 COMPRESSION_LIBS    = CONFIGURE_COMP_L
30 COMPRESSION_INC     = CONFIGURE_COMP_I
31 FDEFS               = CONFIGURE_FDEFS
32 NCARG_LIBS          =
33 NCARG_LIBS2         =
34 FC                  = mpifort
35 SFC                 = pgfortran
36 CC                  = mpicc
37 SCC                 = pgcc
38 DM_FC               = mpifort
39 DM_CC               = mpicc
40 LD                  = $(FC)
41 FFLAGS              = $(FORMAT_FREE) -byteswapio
42 F77FLAGS            = $(FORMAT_FIXED) -byteswapio
43 FORMAT_FREE         = -Mfree
44 FORMAT_FIXED        = -Mfixed
45 FNGFLAGS            = $(FFLAGS)
46 LDFLAGS             =
47 CFLAGS              =
48 CPP                 = cpp -P -traditional
49 CPPFLAGS            = -Uvector -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
50 ARFLAGS             =
52 ########################################################################################################################
53 #ARCH   Linux ppc64 BG bglxf compiler with blxlc  # dmpar
55 COMPRESSION_LIBS    = -L$(JASPERLIB) -ljasper -lpng -lz
56 COMPRESSION_INC     = -I$(JASPERINC)
57 NCARG_LIBS          =
58 NCARG_LIBS2         = -L/usr/local/lib64/r4i4 -lncarg -lncarg_gks -lncarg_c \
59                       -L/usr/X11R6/lib -lX11
60 BGL_SYS             = /bgl/BlueLight/ppcfloor/bglsys
61 MPI_INC             = -I$(BGL_SYS)/include
62 MPI_LIB             = -L$(BGL_SYS)/lib -lmpich.rts -lmsglayer.rts -lrts.rts -ldevices.rts
63 FC                  = blrts_xlf90
64 SFC                 = blrts_xlf90
65 CC                  = blrts_xlc
66 DM_FC               = blrts_xlf90
67 DM_CC               = blrts_xlc
68 LD                  = $(FC)
69 FFLAGS              = $(FORMAT_FREE) $(MPI_INC)
70 F77FLAGS            = $(FORMAT_FIXED) $(MPI_INC)
71 FORMAT_FREE         = -qfree=f90
72 FORMAT_FIXED        = -qfixed
73 FNGFLAGS            = $(FFLAGS)
74 LDFLAGS             = 
75 SCC                 = cc
76 CFLAGS              = $(MPI_INC)
77 # this might be different on different systems but we want the xlf version of cpp, not Linux's
78 # on frost.ucar.edu
79 CPP                 = /opt/ibmcmp/xlf/9.1/exe/cpp -P -traditional
80 # on NYBlue
81 CPP                 = /opt/ibmcmp/xlf/bg/10.1/exe/cpp -P -traditional
82 CPPFLAGS            = -DAIX -DIBM4 -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
83 ARFLAGS             =
85 ########################################################################################################################
86 #ARCH    Linux i486 i586 i686, PGI compiler    # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
88 COMPRESSION_LIBS    = CONFIGURE_COMP_L
89 COMPRESSION_INC     = CONFIGURE_COMP_I
90 FDEFS               = CONFIGURE_FDEFS
91 NCARG_LIBS2         = -L${PGI}/linux86/6.1/lib -lpgftnrtl -lpgc \
92                       -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3 -lg2c
93 SFC                 = pgf90
94 SCC                 = pgcc
95 DM_FC               = mpif90
96 DM_CC               = mpicc
97 FC                  = CONFIGURE_FC
98 CC                  = CONFIGURE_CC
99 LD                  = $(FC)
100 FFLAGS              = $(FORMAT_FREE) -byteswapio -O
101 F77FLAGS            = $(FORMAT_FIXED) -byteswapio -O
102 FORMAT_FREE         = -Mfree
103 FORMAT_FIXED        = -Mfixed
104 FCSUFFIX            =
105 FNGFLAGS            = $(FFLAGS)
106 LDFLAGS             =
107 CFLAGS              = -O    
108 CPP                 = /lib/cpp -P -traditional
109 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
110 ARFLAGS             =
111 CC_TOOLS            = 
113 ########################################################################################################################
114 #ARCH    Linux i486 i586 i686, Intel compiler    # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
116 COMPRESSION_LIBS    = CONFIGURE_COMP_L
117 COMPRESSION_INC     = CONFIGURE_COMP_I
118 FDEFS               = CONFIGURE_FDEFS
119 SFC                 = ifort
120 SCC                 = icc
121 DM_FC               = mpif90
122 DM_CC               = mpicc
123 FC                  = CONFIGURE_FC
124 CC                  = CONFIGURE_CC 
125 LD                  = $(FC)
126 FFLAGS              = $(FORMAT_FREE) -convert big_endian
127 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
128 FORMAT_FREE         = -FR
129 FORMAT_FIXED        = -FI
130 FCSUFFIX            =
131 FNGFLAGS            = $(FFLAGS)
132 LDFLAGS             =
133 CFLAGS              = -w
134 CPP                 = /lib/cpp -P -traditional
135 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
136 ARFLAGS             =
137 CC_TOOLS            =
139 ########################################################################################################################
140 #ARCH    Linux i486 i586 i686, g95   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
142 COMPRESSION_LIBS    = CONFIGURE_COMP_L
143 COMPRESSION_INC     = CONFIGURE_COMP_I
144 FDEFS               = CONFIGURE_FDEFS
145 SFC                 = g95
146 SCC                 = gcc
147 DM_FC               = mpif90
148 DM_CC               = mpicc
149 FC                  = CONFIGURE_FC
150 CC                  = CONFIGURE_CC 
151 LD                  = $(FC)
152 FFLAGS              = $(FORMAT_FREE) -O -fendian=big
153 F77FLAGS            = $(FORMAT_FIXED) -O -fendian=big
154 FORMAT_FREE         = -ffree-form
155 FORMAT_FIXED        = -ffixed-form
156 FCSUFFIX            = 
157 FNGFLAGS            = $(FFLAGS)
158 LDFLAGS             = 
159 CFLAGS              = 
160 CPP                 = /usr/bin/cpp -P -traditional
161 CPPFLAGS            = -D_DOUBLEUNDERSCORE -DBYTESWAP -DLINUXG95 -DIO_NETCDF -DBIT32 CONFIGURE_MPI
162 ARFLAGS             =
163 CC_TOOLS            = 
165 ########################################################################################################################
166 #ARCH    Linux i486 i586 i686, gfortran   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
168 COMPRESSION_LIBS    = CONFIGURE_COMP_L
169 COMPRESSION_INC     = CONFIGURE_COMP_I
170 FDEFS               = CONFIGURE_FDEFS
171 SFC                 = gfortran
172 SCC                 = gcc
173 DM_FC               = mpif90
174 DM_CC               = mpicc
175 FC                  = CONFIGURE_FC 
176 CC                  = CONFIGURE_CC
177 LD                  = $(FC)
178 FFLAGS              = $(FORMAT_FREE) -O -fconvert=big-endian -frecord-marker=4
179 F77FLAGS            = $(FORMAT_FIXED) -O -fconvert=big-endian -frecord-marker=4
180 FORMAT_FREE         = -ffree-form
181 FORMAT_FIXED        = -ffixed-form
182 FCCOMPAT            = CONFIGURE_COMPAT_FLAGS
183 FCSUFFIX            = 
184 FNGFLAGS            = $(FFLAGS)
185 LDFLAGS             =
186 CFLAGS              =
187 CPP                 = /usr/bin/cpp -P -traditional
188 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL CONFIGURE_MPI
189 RANLIB              = ranlib
191 ########################################################################################################################
192 #ARCH    Linux x86_64, gfortran   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
194 COMPRESSION_LIBS    = CONFIGURE_COMP_L
195 COMPRESSION_INC     = CONFIGURE_COMP_I
196 FDEFS               = CONFIGURE_FDEFS
197 SFC                 = gfortran
198 SCC                 = gcc
199 DM_FC               = mpif90
200 DM_CC               = mpicc
201 FC                  = CONFIGURE_FC 
202 CC                  = CONFIGURE_CC
203 LD                  = $(FC)
204 FFLAGS              = $(FORMAT_FREE) -O -fconvert=big-endian -frecord-marker=4
205 F77FLAGS            = $(FORMAT_FIXED) -O -fconvert=big-endian -frecord-marker=4
206 FORMAT_FREE         = -ffree-form
207 FORMAT_FIXED        = -ffixed-form
208 FCCOMPAT            = CONFIGURE_COMPAT_FLAGS
209 FCSUFFIX            = 
210 FNGFLAGS            = $(FFLAGS)
211 LDFLAGS             =
212 CFLAGS              =
213 CPP                 = /usr/bin/cpp -P -traditional
214 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL CONFIGURE_MPI
215 RANLIB              = ranlib 
217 ########################################################################################################################
218 #ARCH    Linux x86_64, PGI compiler  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
220 COMPRESSION_LIBS    = CONFIGURE_COMP_L
221 COMPRESSION_INC     = CONFIGURE_COMP_I
222 FDEFS               = CONFIGURE_FDEFS
223 NCARG_LIBS2         = -L${PGI}/linux86-64/5.2/lib -lpgftnrtl -lpgc \
224                       -L/usr/lib64 -lg2c
225 SFC                 = pgf90
226 SCC                 = pgcc
227 DM_FC               = mpif90
228 DM_CC               = mpicc
229 FC                  = CONFIGURE_FC
230 CC                  = CONFIGURE_CC
231 LD                  = $(FC) 
232 FFLAGS              = $(FORMAT_FREE) -byteswapio -O
233 F77FLAGS            = $(FORMAT_FIXED) -byteswapio -O
234 FORMAT_FREE         = -Mfree
235 FORMAT_FIXED        = -Mfixed
236 FCSUFFIX            = 
237 FNGFLAGS            = $(FFLAGS)
238 LDFLAGS             = 
239 CFLAGS              = -O
240 CPP                 = /lib/cpp -P -traditional
241 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
242 ARFLAGS             =
243 CC_TOOLS            = 
245 ########################################################################################################################
246 #ARCH    Linux x86_64, PGI compiler, SGI MPT  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
248 COMPRESSION_LIBS    = CONFIGURE_COMP_L
249 COMPRESSION_INC     = CONFIGURE_COMP_I
250 FDEFS               = CONFIGURE_FDEFS
251 NCARG_LIBS2         = -L${PGI}/linux86-64/5.2/lib -lpgftnrtl -lpgc \
252                       -L/usr/lib64 -lg2c
253 SFC                 = pgf90
254 SCC                 = pgcc
255 DM_FC               = $(SFC) -I$(MPI_ROOT)/include
256 DM_CC               = $(SCC) -I$(MPI_ROOT)/include
257 FC                  = CONFIGURE_FC
258 CC                  = CONFIGURE_CC
259 LD                  = $(FC) 
260 FFLAGS              = $(FORMAT_FREE) -byteswapio -O
261 F77FLAGS            = $(FORMAT_FIXED) -byteswapio -O
262 FORMAT_FREE         = -Mfree
263 FORMAT_FIXED        = -Mfixed
264 FCSUFFIX            = 
265 FNGFLAGS            = $(FFLAGS)
266 LDFLAGS             = -L$(MPI_ROOT)/lib -lmpi
267 CFLAGS              = -w -O3
268 CPP                 = /lib/cpp -P -traditional
269 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
270 ARFLAGS             =
271 CC_TOOLS            = 
273 ########################################################################################################################
274 #ARCH   Linux x86_64, IA64 and Opteron   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
276 COMPRESSION_LIBS    = CONFIGURE_COMP_L
277 COMPRESSION_INC     = CONFIGURE_COMP_I
278 FDEFS               = CONFIGURE_FDEFS
279 SFC                 = pathf90
280 SCC                 = pathcc
281 DM_FC               = mpif90 -f90=pathf90
282 DM_CC               = mpicc -cc=pathcc
283 FC                  = CONFIGURE_FC
284 CC                  = CONFIGURE_CC
285 LD                  = $(FC)
286 FFLAGS              = $(FORMAT_FREE) -fno-second-underscore -byteswapio -O
287 F77FLAGS            = $(FORMAT_FIXED) -byteswapio -fno-second-underscore -O
288 FORMAT_FREE         = -freeform
289 FORMAT_FIXED        =
290 FCSUFFIX            = 
291 FNGFLAGS            = $(FFLAGS)
292 LDFLAGS             = 
293 CFLAGS              = -O
294 CPP                 = /lib/cpp -P -traditional
295 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
296 ARFLAGS             =
297 CC_TOOLS            = 
299 ########################################################################################################################
300 #ARCH    Linux x86_64, Intel compiler   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
302 COMPRESSION_LIBS    = CONFIGURE_COMP_L
303 COMPRESSION_INC     = CONFIGURE_COMP_I
304 FDEFS               = CONFIGURE_FDEFS
305 SFC                 = ifort
306 SCC                 = icc
307 DM_FC               = mpif90
308 DM_CC               = mpicc
309 FC                  = CONFIGURE_FC
310 CC                  = CONFIGURE_CC
311 LD                  = $(FC)
312 FFLAGS              = $(FORMAT_FREE) -convert big_endian
313 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
314 FORMAT_FREE         = -FR
315 FORMAT_FIXED        = -FI
316 FCSUFFIX            = 
317 FNGFLAGS            = $(FFLAGS)
318 LDFLAGS             = 
319 CFLAGS              = -w
320 CPP                 = /lib/cpp -P -traditional
321 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
322 ARFLAGS             =
323 CC_TOOLS            = 
325 ########################################################################################################################
326 #ARCH    Linux x86_64, Intel compiler, SGI MPT   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
328 COMPRESSION_LIBS    = CONFIGURE_COMP_L
329 COMPRESSION_INC     = CONFIGURE_COMP_I
330 FDEFS               = CONFIGURE_FDEFS
331 SFC                 = ifort
332 SCC                 = icc
333 DM_FC               = $(SFC) -I$(MPI_ROOT)/include
334 DM_CC               = $(SCC) -I$(MPI_ROOT)/include
335 FC                  = CONFIGURE_FC
336 CC                  = CONFIGURE_CC
337 LD                  = $(FC)
338 FFLAGS              = $(FORMAT_FREE) -convert big_endian
339 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
340 FORMAT_FREE         = -FR
341 FORMAT_FIXED        = -FI
342 FCSUFFIX            = 
343 FNGFLAGS            = $(FFLAGS)
344 LDFLAGS             = -L$(MPI_ROOT)/lib -lmpi
345 CFLAGS              = -w
346 CPP                 = /lib/cpp -P -traditional
347 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
348 ARFLAGS             =
349 CC_TOOLS            = 
351 ########################################################################################################################
352 #ARCH    Linux x86_64, Intel compiler, IBM POE   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
354 COMPRESSION_LIBS    = CONFIGURE_COMP_L
355 COMPRESSION_INC     = CONFIGURE_COMP_I
356 FDEFS               = CONFIGURE_FDEFS
357 SFC                 = ifort
358 SCC                 = icc
359 DM_FC               = mpfort
360 DM_CC               = mpcc
361 FC                  = CONFIGURE_FC
362 CC                  = CONFIGURE_CC
363 LD                  = $(FC)
364 FFLAGS              = $(FORMAT_FREE) -convert big_endian
365 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
366 FORMAT_FREE         = -FR
367 FORMAT_FIXED        = -FI
368 FCSUFFIX            = 
369 FNGFLAGS            = $(FFLAGS)
370 LDFLAGS             = 
371 CFLAGS              = -w
372 CPP                 = /lib/cpp -P -traditional
373 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
374 ARFLAGS             =
375 CC_TOOLS            = 
377 ########################################################################################################################
378 #ARCH    Darwin Intel PGI compiler  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
380 COMPRESSION_LIBS    = CONFIGURE_COMP_L
381 COMPRESSION_INC     = CONFIGURE_COMP_I
382 FDEFS               = CONFIGURE_FDEFS
383 SFC                 = pgf90
384 SCC                 = pgcc
385 DM_FC               = mpif90
386 DM_CC               = mpicc
387 FC                  = CONFIGURE_FC
388 CC                  = CONFIGURE_CC
389 LD                  = $(FC)
390 FFLAGS              = $(FORMAT_FREE) -byteswapio -O2
391 F77FLAGS            = $(FORMAT_FIXED) -byteswapio -O2
392 FORMAT_FREE         = -Mfree
393 FORMAT_FIXED        = -Mfixed
394 FCSUFFIX            = 
395 FNGFLAGS            = $(FFLAGS)
396 LDFLAGS             = -g
397 CFLAGS              = -O
398 CPP                 = /usr/bin/cpp -P -traditional
399 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
400 ARFLAGS             =
401 RANLIB              = ranlib
402 CC_TOOLS            = 
404 ########################################################################################################################
405 #ARCH    Darwin Intel PGI compiler; optional DM -f90=pgf90  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
407 COMPRESSION_LIBS    = CONFIGURE_COMP_L
408 COMPRESSION_INC     = CONFIGURE_COMP_I
409 FDEFS               = CONFIGURE_FDEFS
410 SFC                 = pgf90
411 SCC                 = pgcc
412 DM_FC               = mpif90
413 DM_CC               = mpicc
414 FC                  = CONFIGURE_FC
415 CC                  = CONFIGURE_CC
416 LD                  = $(FC)
417 FFLAGS              = $(FORMAT_FREE) -byteswapio -O2
418 F77FLAGS            = $(FORMAT_FIXED) -byteswapio -O2
419 FORMAT_FREE         = -Mfree
420 FORMAT_FIXED        = -Mfixed
421 FCSUFFIX            = 
422 FNGFLAGS            = $(FFLAGS)
423 LDFLAGS             = -g
424 CFLAGS              = -O
425 CPP                 = /usr/bin/cpp -P -traditional
426 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
427 ARFLAGS             =
428 RANLIB              = ranlib
429 CC_TOOLS            = 
431 ########################################################################################################################
432 #ARCH   Darwin Intel Intel compiler  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
434 COMPRESSION_LIBS    = CONFIGURE_COMP_L
435 COMPRESSION_INC     = CONFIGURE_COMP_I
436 FDEFS               = CONFIGURE_FDEFS
437 SFC                 = ifort
438 SCC                 = icc
439 DM_FC               = mpif90
440 DM_CC               = mpicc
441 FC                  = CONFIGURE_FC
442 CC                  = CONFIGURE_CC
443 LD                  = $(FC)
444 FFLAGS              = $(FORMAT_FREE) -convert big_endian
445 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
446 FORMAT_FREE         = -FR
447 FORMAT_FIXED        = -FI
448 FCSUFFIX            = 
449 FNGFLAGS            = $(FFLAGS)
450 LDFLAGS             = 
451 CFLAGS              = -w
452 CPP                 = /usr/bin/cpp -P -traditional
453 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
454 ARFLAGS             =
455 CC_TOOLS            = 
457 ########################################################################################################################
458 #ARCH    Darwin Intel g95 compiler    # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
460 COMPRESSION_LIBS    = CONFIGURE_COMP_L
461 COMPRESSION_INC     = CONFIGURE_COMP_I
462 FDEFS               = CONFIGURE_FDEFS
463 SFC                 = g95
464 SCC                 = gcc
465 DM_FC               = mpif90 -f90=g95
466 DM_CC               = mpicc -cc=gcc
467 FC                  = CONFIGURE_FC
468 CC                  = CONFIGURE_CC
469 LD                  = $(FC)
470 FFLAGS              = $(FORMAT_FREE) -g -fendian=big
471 F77FLAGS            = $(FORMAT_FIXED) -g -fendian=big
472 FORMAT_FREE         = -ffree-form
473 FORMAT_FIXED        = -ffixed-form
474 FCSUFFIX            = 
475 FNGFLAGS            = $(FFLAGS)
476 LDFLAGS             = -g
477 CFLAGS              = -g
478 CPP                 = /usr/bin/cpp -P -traditional
479 CPPFLAGS            = -D_DOUBLEUNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS  CONFIGURE_MPI
480 ARFLAGS             =
481 RANLIB              = ranlib
482 CC_TOOLS            = 
484 ########################################################################################################################
485 #ARCH    Darwin Intel gfortran/gcc   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
487 COMPRESSION_LIBS    = CONFIGURE_COMP_L
488 COMPRESSION_INC     = CONFIGURE_COMP_I
489 FDEFS               = CONFIGURE_FDEFS
490 SFC                 = gfortran
491 SCC                 = gcc
492 DM_FC               = mpif90
493 DM_CC               = mpicc
494 FC                  = CONFIGURE_FC
495 CC                  = CONFIGURE_CC
496 LD                  = $(FC)
497 FFLAGS              = $(FORMAT_FREE) -O -fconvert=big-endian -frecord-marker=4
498 F77FLAGS            = $(FORMAT_FIXED) -O -fconvert=big-endian -frecord-marker=4
499 FORMAT_FREE         = -ffree-form
500 FORMAT_FIXED        = -ffixed-form
501 FCCOMPAT            = CONFIGURE_COMPAT_FLAGS
502 FCSUFFIX            = 
503 FNGFLAGS            = $(FFLAGS)
504 LDFLAGS             =
505 CFLAGS              =
506 CPP                 = /usr/bin/cpp -P -traditional
507 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS -DNO_SIGNAL CONFIGURE_MPI
508 ARFLAGS             =
509 RANLIB              = ranlib
510 CC_TOOLS            =
512 ########################################################################################################################
513 #ARCH    Darwin Intel gfortran/clang   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
515 COMPRESSION_LIBS    = CONFIGURE_COMP_L
516 COMPRESSION_INC     = CONFIGURE_COMP_I
517 FDEFS               = CONFIGURE_FDEFS
518 SFC                 = gfortran
519 SCC                 = clang
520 DM_FC               = mpif90
521 DM_CC               = mpicc
522 FC                  = CONFIGURE_FC
523 CC                  = CONFIGURE_CC
524 LD                  = $(FC)
525 FFLAGS              = $(FORMAT_FREE) -O -fconvert=big-endian -frecord-marker=4
526 F77FLAGS            = $(FORMAT_FIXED) -O -fconvert=big-endian -frecord-marker=4
527 FORMAT_FREE         = -ffree-form
528 FORMAT_FIXED        = -ffixed-form
529 FCCOMPAT            = CONFIGURE_COMPAT_FLAGS
530 FCSUFFIX            =
531 FNGFLAGS            = $(FFLAGS)
532 # For a WRF OpenMP build, add the gomp library for WPS
533 LDFLAGS             = # -lgomp 
534 CFLAGS              =
535 CPP                 = /usr/bin/cpp -P -traditional
536 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS -DNO_SIGNAL CONFIGURE_MPI
537 ARFLAGS             =
538 RANLIB              = ranlib
539 CC_TOOLS            =
541 ########################################################################################################################
542 #ARCH    Darwin PPC xlf   # serial serial_NO_GRIB2
544 COMPRESSION_LIBS    = CONFIGURE_COMP_L
545 COMPRESSION_INC     = CONFIGURE_COMP_I
546 FDEFS               = CONFIGURE_FDEFS
547 NCARG_LIBS          = -L$(NCARG_ROOT)/lib -lncarg -lcgm -lncarg_gks -lncarg_c \
548                       -L/usr/X11R6/lib -lX11 \
549                       -L/opt/ibmcmp/xlf/8.1/lib -lg2c
550 SFC                 = xlf90_r
551 SCC                 = gcc-3.3 # NCAR silly thing
552 SCC                 = cc
553 DM_FC               = mpif90 -f90=$(SFC)
554 DM_CC               = mpicc -cc=$(SCC)
555 FC                  = CONFIGURE_FC
556 CC                  = CONFIGURE_CC
557 LD                  = $(FC)
558 FFLAGS              = $(FORMAT_FREE)
559 F77FLAGS            = $(FORMAT_FIXED)
560 FORMAT_FREE         = -qfree
561 FORMAT_FIXED        = -qfixed
562 FCSUFFIX            = 
563 FNGFLAGS            = $(FFLAGS) -qextname
564 LDFLAGS             = -Wl,-stack_size,10000000,-stack_addr,0xc000000
565 CFLAGS              = -O
566 CPP                 = /usr/bin/cpp -P -traditional
567 CPPFLAGS            = -DAIX -DMACOS -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
568 ARFLAGS             =
569 RANLIB              = ranlib
570 CC_TOOLS            = 
571 #CC                 = gcc-3.3 # NCAR silly thing
573 ########################################################################################################################
574 #ARCH    Darwin PPC xlf gcc3.3 SystemStubs  # serial serial_NO_GRIB2
576 COMPRESSION_LIBS    = CONFIGURE_COMP_L
577 COMPRESSION_INC     = CONFIGURE_COMP_I
578 FDEFS               = CONFIGURE_FDEFS
579 NCARG_LIBS          = -L$(NCARG_ROOT)/lib -lncarg -lcgm -lncarg_gks -lncarg_c \
580                       -L/usr/X11R6/lib -lX11 \
581                       -L/opt/ibmcmp/xlf/8.1/lib -lg2c
582 SFC                 = xlf90_r
583 SCC                 = gcc-3.3
584 DM_FC               = mpif90 -f90=$(SFC)
585 DM_CC               = mpicc -cc=$(SCC)
586 FFLAGS              = $(FORMAT_FREE)
587 F77FLAGS            = $(FORMAT_FIXED)
588 FORMAT_FREE         = -qfree
589 FORMAT_FIXED        = -qfixed
590 FNGFLAGS            = $(FFLAGS) -qextname
591 LDFLAGS             = -Wl,-stack_size,10000000,-stack_addr,0xc0000000 -L/usr/lib -lSystemStubs
592 FC                  = CONFIGURE_FC
593 CC                  = CONFIGURE_CC
594 CFLAGS              = -O
595 CPP                 = /usr/bin/cpp -P -traditional
596 CPPFLAGS            = -DAIX -DMACOS -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
597 RANLIB              = ranlib
599 ########################################################################################################################
600 #ARCH    Darwin PPC g95   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
602 COMPRESSION_LIBS    = CONFIGURE_COMP_L
603 COMPRESSION_INC     = CONFIGURE_COMP_I
604 FDEFS               = CONFIGURE_FDEFS
605 SFC                 = g95
606 SCC                 = gcc
607 DM_FC               = mpif90 -f90=g95
608 DM_CC               = mpicc -cc=gcc
609 FC                  = CONFIGURE_FC
610 CC                  = CONFIGURE_CC
611 LD                  = $(FC)
612 FFLAGS              = $(FORMAT_FREE) -g -fno-second-underscore
613 F77FLAGS            = $(FORMAT_FIXED) -g -fno-second-underscore
614 FORMAT_FREE         = -ffree-form
615 FORMAT_FIXED        = -ffixed-form
616 FCSUFFIX            = 
617 FNGFLAGS            = $(FFLAGS)
618 LDFLAGS             = -g
619 CFLAGS              = -g
620 CPP                 = /usr/bin/cpp -P -traditional
621 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUXG95 -DIO_NETCDF -DBIT32 CONFIGURE_MPI
622 ARFLAGS             =
623 RANLIB              = ranlib
624 CC_TOOLS            =
626 ########################################################################################################################
627 #ARCH    AIX something      # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
629 COMPRESSION_LIBS    = CONFIGURE_COMP_L
630 COMPRESSION_INC     = CONFIGURE_COMP_I
631 FDEFS               = CONFIGURE_FDEFS
632 NCARG_LIBS          =
633 NCARG_LIBS2         = -L/usr/local/lib64/r4i4 -lncarg -lncarg_gks -lncarg_c \
634                       -L/usr/X11R6/lib -lX11 -lpng_ncl -lz_ncl
635 SFC                 = xlf90_r
636 SCC                 = cc
637 DM_FC               = mpxlf90_r
638 DM_CC               = mpcc_r
639 FC                  = CONFIGURE_FC
640 CC                  = CONFIGURE_CC
641 LD                  = $(FC)
642 AR                  = ar
643 FFLAGS              = $(FORMAT_FREE)
644 F77FLAGS            = $(FORMAT_FIXED)
645 FORMAT_FREE         = -qfree=f90
646 FORMAT_FIXED        = -qfixed
647 FCSUFFIX            = -qsuffix=f=f90
648 FNGFLAGS            = $(FFLAGS)
649 LDFLAGS             =
650 CFLAGS              =
651 CPP                 = /usr/lib/cpp -P -traditional
652 CPPFLAGS            = -DAIX -DIBM4 -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
653 ARFLAGS             =
655 ########################################################################################################################
656 #ARCH    Compaq OSF1 alpha    # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
658 COMPRESSION_LIBS    = CONFIGURE_COMP_L
659 COMPRESSION_INC     = CONFIGURE_COMP_I
660 FDEFS               = CONFIGURE_FDEFS 
661 SFC                 = f90
662 SCC                 = cc
663 DM_FC               = mpif90
664 DM_CC               = mpicc
665 FC                  = CONFIGURE_FC
666 CC                  = CONFIGURE_FC
667 LD                  = $(FC)
668 FFLAGS              = $(FORMAT_FREE) -convert big_endian
669 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
670 FORMAT_FREE         = -free
671 FORMAT_FIXED        =
672 FNGFLAGS            = $(FFLAGS)
673 LDFLAGS             =    
674 CFLAGS              =    
675 CPP                 = /usr/bin/cpp -P -traditional
676 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DALPHA -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  CONFIGURE_MPI
677 ARFLAGS             =
679 ########################################################################################################################
680 #ARCH    Linux x86_64 g95 compiler    # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
682 COMPRESSION_LIBS    = CONFIGURE_COMP_L
683 COMPRESSION_INC     = CONFIGURE_COMP_I
684 FDEFS               = CONFIGURE_FDEFS
685 SFC                 = g95
686 SCC                 = gcc
687 DM_FC               = mpif90 -f90=$(SFC)
688 DM_CC               = mpicc -cc=$(SCC)
689 FC                  = CONFIGURE_FC
690 CC                  = CONFIGURE_CC
691 LD                  = $(FC)
692 FFLAGS              = $(FORMAT_FREE) -g -fno-second-underscore
693 F77FLAGS            = $(FORMAT_FIXED) -g -fno-second-underscore
694 FORMAT_FREE         = -ffree-form
695 FORMAT_FIXED        = -ffixed-form
696 FCSUFFIX            = 
697 FNGFLAGS            = $(FFLAGS)
698 LDFLAGS             = -g
699 CFLAGS              = -g
700 CPP                 = /usr/bin/cpp -P -traditional
701 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUXG95 -DIO_NETCDF -DBIT32 CONFIGURE_MPI
702 ARFLAGS             =
704 ########################################################################################################################
705 #ARCH    CYGWIN_NT i686 x86_64 PGI compiler on Windows   # serial_NO_GRIB2 dmpar_NO_GRIB2
707 COMPRESSION_LIBS    = CONFIGURE_COMP_L
708 COMPRESSION_INC     = CONFIGURE_COMP_I
709 FDEFS               = CONFIGURE_FDEFS
710 #NCARG_LIBS2        = -L${PGI}/linux86/6.1/lib -lpgftnrtl -lpgc \
711 #                     -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3 -lg2c
712 WRF_LIB             = $(WRF_DIR)/external/io_grib1/libio_grib1.a \
713                       $(WRF_DIR)/external/io_grib_share/libio_grib_share.a \
714                       $(WRF_DIR)/external/io_int/libwrfio_int.a \
715                       $(WRF_DIR)/external/io_netcdf/libwrfio_nf.a \
716                       $(NETCDF)/lib/libnetcdf.lib
717 SFC                 = pgf90
718 SCC                 = pgcc
719 DM_FC               = pgf90 -Mmpi=msmpi
720 DM_CC               = pgcc -Mmpi=msmpi
721 FC                  = CONFIGURE_FC
722 CC                  = CONFIGURE_CC
723 LD                  = $(FC)
724 FFLAGS              = $(FORMAT_FREE) -g
725 F77FLAGS            = $(FORMAT_FIXED) -g
726 FORMAT_FREE         = -Mfree
727 FORMAT_FIXED        = -Mfixed
728 FCSUFFIX            = 
729 FNGFLAGS            = $(FFLAGS)
730 LDFLAGS             = -g
731 CFLAGS              = -g
732 CPP                 = cpp -P -traditional
733 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DWIN32 -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
734 ARFLAGS             =
736 ########################################################################################################################
737 #ARCH    SGI IRIX64     # serial serial_NO_GRIB2
739 COMPRESSION_LIBS    = CONFIGURE_COMP_L
740 COMPRESSION_INC     = CONFIGURE_COMP_I
741 FDEFS               = CONFIGURE_FDEFS
742 SFC                 = f90
743 SCC                 = cc
744 DM_FC               = mpif90
745 DM_CC               = mpicc
746 FC                  = CONFIGURE_FC
747 CC                  = CONFIGURE_CC
748 LD                  = $(FC)
749 FFLAGS              = $(FORMAT_FREE) -64
750 F77FLAGS            = $(FORMAT_FIXED) -64
751 FORMAT_FREE         = -freeform
752 FORMAT_FIXED        =
753 FCSUFFIX            = 
754 FNGFLAGS            = $(FFLAGS)
755 LDFLAGS             = -64
756 CFLAGS              = -64
757 CPP                 = /lib/cpp -P -traditional
758 CPPFLAGS            = -D_UNDERSCORE -DSGI -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
759 ARFLAGS             =
760 CC_TOOLS            = 
762 ########################################################################################################################
763 #ARCH    SGI Altix 4700 Linux ia64 Intel   # dmpar
765 #COMPRESSION_LIBS   = -L/contrib/jasper/lib -ljasper \
766 #                     -L/contrib/libpng/lib -lpng \
767 #                     -L/contrib/zlib/lib -lz
768 #COMPRESSION_INC    = -I/contrib/zlib/include \
769 #                     -I/contrib/jasper/include \
770 #                     -I/contrib/libpng/include
771 COMPRESSION_LIBS    = CONFIGURE_COMP_L
772 COMPRESSION_INC     = CONFIGURE_COMP_I
773 FDEFS               = CONFIGURE_FDEFS
774 SFC                 = ifort
775 SCC                 = icc
776 DM_FC               = ifort -lmpi
777 DM_CC               = icc -lmpi
778 FC                  = CONFIGURE_FC
779 CC                  = CONFIGURE_CC
780 LD                  = $(FC)
781 FFLAGS              = $(FORMAT_FREE) -convert big_endian
782 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
783 FORMAT_FREE         = -FR
784 FORMAT_FIXED        = -FI
785 FCSUFFIX            = 
786 FNGFLAGS            = 
787 LDFLAGS             = 
788 CFLAGS              = -w
789 CPP                 = /lib/cpp -P -traditional
790 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
791 ARFLAGS             =
792 CC_TOOLS            = 
794 ########################################################################################################################
795 #ARCH    Sun SunOS    # serial serial_NO_GRIB2
797 COMPRESSION_LIBS    = CONFIGURE_COMP_L
798 COMPRESSION_INC     = CONFIGURE_COMP_I
799 FDEFS               = CONFIGURE_FDEFS
800 SFC                 = f90
801 SCC                 = cc
802 DM_FC               = 
803 DM_CC               = 
804 FC                  = CONFIGURE_FC
805 CC                  = CONFIGURE_CC
806 LD                  = $(FC)
807 FFLAGS              = $(FORMAT_FREE)
808 F77FLAGS            = $(FORMAT_FIXED)
809 FORMAT_FREE         = -free
810 FORMAT_FIXED        =
811 FCSUFFIX            = 
812 FNGFLAGS            = $(FFLAGS)
813 LDFLAGS             = 
814 CFLAGS              = -O
815 CPP                 = /usr/ccs/lib/cpp -P -traditional
816 CPPFLAGS            = -D_UNDERSCORE -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
817 ARFLAGS             =
819 ########################################################################################################################
820 #ARCH   Cray XE/XC CLE/Linux x86_64, Cray compiler  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
822 COMPRESSION_LIBS    = CONFIGURE_COMP_L
823 COMPRESSION_INC     = CONFIGURE_COMP_I
824 FDEFS               = CONFIGURE_FDEFS
825 SFC                 = ftn
826 SCC                 = gcc
827 DM_FC               = ftn
828 DM_CC               = cc
829 FC                  = CONFIGURE_FC
830 CC                  = CONFIGURE_CC
831 LD                  = $(FC)
832 FFLAGS              = $(FORMAT_FREE) -N255 -h byteswapio
833 F77FLAGS            = $(FORMAT_FIXED) -N255 -h byteswapio
834 FORMAT_FREE         = -f free
835 FORMAT_FIXED        = -f fixed
836 FCSUFFIX            =
837 FNGFLAGS            = $(FFLAGS)
838 LDFLAGS             =
839 CFLAGS              = -O2
840 CPP                 = /lib/cpp -P -traditional
841 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
842 ARFLAGS             =
843 CC_TOOLS            =
845 ########################################################################################################################
846 #ARCH   Cray XC CLE/Linux x86_64, Intel compiler  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
848 COMPRESSION_LIBS    = CONFIGURE_COMP_L
849 COMPRESSION_INC     = CONFIGURE_COMP_I
850 FDEFS               = CONFIGURE_FDEFS
851 SFC                 = ftn
852 SCC                 = cc
853 DM_FC               = $(SFC)
854 DM_CC               = $(SCC) 
855 FC                  = CONFIGURE_FC
856 CC                  = CONFIGURE_CC
857 LD                  = $(FC)
858 FFLAGS              = $(FORMAT_FREE) -convert big_endian
859 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
860 FORMAT_FREE         = -FR
861 FORMAT_FIXED        = -FI
862 FCSUFFIX            =
863 FNGFLAGS            = $(FFLAGS)
864 LDFLAGS             =
865 CFLAGS              =
866 CPP                 = /lib/cpp -P -traditional
867 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
868 ARFLAGS             =
869 CC_TOOLS            =
871 ########################################################################################################################
872 #ARCH    NULL   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
874 #DM_FC              = 
875 #DM_CC              = 
876 #FC                 = 
877 #SFC                = 
878 #LD                 = 
879 #RWORDSIZE          = 
880 #PROMOTION          = 
881 #FCOPTIM            = 
882 #FCREDUCEDOPT       = 
883 #FCNOOPT            = 
884 #FCDEBUG            = 
885 #FORMAT_FIXED       = 
886 #FORMAT_FREE        = 
887 #FCSUFFIX           = 
888 #BYTESWAPIO         = 
889 #FCBASEOPTS         = 
890 #MODULE_SRCH_FLAG   =
891 #TRADFLAG           = 
892 #CPP                = 
893 #AR                 = 
894 #FFLAGS             = $(FORMAT_FREE)
895 #F77FLAGS           = $(FORMAT_FIXED)
896 FORMAT_FREE         =
897 FORMAT_FIXED        =
898 #FCSUFFIX           = 
899 #FNGFLAGS           = 
900 #LDFLAGS            = 
901 #CC                 = 
902 #SCC                = 
903 #CFLAGS             =
904 #CPP                = 
905 #CPPFLAGS           = 
906 #ARFLAGS            =
907 #RANLIB              = 
908 #CC_TOOLS            =