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