Merge branch 'cmakeBuild' into develop (PR #230)
[WPS.git] / arch / configure.defaults
blobcdb94071f58b30fa624247bef2231c03974397c5
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 Classic compilers    # 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 oneAPI compilers   # 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                 = ifx
306 SCC                 = icx
307 DM_FC               = mpif90
308 DM_CC               = mpicc
309 FC                  = CONFIGURE_FC
310 CC                  = CONFIGURE_CC
311 LD                  = $(FC)
312 FFLAGS              = -FR -convert big_endian
313 F77FLAGS            = -FI -convert big_endian
314 FCSUFFIX            = 
315 FNGFLAGS            = $(FFLAGS)
316 LDFLAGS             = 
317 CFLAGS              = -w
318 CPP                 = /lib/cpp -P -traditional
319 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
320 ARFLAGS             =
321 CC_TOOLS            = 
323 ########################################################################################################################
324 #ARCH    Linux x86_64, Intel Classic compilers   # 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                 = ifort
330 SCC                 = icc
331 DM_FC               = mpif90
332 DM_CC               = mpicc
333 FC                  = CONFIGURE_FC
334 CC                  = CONFIGURE_CC
335 LD                  = $(FC)
336 FFLAGS              = $(FORMAT_FREE) -convert big_endian
337 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
338 FORMAT_FREE         = -FR
339 FORMAT_FIXED        = -FI
340 FCSUFFIX            = 
341 FNGFLAGS            = $(FFLAGS)
342 LDFLAGS             = 
343 CFLAGS              = -w
344 CPP                 = /lib/cpp -P -traditional
345 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
346 ARFLAGS             =
347 CC_TOOLS            = 
349 ########################################################################################################################
350 #ARCH    Linux x86_64, Intel Classic compilers, SGI MPT   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
352 COMPRESSION_LIBS    = CONFIGURE_COMP_L
353 COMPRESSION_INC     = CONFIGURE_COMP_I
354 FDEFS               = CONFIGURE_FDEFS
355 SFC                 = ifort
356 SCC                 = icc
357 DM_FC               = $(SFC) -I$(MPI_ROOT)/include
358 DM_CC               = $(SCC) -I$(MPI_ROOT)/include
359 FC                  = CONFIGURE_FC
360 CC                  = CONFIGURE_CC
361 LD                  = $(FC)
362 FFLAGS              = $(FORMAT_FREE) -convert big_endian
363 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
364 FORMAT_FREE         = -FR
365 FORMAT_FIXED        = -FI
366 FCSUFFIX            = 
367 FNGFLAGS            = $(FFLAGS)
368 LDFLAGS             = -L$(MPI_ROOT)/lib -lmpi
369 CFLAGS              = -w
370 CPP                 = /lib/cpp -P -traditional
371 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
372 ARFLAGS             =
373 CC_TOOLS            = 
375 ########################################################################################################################
376 #ARCH    Linux x86_64, Intel Classic compilers, IBM POE   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
378 COMPRESSION_LIBS    = CONFIGURE_COMP_L
379 COMPRESSION_INC     = CONFIGURE_COMP_I
380 FDEFS               = CONFIGURE_FDEFS
381 SFC                 = ifort
382 SCC                 = icc
383 DM_FC               = mpfort
384 DM_CC               = mpcc
385 FC                  = CONFIGURE_FC
386 CC                  = CONFIGURE_CC
387 LD                  = $(FC)
388 FFLAGS              = $(FORMAT_FREE) -convert big_endian
389 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
390 FORMAT_FREE         = -FR
391 FORMAT_FIXED        = -FI
392 FCSUFFIX            = 
393 FNGFLAGS            = $(FFLAGS)
394 LDFLAGS             = 
395 CFLAGS              = -w
396 CPP                 = /lib/cpp -P -traditional
397 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
398 ARFLAGS             =
399 CC_TOOLS            = 
401 ########################################################################################################################
402 #ARCH    Darwin Intel PGI compiler  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
404 COMPRESSION_LIBS    = CONFIGURE_COMP_L
405 COMPRESSION_INC     = CONFIGURE_COMP_I
406 FDEFS               = CONFIGURE_FDEFS
407 SFC                 = pgf90
408 SCC                 = pgcc
409 DM_FC               = mpif90
410 DM_CC               = mpicc
411 FC                  = CONFIGURE_FC
412 CC                  = CONFIGURE_CC
413 LD                  = $(FC)
414 FFLAGS              = $(FORMAT_FREE) -byteswapio -O2
415 F77FLAGS            = $(FORMAT_FIXED) -byteswapio -O2
416 FORMAT_FREE         = -Mfree
417 FORMAT_FIXED        = -Mfixed
418 FCSUFFIX            = 
419 FNGFLAGS            = $(FFLAGS)
420 LDFLAGS             = -g
421 CFLAGS              = -O
422 CPP                 = /usr/bin/cpp -P -traditional
423 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
424 ARFLAGS             =
425 RANLIB              = ranlib
426 CC_TOOLS            = 
428 ########################################################################################################################
429 #ARCH    Darwin Intel PGI compiler; optional DM -f90=pgf90  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
431 COMPRESSION_LIBS    = CONFIGURE_COMP_L
432 COMPRESSION_INC     = CONFIGURE_COMP_I
433 FDEFS               = CONFIGURE_FDEFS
434 SFC                 = pgf90
435 SCC                 = pgcc
436 DM_FC               = mpif90
437 DM_CC               = mpicc
438 FC                  = CONFIGURE_FC
439 CC                  = CONFIGURE_CC
440 LD                  = $(FC)
441 FFLAGS              = $(FORMAT_FREE) -byteswapio -O2
442 F77FLAGS            = $(FORMAT_FIXED) -byteswapio -O2
443 FORMAT_FREE         = -Mfree
444 FORMAT_FIXED        = -Mfixed
445 FCSUFFIX            = 
446 FNGFLAGS            = $(FFLAGS)
447 LDFLAGS             = -g
448 CFLAGS              = -O
449 CPP                 = /usr/bin/cpp -P -traditional
450 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
451 ARFLAGS             =
452 RANLIB              = ranlib
453 CC_TOOLS            = 
455 ########################################################################################################################
456 #ARCH   Darwin Intel Intel Classic compilers  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
458 COMPRESSION_LIBS    = CONFIGURE_COMP_L
459 COMPRESSION_INC     = CONFIGURE_COMP_I
460 FDEFS               = CONFIGURE_FDEFS
461 SFC                 = ifort
462 SCC                 = icc
463 DM_FC               = mpif90
464 DM_CC               = mpicc
465 FC                  = CONFIGURE_FC
466 CC                  = CONFIGURE_CC
467 LD                  = $(FC)
468 FFLAGS              = $(FORMAT_FREE) -convert big_endian
469 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
470 FORMAT_FREE         = -FR
471 FORMAT_FIXED        = -FI
472 FCSUFFIX            = 
473 FNGFLAGS            = $(FFLAGS)
474 LDFLAGS             = 
475 CFLAGS              = -w
476 CPP                 = /usr/bin/cpp -P -traditional
477 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
478 ARFLAGS             =
479 CC_TOOLS            = 
481 ########################################################################################################################
482 #ARCH    Darwin Intel g95 compiler    # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
484 COMPRESSION_LIBS    = CONFIGURE_COMP_L
485 COMPRESSION_INC     = CONFIGURE_COMP_I
486 FDEFS               = CONFIGURE_FDEFS
487 SFC                 = g95
488 SCC                 = gcc
489 DM_FC               = mpif90 -f90=g95
490 DM_CC               = mpicc -cc=gcc
491 FC                  = CONFIGURE_FC
492 CC                  = CONFIGURE_CC
493 LD                  = $(FC)
494 FFLAGS              = $(FORMAT_FREE) -g -fendian=big
495 F77FLAGS            = $(FORMAT_FIXED) -g -fendian=big
496 FORMAT_FREE         = -ffree-form
497 FORMAT_FIXED        = -ffixed-form
498 FCSUFFIX            = 
499 FNGFLAGS            = $(FFLAGS)
500 LDFLAGS             = -g
501 CFLAGS              = -g
502 CPP                 = /usr/bin/cpp -P -traditional
503 CPPFLAGS            = -D_DOUBLEUNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS  CONFIGURE_MPI
504 ARFLAGS             =
505 RANLIB              = ranlib
506 CC_TOOLS            = 
508 ########################################################################################################################
509 #ARCH    Darwin Intel gfortran/gcc   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
511 COMPRESSION_LIBS    = CONFIGURE_COMP_L
512 COMPRESSION_INC     = CONFIGURE_COMP_I
513 FDEFS               = CONFIGURE_FDEFS
514 SFC                 = gfortran
515 SCC                 = gcc
516 DM_FC               = mpif90
517 DM_CC               = mpicc
518 FC                  = CONFIGURE_FC
519 CC                  = CONFIGURE_CC
520 LD                  = $(FC)
521 FFLAGS              = $(FORMAT_FREE) -O -fconvert=big-endian -frecord-marker=4
522 F77FLAGS            = $(FORMAT_FIXED) -O -fconvert=big-endian -frecord-marker=4
523 FORMAT_FREE         = -ffree-form
524 FORMAT_FIXED        = -ffixed-form
525 FCCOMPAT            = CONFIGURE_COMPAT_FLAGS
526 FCSUFFIX            = 
527 FNGFLAGS            = $(FFLAGS)
528 LDFLAGS             =
529 CFLAGS              =
530 CPP                 = /usr/bin/cpp -P -traditional
531 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS -DNO_SIGNAL CONFIGURE_MPI
532 ARFLAGS             =
533 RANLIB              = ranlib
534 CC_TOOLS            =
536 ########################################################################################################################
537 #ARCH    Darwin Intel gfortran/clang   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
539 COMPRESSION_LIBS    = CONFIGURE_COMP_L
540 COMPRESSION_INC     = CONFIGURE_COMP_I
541 FDEFS               = CONFIGURE_FDEFS
542 SFC                 = gfortran
543 SCC                 = clang
544 DM_FC               = mpif90
545 DM_CC               = mpicc
546 FC                  = CONFIGURE_FC
547 CC                  = CONFIGURE_CC
548 LD                  = $(FC)
549 FFLAGS              = $(FORMAT_FREE) -O -fconvert=big-endian -frecord-marker=4
550 F77FLAGS            = $(FORMAT_FIXED) -O -fconvert=big-endian -frecord-marker=4
551 FORMAT_FREE         = -ffree-form
552 FORMAT_FIXED        = -ffixed-form
553 FCCOMPAT            = CONFIGURE_COMPAT_FLAGS
554 FCSUFFIX            =
555 FNGFLAGS            = $(FFLAGS)
556 # For a WRF OpenMP build, add the gomp library for WPS
557 LDFLAGS             = # -lgomp 
558 CFLAGS              =
559 CPP                 = /usr/bin/cpp -P -traditional
560 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS -DNO_SIGNAL CONFIGURE_MPI
561 ARFLAGS             =
562 RANLIB              = ranlib
563 CC_TOOLS            =
565 ########################################################################################################################
566 #ARCH    Darwin PPC xlf   # serial serial_NO_GRIB2
568 COMPRESSION_LIBS    = CONFIGURE_COMP_L
569 COMPRESSION_INC     = CONFIGURE_COMP_I
570 FDEFS               = CONFIGURE_FDEFS
571 NCARG_LIBS          = -L$(NCARG_ROOT)/lib -lncarg -lcgm -lncarg_gks -lncarg_c \
572                       -L/usr/X11R6/lib -lX11 \
573                       -L/opt/ibmcmp/xlf/8.1/lib -lg2c
574 SFC                 = xlf90_r
575 SCC                 = gcc-3.3 # NCAR silly thing
576 SCC                 = cc
577 DM_FC               = mpif90 -f90=$(SFC)
578 DM_CC               = mpicc -cc=$(SCC)
579 FC                  = CONFIGURE_FC
580 CC                  = CONFIGURE_CC
581 LD                  = $(FC)
582 FFLAGS              = $(FORMAT_FREE)
583 F77FLAGS            = $(FORMAT_FIXED)
584 FORMAT_FREE         = -qfree
585 FORMAT_FIXED        = -qfixed
586 FCSUFFIX            = 
587 FNGFLAGS            = $(FFLAGS) -qextname
588 LDFLAGS             = -Wl,-stack_size,10000000,-stack_addr,0xc000000
589 CFLAGS              = -O
590 CPP                 = /usr/bin/cpp -P -traditional
591 CPPFLAGS            = -DAIX -DMACOS -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
592 ARFLAGS             =
593 RANLIB              = ranlib
594 CC_TOOLS            = 
595 #CC                 = gcc-3.3 # NCAR silly thing
597 ########################################################################################################################
598 #ARCH    Darwin PPC xlf gcc3.3 SystemStubs  # serial serial_NO_GRIB2
600 COMPRESSION_LIBS    = CONFIGURE_COMP_L
601 COMPRESSION_INC     = CONFIGURE_COMP_I
602 FDEFS               = CONFIGURE_FDEFS
603 NCARG_LIBS          = -L$(NCARG_ROOT)/lib -lncarg -lcgm -lncarg_gks -lncarg_c \
604                       -L/usr/X11R6/lib -lX11 \
605                       -L/opt/ibmcmp/xlf/8.1/lib -lg2c
606 SFC                 = xlf90_r
607 SCC                 = gcc-3.3
608 DM_FC               = mpif90 -f90=$(SFC)
609 DM_CC               = mpicc -cc=$(SCC)
610 FFLAGS              = $(FORMAT_FREE)
611 F77FLAGS            = $(FORMAT_FIXED)
612 FORMAT_FREE         = -qfree
613 FORMAT_FIXED        = -qfixed
614 FNGFLAGS            = $(FFLAGS) -qextname
615 LDFLAGS             = -Wl,-stack_size,10000000,-stack_addr,0xc0000000 -L/usr/lib -lSystemStubs
616 FC                  = CONFIGURE_FC
617 CC                  = CONFIGURE_CC
618 CFLAGS              = -O
619 CPP                 = /usr/bin/cpp -P -traditional
620 CPPFLAGS            = -DAIX -DMACOS -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
621 RANLIB              = ranlib
623 ########################################################################################################################
624 #ARCH    Darwin PPC g95   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
626 COMPRESSION_LIBS    = CONFIGURE_COMP_L
627 COMPRESSION_INC     = CONFIGURE_COMP_I
628 FDEFS               = CONFIGURE_FDEFS
629 SFC                 = g95
630 SCC                 = gcc
631 DM_FC               = mpif90 -f90=g95
632 DM_CC               = mpicc -cc=gcc
633 FC                  = CONFIGURE_FC
634 CC                  = CONFIGURE_CC
635 LD                  = $(FC)
636 FFLAGS              = $(FORMAT_FREE) -g -fno-second-underscore
637 F77FLAGS            = $(FORMAT_FIXED) -g -fno-second-underscore
638 FORMAT_FREE         = -ffree-form
639 FORMAT_FIXED        = -ffixed-form
640 FCSUFFIX            = 
641 FNGFLAGS            = $(FFLAGS)
642 LDFLAGS             = -g
643 CFLAGS              = -g
644 CPP                 = /usr/bin/cpp -P -traditional
645 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUXG95 -DIO_NETCDF -DBIT32 CONFIGURE_MPI
646 ARFLAGS             =
647 RANLIB              = ranlib
648 CC_TOOLS            =
650 ########################################################################################################################
651 #ARCH    AIX something      # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
653 COMPRESSION_LIBS    = CONFIGURE_COMP_L
654 COMPRESSION_INC     = CONFIGURE_COMP_I
655 FDEFS               = CONFIGURE_FDEFS
656 NCARG_LIBS          =
657 NCARG_LIBS2         = -L/usr/local/lib64/r4i4 -lncarg -lncarg_gks -lncarg_c \
658                       -L/usr/X11R6/lib -lX11 -lpng_ncl -lz_ncl
659 SFC                 = xlf90_r
660 SCC                 = cc
661 DM_FC               = mpxlf90_r
662 DM_CC               = mpcc_r
663 FC                  = CONFIGURE_FC
664 CC                  = CONFIGURE_CC
665 LD                  = $(FC)
666 AR                  = ar
667 FFLAGS              = $(FORMAT_FREE)
668 F77FLAGS            = $(FORMAT_FIXED)
669 FORMAT_FREE         = -qfree=f90
670 FORMAT_FIXED        = -qfixed
671 FCSUFFIX            = -qsuffix=f=f90
672 FNGFLAGS            = $(FFLAGS)
673 LDFLAGS             =
674 CFLAGS              =
675 CPP                 = /usr/lib/cpp -P -traditional
676 CPPFLAGS            = -DAIX -DIBM4 -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
677 ARFLAGS             =
679 ########################################################################################################################
680 #ARCH    Compaq OSF1 alpha    # 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                 = f90
686 SCC                 = cc
687 DM_FC               = mpif90
688 DM_CC               = mpicc
689 FC                  = CONFIGURE_FC
690 CC                  = CONFIGURE_FC
691 LD                  = $(FC)
692 FFLAGS              = $(FORMAT_FREE) -convert big_endian
693 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
694 FORMAT_FREE         = -free
695 FORMAT_FIXED        =
696 FNGFLAGS            = $(FFLAGS)
697 LDFLAGS             =    
698 CFLAGS              =    
699 CPP                 = /usr/bin/cpp -P -traditional
700 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DALPHA -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32  CONFIGURE_MPI
701 ARFLAGS             =
703 ########################################################################################################################
704 #ARCH    Linux x86_64 g95 compiler    # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
706 COMPRESSION_LIBS    = CONFIGURE_COMP_L
707 COMPRESSION_INC     = CONFIGURE_COMP_I
708 FDEFS               = CONFIGURE_FDEFS
709 SFC                 = g95
710 SCC                 = gcc
711 DM_FC               = mpif90 -f90=$(SFC)
712 DM_CC               = mpicc -cc=$(SCC)
713 FC                  = CONFIGURE_FC
714 CC                  = CONFIGURE_CC
715 LD                  = $(FC)
716 FFLAGS              = $(FORMAT_FREE) -g -fno-second-underscore
717 F77FLAGS            = $(FORMAT_FIXED) -g -fno-second-underscore
718 FORMAT_FREE         = -ffree-form
719 FORMAT_FIXED        = -ffixed-form
720 FCSUFFIX            = 
721 FNGFLAGS            = $(FFLAGS)
722 LDFLAGS             = -g
723 CFLAGS              = -g
724 CPP                 = /usr/bin/cpp -P -traditional
725 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUXG95 -DIO_NETCDF -DBIT32 CONFIGURE_MPI
726 ARFLAGS             =
728 ########################################################################################################################
729 #ARCH    CYGWIN_NT i686 x86_64 PGI compiler on Windows   # serial_NO_GRIB2 dmpar_NO_GRIB2
731 COMPRESSION_LIBS    = CONFIGURE_COMP_L
732 COMPRESSION_INC     = CONFIGURE_COMP_I
733 FDEFS               = CONFIGURE_FDEFS
734 #NCARG_LIBS2        = -L${PGI}/linux86/6.1/lib -lpgftnrtl -lpgc \
735 #                     -L/usr/lib/gcc-lib/i386-redhat-linux/3.2.3 -lg2c
736 WRF_LIB             = $(WRF_DIR)/external/io_grib1/libio_grib1.a \
737                       $(WRF_DIR)/external/io_grib_share/libio_grib_share.a \
738                       $(WRF_DIR)/external/io_int/libwrfio_int.a \
739                       $(WRF_DIR)/external/io_netcdf/libwrfio_nf.a \
740                       $(NETCDF)/lib/libnetcdf.lib
741 SFC                 = pgf90
742 SCC                 = pgcc
743 DM_FC               = pgf90 -Mmpi=msmpi
744 DM_CC               = pgcc -Mmpi=msmpi
745 FC                  = CONFIGURE_FC
746 CC                  = CONFIGURE_CC
747 LD                  = $(FC)
748 FFLAGS              = $(FORMAT_FREE) -g
749 F77FLAGS            = $(FORMAT_FIXED) -g
750 FORMAT_FREE         = -Mfree
751 FORMAT_FIXED        = -Mfixed
752 FCSUFFIX            = 
753 FNGFLAGS            = $(FFLAGS)
754 LDFLAGS             = -g
755 CFLAGS              = -g
756 CPP                 = cpp -P -traditional
757 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DWIN32 -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
758 ARFLAGS             =
760 ########################################################################################################################
761 #ARCH    SGI IRIX64     # serial serial_NO_GRIB2
763 COMPRESSION_LIBS    = CONFIGURE_COMP_L
764 COMPRESSION_INC     = CONFIGURE_COMP_I
765 FDEFS               = CONFIGURE_FDEFS
766 SFC                 = f90
767 SCC                 = cc
768 DM_FC               = mpif90
769 DM_CC               = mpicc
770 FC                  = CONFIGURE_FC
771 CC                  = CONFIGURE_CC
772 LD                  = $(FC)
773 FFLAGS              = $(FORMAT_FREE) -64
774 F77FLAGS            = $(FORMAT_FIXED) -64
775 FORMAT_FREE         = -freeform
776 FORMAT_FIXED        =
777 FCSUFFIX            = 
778 FNGFLAGS            = $(FFLAGS)
779 LDFLAGS             = -64
780 CFLAGS              = -64
781 CPP                 = /lib/cpp -P -traditional
782 CPPFLAGS            = -D_UNDERSCORE -DSGI -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
783 ARFLAGS             =
784 CC_TOOLS            = 
786 ########################################################################################################################
787 #ARCH    SGI Altix 4700 Linux ia64 Intel   # dmpar
789 #COMPRESSION_LIBS   = -L/contrib/jasper/lib -ljasper \
790 #                     -L/contrib/libpng/lib -lpng \
791 #                     -L/contrib/zlib/lib -lz
792 #COMPRESSION_INC    = -I/contrib/zlib/include \
793 #                     -I/contrib/jasper/include \
794 #                     -I/contrib/libpng/include
795 COMPRESSION_LIBS    = CONFIGURE_COMP_L
796 COMPRESSION_INC     = CONFIGURE_COMP_I
797 FDEFS               = CONFIGURE_FDEFS
798 SFC                 = ifort
799 SCC                 = icc
800 DM_FC               = ifort -lmpi
801 DM_CC               = icc -lmpi
802 FC                  = CONFIGURE_FC
803 CC                  = CONFIGURE_CC
804 LD                  = $(FC)
805 FFLAGS              = $(FORMAT_FREE) -convert big_endian
806 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
807 FORMAT_FREE         = -FR
808 FORMAT_FIXED        = -FI
809 FCSUFFIX            = 
810 FNGFLAGS            = 
811 LDFLAGS             = 
812 CFLAGS              = -w
813 CPP                 = /lib/cpp -P -traditional
814 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
815 ARFLAGS             =
816 CC_TOOLS            = 
818 ########################################################################################################################
819 #ARCH    Sun SunOS    # serial serial_NO_GRIB2
821 COMPRESSION_LIBS    = CONFIGURE_COMP_L
822 COMPRESSION_INC     = CONFIGURE_COMP_I
823 FDEFS               = CONFIGURE_FDEFS
824 SFC                 = f90
825 SCC                 = cc
826 DM_FC               = 
827 DM_CC               = 
828 FC                  = CONFIGURE_FC
829 CC                  = CONFIGURE_CC
830 LD                  = $(FC)
831 FFLAGS              = $(FORMAT_FREE)
832 F77FLAGS            = $(FORMAT_FIXED)
833 FORMAT_FREE         = -free
834 FORMAT_FIXED        =
835 FCSUFFIX            = 
836 FNGFLAGS            = $(FFLAGS)
837 LDFLAGS             = 
838 CFLAGS              = -O
839 CPP                 = /usr/ccs/lib/cpp -P -traditional
840 CPPFLAGS            = -D_UNDERSCORE -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
841 ARFLAGS             =
843 ########################################################################################################################
844 #ARCH   Cray XE/XC CLE/Linux x86_64, Cray compiler  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
846 COMPRESSION_LIBS    = CONFIGURE_COMP_L
847 COMPRESSION_INC     = CONFIGURE_COMP_I
848 FDEFS               = CONFIGURE_FDEFS
849 SFC                 = ftn
850 SCC                 = gcc
851 DM_FC               = ftn
852 DM_CC               = cc
853 FC                  = CONFIGURE_FC
854 CC                  = CONFIGURE_CC
855 LD                  = $(FC)
856 FFLAGS              = $(FORMAT_FREE) -N255 -h byteswapio
857 F77FLAGS            = $(FORMAT_FIXED) -N255 -h byteswapio
858 FORMAT_FREE         = -f free
859 FORMAT_FIXED        = -f fixed
860 FCSUFFIX            =
861 FNGFLAGS            = $(FFLAGS)
862 LDFLAGS             =
863 CFLAGS              = -O2
864 CPP                 = /lib/cpp -P -traditional
865 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
866 ARFLAGS             =
867 CC_TOOLS            =
869 ########################################################################################################################
870 #ARCH   Cray XC CLE/Linux x86_64, Intel Classic compilers  # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
872 COMPRESSION_LIBS    = CONFIGURE_COMP_L
873 COMPRESSION_INC     = CONFIGURE_COMP_I
874 FDEFS               = CONFIGURE_FDEFS
875 SFC                 = ftn
876 SCC                 = cc
877 DM_FC               = $(SFC)
878 DM_CC               = $(SCC) 
879 FC                  = CONFIGURE_FC
880 CC                  = CONFIGURE_CC
881 LD                  = $(FC)
882 FFLAGS              = $(FORMAT_FREE) -convert big_endian
883 F77FLAGS            = $(FORMAT_FIXED) -convert big_endian
884 FORMAT_FREE         = -FR
885 FORMAT_FIXED        = -FI
886 FCSUFFIX            =
887 FNGFLAGS            = $(FFLAGS)
888 LDFLAGS             =
889 CFLAGS              =
890 CPP                 = /lib/cpp -P -traditional
891 CPPFLAGS            = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
892 ARFLAGS             =
893 CC_TOOLS            =
895 ########################################################################################################################
896 #ARCH    NULL   # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
898 #DM_FC              = 
899 #DM_CC              = 
900 #FC                 = 
901 #SFC                = 
902 #LD                 = 
903 #RWORDSIZE          = 
904 #PROMOTION          = 
905 #FCOPTIM            = 
906 #FCREDUCEDOPT       = 
907 #FCNOOPT            = 
908 #FCDEBUG            = 
909 #FORMAT_FIXED       = 
910 #FORMAT_FREE        = 
911 #FCSUFFIX           = 
912 #BYTESWAPIO         = 
913 #FCBASEOPTS         = 
914 #MODULE_SRCH_FLAG   =
915 #TRADFLAG           = 
916 #CPP                = 
917 #AR                 = 
918 #FFLAGS             = $(FORMAT_FREE)
919 #F77FLAGS           = $(FORMAT_FIXED)
920 FORMAT_FREE         =
921 FORMAT_FIXED        =
922 #FCSUFFIX           = 
923 #FNGFLAGS           = 
924 #LDFLAGS            = 
925 #CC                 = 
926 #SCC                = 
927 #CFLAGS             =
928 #CPP                = 
929 #CPPFLAGS           = 
930 #ARFLAGS            =
931 #RANLIB              = 
932 #CC_TOOLS            =