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
16 FFLAGS = $(FORMAT_FREE) -qufmt=be
17 F77FLAGS = $(FORMAT_FIXED) -qufmt=be
18 FORMAT_FREE = -qfree=f90
19 FORMAT_FIXED = -qfixed
23 CPP = cpp -P -traditional
24 CPPFLAGS = -Uvector -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
41 FFLAGS = $(FORMAT_FREE) -byteswapio
42 F77FLAGS = $(FORMAT_FIXED) -byteswapio
44 FORMAT_FIXED = -Mfixed
48 CPP = cpp -P -traditional
49 CPPFLAGS = -Uvector -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
52 ########################################################################################################################
53 #ARCH Linux ppc64 BG bglxf compiler with blxlc # dmpar
55 COMPRESSION_LIBS = -L$(JASPERLIB) -ljasper -lpng -lz
56 COMPRESSION_INC = -I$(JASPERINC)
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
69 FFLAGS = $(FORMAT_FREE) $(MPI_INC)
70 F77FLAGS = $(FORMAT_FIXED) $(MPI_INC)
71 FORMAT_FREE = -qfree=f90
72 FORMAT_FIXED = -qfixed
77 # this might be different on different systems but we want the xlf version of cpp, not Linux's
79 CPP = /opt/ibmcmp/xlf/9.1/exe/cpp -P -traditional
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
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
100 FFLAGS = $(FORMAT_FREE) -byteswapio -O
101 F77FLAGS = $(FORMAT_FIXED) -byteswapio -O
103 FORMAT_FIXED = -Mfixed
108 CPP = /lib/cpp -P -traditional
109 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
126 FFLAGS = $(FORMAT_FREE) -convert big_endian
127 F77FLAGS = $(FORMAT_FIXED) -convert big_endian
134 CPP = /lib/cpp -P -traditional
135 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
152 FFLAGS = $(FORMAT_FREE) -O -fendian=big
153 F77FLAGS = $(FORMAT_FIXED) -O -fendian=big
154 FORMAT_FREE = -ffree-form
155 FORMAT_FIXED = -ffixed-form
160 CPP = /usr/bin/cpp -P -traditional
161 CPPFLAGS = -D_DOUBLEUNDERSCORE -DBYTESWAP -DLINUXG95 -DIO_NETCDF -DBIT32 CONFIGURE_MPI
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
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
187 CPP = /usr/bin/cpp -P -traditional
188 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL CONFIGURE_MPI
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
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
213 CPP = /usr/bin/cpp -P -traditional
214 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DBIT32 -DNO_SIGNAL CONFIGURE_MPI
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 \
232 FFLAGS = $(FORMAT_FREE) -byteswapio -O
233 F77FLAGS = $(FORMAT_FIXED) -byteswapio -O
235 FORMAT_FIXED = -Mfixed
240 CPP = /lib/cpp -P -traditional
241 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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 \
255 DM_FC = $(SFC) -I$(MPI_ROOT)/include
256 DM_CC = $(SCC) -I$(MPI_ROOT)/include
260 FFLAGS = $(FORMAT_FREE) -byteswapio -O
261 F77FLAGS = $(FORMAT_FIXED) -byteswapio -O
263 FORMAT_FIXED = -Mfixed
266 LDFLAGS = -L$(MPI_ROOT)/lib -lmpi
268 CPP = /lib/cpp -P -traditional
269 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
281 DM_FC = mpif90 -f90=pathf90
282 DM_CC = mpicc -cc=pathcc
286 FFLAGS = $(FORMAT_FREE) -fno-second-underscore -byteswapio -O
287 F77FLAGS = $(FORMAT_FIXED) -byteswapio -fno-second-underscore -O
288 FORMAT_FREE = -freeform
294 CPP = /lib/cpp -P -traditional
295 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
312 FFLAGS = -FR -convert big_endian
313 F77FLAGS = -FI -convert big_endian
318 CPP = /lib/cpp -P -traditional
319 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
336 FFLAGS = $(FORMAT_FREE) -convert big_endian
337 F77FLAGS = $(FORMAT_FIXED) -convert big_endian
344 CPP = /lib/cpp -P -traditional
345 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
357 DM_FC = $(SFC) -I$(MPI_ROOT)/include
358 DM_CC = $(SCC) -I$(MPI_ROOT)/include
362 FFLAGS = $(FORMAT_FREE) -convert big_endian
363 F77FLAGS = $(FORMAT_FIXED) -convert big_endian
368 LDFLAGS = -L$(MPI_ROOT)/lib -lmpi
370 CPP = /lib/cpp -P -traditional
371 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
388 FFLAGS = $(FORMAT_FREE) -convert big_endian
389 F77FLAGS = $(FORMAT_FIXED) -convert big_endian
396 CPP = /lib/cpp -P -traditional
397 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
414 FFLAGS = $(FORMAT_FREE) -byteswapio -O2
415 F77FLAGS = $(FORMAT_FIXED) -byteswapio -O2
417 FORMAT_FIXED = -Mfixed
422 CPP = /usr/bin/cpp -P -traditional
423 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
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
441 FFLAGS = $(FORMAT_FREE) -byteswapio -O2
442 F77FLAGS = $(FORMAT_FIXED) -byteswapio -O2
444 FORMAT_FIXED = -Mfixed
449 CPP = /usr/bin/cpp -P -traditional
450 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
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
468 FFLAGS = $(FORMAT_FREE) -convert big_endian
469 F77FLAGS = $(FORMAT_FIXED) -convert big_endian
476 CPP = /usr/bin/cpp -P -traditional
477 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 -DMACOS CONFIGURE_MPI
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
489 DM_FC = mpif90 -f90=g95
490 DM_CC = mpicc -cc=gcc
494 FFLAGS = $(FORMAT_FREE) -g -fendian=big
495 F77FLAGS = $(FORMAT_FIXED) -g -fendian=big
496 FORMAT_FREE = -ffree-form
497 FORMAT_FIXED = -ffixed-form
502 CPP = /usr/bin/cpp -P -traditional
503 CPPFLAGS = -D_DOUBLEUNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS CONFIGURE_MPI
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
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
530 CPP = /usr/bin/cpp -P -traditional
531 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS -DNO_SIGNAL CONFIGURE_MPI
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
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
556 # For a WRF OpenMP build, add the gomp library for WPS
559 CPP = /usr/bin/cpp -P -traditional
560 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DIO_NETCDF -DBIT32 -DMACOS -DNO_SIGNAL CONFIGURE_MPI
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
575 SCC = gcc-3.3 # NCAR silly thing
577 DM_FC = mpif90 -f90=$(SFC)
578 DM_CC = mpicc -cc=$(SCC)
582 FFLAGS = $(FORMAT_FREE)
583 F77FLAGS = $(FORMAT_FIXED)
585 FORMAT_FIXED = -qfixed
587 FNGFLAGS = $(FFLAGS) -qextname
588 LDFLAGS = -Wl,-stack_size,10000000,-stack_addr,0xc000000
590 CPP = /usr/bin/cpp -P -traditional
591 CPPFLAGS = -DAIX -DMACOS -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
608 DM_FC = mpif90 -f90=$(SFC)
609 DM_CC = mpicc -cc=$(SCC)
610 FFLAGS = $(FORMAT_FREE)
611 F77FLAGS = $(FORMAT_FIXED)
613 FORMAT_FIXED = -qfixed
614 FNGFLAGS = $(FFLAGS) -qextname
615 LDFLAGS = -Wl,-stack_size,10000000,-stack_addr,0xc0000000 -L/usr/lib -lSystemStubs
619 CPP = /usr/bin/cpp -P -traditional
620 CPPFLAGS = -DAIX -DMACOS -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
631 DM_FC = mpif90 -f90=g95
632 DM_CC = mpicc -cc=gcc
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
644 CPP = /usr/bin/cpp -P -traditional
645 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUXG95 -DIO_NETCDF -DBIT32 CONFIGURE_MPI
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
657 NCARG_LIBS2 = -L/usr/local/lib64/r4i4 -lncarg -lncarg_gks -lncarg_c \
658 -L/usr/X11R6/lib -lX11 -lpng_ncl -lz_ncl
667 FFLAGS = $(FORMAT_FREE)
668 F77FLAGS = $(FORMAT_FIXED)
669 FORMAT_FREE = -qfree=f90
670 FORMAT_FIXED = -qfixed
671 FCSUFFIX = -qsuffix=f=f90
675 CPP = /usr/lib/cpp -P -traditional
676 CPPFLAGS = -DAIX -DIBM4 -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
692 FFLAGS = $(FORMAT_FREE) -convert big_endian
693 F77FLAGS = $(FORMAT_FIXED) -convert big_endian
699 CPP = /usr/bin/cpp -P -traditional
700 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DALPHA -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
711 DM_FC = mpif90 -f90=$(SFC)
712 DM_CC = mpicc -cc=$(SCC)
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
724 CPP = /usr/bin/cpp -P -traditional
725 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUXG95 -DIO_NETCDF -DBIT32 CONFIGURE_MPI
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
743 DM_FC = pgf90 -Mmpi=msmpi
744 DM_CC = pgcc -Mmpi=msmpi
748 FFLAGS = $(FORMAT_FREE) -g
749 F77FLAGS = $(FORMAT_FIXED) -g
751 FORMAT_FIXED = -Mfixed
756 CPP = cpp -P -traditional
757 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DWIN32 -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
773 FFLAGS = $(FORMAT_FREE) -64
774 F77FLAGS = $(FORMAT_FIXED) -64
775 FORMAT_FREE = -freeform
781 CPP = /lib/cpp -P -traditional
782 CPPFLAGS = -D_UNDERSCORE -DSGI -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
805 FFLAGS = $(FORMAT_FREE) -convert big_endian
806 F77FLAGS = $(FORMAT_FIXED) -convert big_endian
813 CPP = /lib/cpp -P -traditional
814 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
831 FFLAGS = $(FORMAT_FREE)
832 F77FLAGS = $(FORMAT_FIXED)
839 CPP = /usr/ccs/lib/cpp -P -traditional
840 CPPFLAGS = -D_UNDERSCORE -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
856 FFLAGS = $(FORMAT_FREE) -N255 -h byteswapio
857 F77FLAGS = $(FORMAT_FIXED) -N255 -h byteswapio
858 FORMAT_FREE = -f free
859 FORMAT_FIXED = -f fixed
864 CPP = /lib/cpp -P -traditional
865 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
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
882 FFLAGS = $(FORMAT_FREE) -convert big_endian
883 F77FLAGS = $(FORMAT_FIXED) -convert big_endian
890 CPP = /lib/cpp -P -traditional
891 CPPFLAGS = -D_UNDERSCORE -DBYTESWAP -DLINUX -DIO_NETCDF -DIO_BINARY -DIO_GRIB1 -DBIT32 CONFIGURE_MPI
895 ########################################################################################################################
896 #ARCH NULL # serial serial_NO_GRIB2 dmpar dmpar_NO_GRIB2
918 #FFLAGS = $(FORMAT_FREE)
919 #F77FLAGS = $(FORMAT_FIXED)