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