forked from ESMCI/cime
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig_compilers.xml
More file actions
1317 lines (1226 loc) · 41.6 KB
/
Copy pathconfig_compilers.xml
File metadata and controls
1317 lines (1226 loc) · 41.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<config_compilers version="2.0">
<!--
========================================================================
This file defines compiler flags for building CESM. General flags are listed first
followed by flags specific to particular operating systems, followed by particular machines.
More general flags are replaced by more specific flags.
Attributes indicate that an if clause should be added to the Macros so that these flags are added
only under the conditions described by the attribute(s).
The env_mach_specific file may set environment variables or load modules which set environment variables
which are then used in the Makefile. For example the NETCDF_PATH on many machines is set by a module.
========================================================================
Serial/MPI compiler specification
========================================================================
SCC and SFC specifies the serial compiler
MPICC and MPICC specifies the mpi compiler
if $MPILIB is set to mpi-serial then
CC = $SCC
FC = $SFC
MPICC = $SCC
MPIFC = $SFC
INC_MPI = $(CIMEROOT)/src/externals/mct/mpi-serial
========================================================================
Options for including C++ code in the build
========================================================================
SUPPORTS_CXX (TRUE/FALSE): Whether we have defined all the necessary
settings for including C++ code in the build for this compiler (or
this compiler/machine combination). See below for a description of the
necessary settings.
The following are required for a compiler to support the inclusion of
C++ code:
SCXX: serial C++ compiler
MPICXX: mpi C++ compiler
CXX_LINKER (CXX/FORTRAN): When C++ code is included in the build, do
we use a C++ or Fortran linker?
In addition, some compilers require additional libraries or link-time
flags, specified via CXX_LIBS or CXX_LDFLAGS, as in the following
examples:
<CXX_LIBS> -L/path/to/directory -lfoo </CXX_LIBS>
or
<CXX_LDFLAGS> -cxxlib </CXX_LDFLAGS>
Note that these libraries or LDFLAGS will be added on the link line,
regardless of whether we are using a C++ or Fortran linker. For
example, if CXX_LINKER=CXX, then the above CXX_LIBS line should
specify extra libraries needed when linking C++ and fortran code using
a C++ linker. If CXX_LINKER=FORTRAN, then the above CXX_LDFLAGS line
should specify extra LDFLAGS needed when linking C++ and fortran code
using a fortran linker.
-->
<!-- Define default values that can be overridden by specific
compilers -->
<compiler>
<CPPDEFS>
<!-- This should be removed AFTER MOM6 cap is fully unified -->
<append> -DCESMCOUPLED </append>
<append MODEL="pop"> -D_USE_FLOW_CONTROL </append>
<append MODEL="fv3gfs"> -DSPMD </append>
</CPPDEFS>
<INCLDIR>
<append MODEL="fv3gfs"> -I$(EXEROOT)/atm/obj/FMS </append>
</INCLDIR>
<FFLAGS>
<append MODEL="fv3gfs"> $(FC_AUTO_R8) </append>
<append MODEL="mom"> $(FC_AUTO_R8) -Duse_LARGEFILE</append>
</FFLAGS>
<SUPPORTS_CXX>FALSE</SUPPORTS_CXX>
</compiler>
<compiler COMPILER="cray">
<CFLAGS>
<append compile_threaded="FALSE"> -h noomp </append>
<append DEBUG="TRUE"> -g -O0 </append>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<CPPDEFS>
<!--http://docs.cray.com/cgi-bin/craydoc.cgi?mode=View;id=S-3901-83;idx=books_search;this_sort=;q=;type=books;title=Cray%20Fortran%20Reference%20Manual -->
<append> -DFORTRANUNDERSCORE -DNO_R16 -DCPRCRAY</append>
<append MODEL="pop"> -DDIR=NOOP </append>
<append MODEL="moby"> -DDIR=NOOP </append>
</CPPDEFS>
<FC_AUTO_R8>
<base> -s real64 </base>
</FC_AUTO_R8>
<FFLAGS>
<base> -f free -N 255 -h byteswapio -x dir </base>
<append compile_threaded="FALSE"> -h noomp </append>
<append DEBUG="TRUE"> -g -O0 -K trap=fp -m1 </append>
<append DEBUG="FALSE"> -O2,ipa2 -em </append>
</FFLAGS>
<FFLAGS_NOOPT>
<base> -O1,fp2,ipa0,scalar0,vector0 </base>
</FFLAGS_NOOPT>
<HAS_F2008_CONTIGUOUS>TRUE</HAS_F2008_CONTIGUOUS>
<LDFLAGS>
<base> -Wl,--allow-multiple-definition -h byteswapio </base>
</LDFLAGS>
</compiler>
<compiler COMPILER="gnu">
<CFLAGS>
<base> -std=gnu99 </base>
<append compile_threaded="TRUE"> -fopenmp </append>
<append DEBUG="TRUE"> -g -Wall -Og -fbacktrace -ffpe-trap=invalid,zero,overflow -fcheck=bounds </append>
<append DEBUG="FALSE"> -O </append>
</CFLAGS>
<CPPDEFS>
<!-- http://gcc.gnu.org/onlinedocs/gfortran/ -->
<append> -DFORTRANUNDERSCORE -DNO_R16 -DCPRGNU</append>
</CPPDEFS>
<CXX_LINKER>FORTRAN</CXX_LINKER>
<FC_AUTO_R8>
<base> -fdefault-real-8 </base>
</FC_AUTO_R8>
<FFLAGS>
<!-- -ffree-line-length-none and -ffixed-line-length-none need to be in FFLAGS rather than in FIXEDFLAGS/FREEFLAGS
so that these are passed to cmake builds (cmake builds don't use FIXEDFLAGS and FREEFLAGS). -->
<base> -fconvert=big-endian -ffree-line-length-none -ffixed-line-length-none </base>
<append compile_threaded="TRUE"> -fopenmp </append>
<!-- Ideally, we would also have 'invalid' in the ffpe-trap list. But at
least with some versions of gfortran (confirmed with 5.4.0, 6.3.0 and
7.1.0), gfortran's isnan (which is called in cime via the
CPRGNU-specific shr_infnan_isnan) causes a floating point exception
when called on a signaling NaN. -->
<append DEBUG="TRUE"> -g -Wall -Og -fbacktrace -ffpe-trap=zero,overflow -fcheck=bounds </append>
<append DEBUG="FALSE"> -O </append>
</FFLAGS>
<FFLAGS_NOOPT>
<base> -O0 </base>
</FFLAGS_NOOPT>
<FIXEDFLAGS>
<base> -ffixed-form </base>
</FIXEDFLAGS>
<FREEFLAGS>
<base> -ffree-form </base>
</FREEFLAGS>
<HAS_F2008_CONTIGUOUS>FALSE</HAS_F2008_CONTIGUOUS>
<LDFLAGS>
<append compile_threaded="TRUE"> -fopenmp </append>
</LDFLAGS>
<MPICC> mpicc </MPICC>
<MPICXX> mpicxx </MPICXX>
<MPIFC> mpif90 </MPIFC>
<SCC> gcc </SCC>
<SCXX> g++ </SCXX>
<SFC> gfortran </SFC>
<SUPPORTS_CXX>TRUE</SUPPORTS_CXX>
</compiler>
<compiler COMPILER="ibm">
<CFLAGS>
<base> -g -qfullpath -qmaxmem=-1 </base>
<append DEBUG="FALSE"> -O3 </append>
<append compile_threaded="TRUE"> -qsmp=omp </append>
<append DEBUG="TRUE" compile_threaded="TRUE"> -qsmp=omp:noopt </append>
</CFLAGS>
<CPPDEFS>
<!-- http://publib.boulder.ibm.com/infocenter/comphelp/v7v91/index.jsp
Notes: (see xlf user's guide for the details)
-lmass => IBM-tuned intrinsic lib
-qsmp=noauto => enable SMP directives, but don't add any
-qsmp=omp => enable SMP directives, strict omp
-qstrict => don't turn divides into multiplies, etc
-qhot => higher-order-transformations (eg. loop padding)
-qalias=noaryovrlp => assume no array overlap wrt equivalance, etc
-qmaxmem=-1 => memory available to compiler during optimization
-qipa=level=2 => InterProcedure Analysis (eg. inlining) => slow compiles
-p -pg => enable profiling (use in both FFLAGS and LDFLAGS)
-qreport => for smp/omp only
-g => always leave it on because overhead is minimal
-qflttrap=... => enable default sigtrap (core dump)
-C => runtime array bounds checking (runs slow)
-qinitauto=... => initializes automatic variables
-->
<append> -DFORTRAN_SAME -DCPRIBM </append>
</CPPDEFS>
<CPRE>-WF,-D</CPRE>
<FC_AUTO_R8>
<base> -qrealsize=8 </base>
</FC_AUTO_R8>
<FFLAGS>
<base> -g -qfullpath -qmaxmem=-1 </base>
<append DEBUG="FALSE"> -O2 -qstrict -qinline=auto </append>
<append compile_threaded="TRUE"> -qsmp=omp </append>
<append DEBUG="TRUE"> -qinitauto=7FF7FFFF -qflttrap=ov:zero:inv:en </append>
<append DEBUG="TRUE" compile_threaded="TRUE"> -qsmp=omp:noopt </append>
<append DEBUG="TRUE" MODEL="pop"> -C </append>
</FFLAGS>
<FIXEDFLAGS>
<base> -qsuffix=f=f -qfixed=132 </base>
</FIXEDFLAGS>
<FREEFLAGS>
<base> -qsuffix=f=f90:cpp=F90 </base>
</FREEFLAGS>
<HAS_F2008_CONTIGUOUS>TRUE</HAS_F2008_CONTIGUOUS>
<LDFLAGS>
<append compile_threaded="TRUE"> -qsmp=omp </append>
<append DEBUG="TRUE" compile_threaded="TRUE"> -qsmp=omp:noopt </append>
</LDFLAGS>
</compiler>
<compiler COMPILER="intel">
<CFLAGS>
<base> -qno-opt-dynamic-align -fp-model precise -std=gnu99 </base>
<append compile_threaded="TRUE"> -qopenmp </append>
<append DEBUG="FALSE"> -O2 -debug minimal </append>
<append DEBUG="TRUE"> -O0 -g </append>
</CFLAGS>
<CPPDEFS>
<!-- http://software.intel.com/en-us/articles/intel-composer-xe/ -->
<append> -DFORTRANUNDERSCORE -DCPRINTEL</append>
</CPPDEFS>
<CXX_LDFLAGS>
<base> -cxxlib </base>
</CXX_LDFLAGS>
<CXX_LINKER>FORTRAN</CXX_LINKER>
<FC_AUTO_R8>
<base> -r8 </base>
</FC_AUTO_R8>
<FFLAGS>
<base> -qno-opt-dynamic-align -convert big_endian -assume byterecl -ftz -traceback -assume realloc_lhs -fp-model source </base>
<append compile_threaded="TRUE"> -qopenmp </append>
<append DEBUG="TRUE"> -O0 -g -check uninit -check bounds -check pointers -fpe0 -check noarg_temp_created </append>
<append DEBUG="FALSE"> -O2 -debug minimal </append>
</FFLAGS>
<FFLAGS_NOOPT>
<base> -O0 </base>
</FFLAGS_NOOPT>
<FIXEDFLAGS>
<base> -fixed </base>
</FIXEDFLAGS>
<FREEFLAGS>
<base> -free </base>
</FREEFLAGS>
<LDFLAGS>
<append compile_threaded="TRUE"> -qopenmp </append>
</LDFLAGS>
<MPICC> mpicc </MPICC>
<MPICXX> mpicxx </MPICXX>
<MPIFC> mpif90 </MPIFC>
<SCC> icc </SCC>
<SCXX> icpc </SCXX>
<SFC> ifort </SFC>
<SLIBS>
<append MPILIB="mpich"> -mkl=cluster </append>
<append MPILIB="mpich2"> -mkl=cluster </append>
<append MPILIB="mvapich"> -mkl=cluster </append>
<append MPILIB="mvapich2"> -mkl=cluster </append>
<append MPILIB="mpt"> -mkl=cluster </append>
<append MPILIB="openmpi"> -mkl=cluster </append>
<append MPILIB="impi"> -mkl=cluster </append>
<append MPILIB="mpi-serial"> -mkl </append>
</SLIBS>
<SUPPORTS_CXX>TRUE</SUPPORTS_CXX>
</compiler>
<compiler COMPILER="nag">
<CFLAGS>
<base> -std=gnu99 </base>
<append DEBUG="TRUE"> -g </append>
</CFLAGS>
<CPPDEFS>
<append> -DFORTRANUNDERSCORE -DNO_CRAY_POINTERS -DNO_SHR_VMATH -DCPRNAG </append>
</CPPDEFS>
<FC_AUTO_R8>
<base> -r8 </base>
</FC_AUTO_R8>
<FFLAGS>
<!-- The indirect flag below is to deal with MPI functions that violate -->
<!-- the Fortran standard, by adding a large set of arguments from a file. -->
<base>-Wp,-macro=no_com -convert=BIG_ENDIAN -indirect $ENV{CIMEROOT}/config/cesm/machines/nag_mpi_argument.txt</base>
<!-- DEBUG vs. non-DEBUG runs. -->
<append DEBUG="FALSE"> -ieee=full -O2 </append>
<!-- The "-gline" option is nice, but it doesn't work with OpenMP. -->
<!-- Runtime checks with OpenMP (in fact, all OpenMP cases) are WIP. -->
<append DEBUG="TRUE"> -C=all -g -time -f2003 -ieee=stop </append>
<append DEBUG="TRUE" compile_threaded="FALSE"> -gline </append>
<!-- The SLAP library (which is part of the CISM build) has many instances of
arguments being passed to different types. So disable argument type
checking when building CISM. This can be removed once we remove SLAP from
CISM. -->
<append MODEL="cism"> -mismatch_all </append>
</FFLAGS>
<FFLAGS_NOOPT>
<base> -O0 </base>
</FFLAGS_NOOPT>
<FIXEDFLAGS>
<base> -fixed </base>
</FIXEDFLAGS>
<FREEFLAGS>
<base> -free </base>
</FREEFLAGS>
<HAS_F2008_CONTIGUOUS>FALSE</HAS_F2008_CONTIGUOUS>
<MPICC> mpicc </MPICC>
<MPIFC> mpif90 </MPIFC>
<SCC> gcc </SCC>
<SFC> nagfor </SFC>
<LDFLAGS>
<append> -lpthread </append>
</LDFLAGS>
<CONFIG_ARGS>
<append> FCLIBS="-Wl,--as-needed,--allow-shlib-undefined -L$(COMPILER_PATH)/lib/NAG_Fortran -lf62rts" </append>
</CONFIG_ARGS>
</compiler>
<compiler COMPILER="pgi">
<CFLAGS>
<base> -gopt -time </base>
<append compile_threaded="TRUE"> -mp </append>
</CFLAGS>
<CPPDEFS>
<!-- http://www.pgroup.com/resources/docs.htm -->
<!-- Notes: (see pgi man page & user's guide for the details) -->
<!-- -Mextend => Allow 132-column source lines -->
<!-- -Mfixed => Assume fixed-format source -->
<!-- -Mfree => Assume free-format source -->
<!-- -byteswapio => Swap byte-order for unformatted i/o (big/little-endian) -->
<!-- -target=linux => Specifies the target architecture to Compute Node Linux (CNL only) -->
<!-- -fast => Chooses generally optimal flags for the target platform -->
<!-- -Mnovect => Disables automatic vector pipelining -->
<!-- -Mvect=nosse => Don't generate SSE, SSE2, 3Dnow, and prefetch instructions in loops -->
<!-- -Mflushz => Set SSE to flush-to-zero mode (underflow) loops where possible -->
<!-- -Kieee => Perform fp ops in strict conformance with the IEEE 754 standard. -->
<!-- Some optimizations disabled, slightly slower, more accurate math. -->
<!-- -mp=nonuma => Don't use thread/processors affinity (for NUMA architectures) -->
<!-- -->
<!-- -g => Generate symbolic debug information. Turns off optimization. -->
<!-- -gopt => Generate information for debugger without disabling optimizations -->
<!-- -Mbounds => Add array bounds checking -->
<!-- -Ktrap=fp => Determine IEEE Trap conditions fp => inv,divz,ovf -->
<!-- * inv: invalid operands -->
<!-- * divz divide by zero -->
<!-- * ovf: floating point overflow -->
<!-- -Mlist => Create a listing file -->
<!-- -F => leaves file.f for each preprocessed file.F file -->
<!-- -time => Print execution time for each compiler step -->
<append> -DFORTRANUNDERSCORE -DNO_SHR_VMATH -DNO_R16 -DCPRPGI </append>
</CPPDEFS>
<CXX_LINKER>CXX</CXX_LINKER>
<FC_AUTO_R8>
<base> -r8 </base>
</FC_AUTO_R8>
<FFLAGS>
<base> -i4 -gopt -time -Mextend -byteswapio -Mflushz -Kieee </base>
<append compile_threaded="TRUE"> -mp </append>
<append DEBUG="TRUE"> -O0 -g -Ktrap=fp -Mbounds -Kieee </append>
<append MODEL="datm"> -Mnovect </append>
<append MODEL="dlnd"> -Mnovect </append>
<append MODEL="drof"> -Mnovect </append>
<append MODEL="dwav"> -Mnovect </append>
<append MODEL="dice"> -Mnovect </append>
<append MODEL="docn"> -Mnovect </append>
</FFLAGS>
<FFLAGS_NOOPT>
<base> -O0 </base>
</FFLAGS_NOOPT>
<FIXEDFLAGS>
<base> -Mfixed </base>
</FIXEDFLAGS>
<FREEFLAGS>
<base> -Mfree </base>
</FREEFLAGS>
<!-- Note that SUPPORTS_CXX is false for pgi in general, because we
need some machine-specific libraries - see hopper pgi for an
example -->
<!-- Technically, PGI does recognize this keyword during parsing,
but support is either buggy or incomplete, notably in that
the "contiguous" attribute is incompatible with "intent".-->
<HAS_F2008_CONTIGUOUS>FALSE</HAS_F2008_CONTIGUOUS>
<LDFLAGS>
<base> -time -Wl,--allow-multiple-definition </base>
<append compile_threaded="TRUE"> -mp </append>
</LDFLAGS>
<MPICC> mpicc </MPICC>
<MPICXX> mpicxx </MPICXX>
<MPIFC> mpif90 </MPIFC>
<SCC> pgcc </SCC>
<SCXX> pgc++ </SCXX>
<SFC> pgf95 </SFC>
</compiler>
<compiler OS="AIX" COMPILER="ibm">
<CFLAGS>
<append> -qarch=auto -qtune=auto -qcache=auto </append>
</CFLAGS>
<CONFIG_SHELL> /usr/bin/bash </CONFIG_SHELL>
<FFLAGS>
<append> -qarch=auto -qtune=auto -qcache=auto -qsclk=micro </append>
<append MODEL="cam"> -qspill=6000 </append>
</FFLAGS>
<LDFLAGS>
<append DEBUG="TRUE"> -qsigtrap=xl__trcedump </append>
<append> -bdatapsize:64K -bstackpsize:64K -btextpsize:32K </append>
</LDFLAGS>
<MPICC> mpcc_r </MPICC>
<MPIFC> mpxlf2003_r </MPIFC>
<SCC> cc_r </SCC>
<SFC> xlf2003_r </SFC>
<SLIBS>
<append> -lmassv -lessl </append>
<append DEBUG="FALSE"> -lmass </append>
</SLIBS>
</compiler>
<compiler OS="BGQ" COMPILER="ibm">
<CONFIG_ARGS>
<base> --build=powerpc-bgp-linux --host=powerpc64-suse-linux </base>
</CONFIG_ARGS>
<CPPDEFS>
<append> -DLINUX </append>
</CPPDEFS>
<FFLAGS>
<base> -g -qfullpath -qmaxmem=-1 -qspillsize=2500 -qextname=flush </base>
<append DEBUG="FALSE"> -O3 -qstrict -qinline=auto </append>
<append DEBUG="FALSE" compile_threaded="TRUE"> -qsmp=omp </append>
<append DEBUG="TRUE" compile_threaded="TRUE"> -qsmp=omp:noopt </append>
</FFLAGS>
<LDFLAGS>
<base> -Wl,--relax -Wl,--allow-multiple-definition </base>
</LDFLAGS>
</compiler>
<compiler OS="CNL">
<CMAKE_OPTS>
<base> -DCMAKE_SYSTEM_NAME=Catamount</base>
</CMAKE_OPTS>
<CPPDEFS>
<append> -DLINUX </append>
<append MODEL="gptl"> -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY </append>
</CPPDEFS>
<MPICC> cc </MPICC>
<MPICXX> CC </MPICXX>
<MPIFC> ftn </MPIFC>
<NETCDF_PATH>$ENV{NETCDF_DIR}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PARALLEL_NETCDF_DIR}</PNETCDF_PATH>
<SCC> cc </SCC>
<SCXX> CC </SCXX>
<SFC> ftn </SFC>
</compiler>
<compiler OS="Darwin">
<CPPDEFS>
<append> -DSYSDARWIN </append>
</CPPDEFS>
</compiler>
<compiler OS="Darwin" COMPILER="intel">
<FFLAGS>
<append compile_threaded="FALSE"> -heap-arrays </append>
</FFLAGS>
</compiler>
<compiler MACH="athena">
<CPPDEFS>
<!-- these flags enable nano timers -->
<append MODEL="gptl"> -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY </append>
</CPPDEFS>
<NETCDF_PATH>$ENV{NETCDF}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>gpfs</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PNETCDF}</PNETCDF_PATH>
<AR>xiar</AR>
<ARFLAGS>
<base>cru</base>
</ARFLAGS>
</compiler>
<compiler MACH="athena" COMPILER="intel">
<CFLAGS>
<append> -xHost </append>
</CFLAGS>
<CPPDEFS>
<append> -DINTEL_MKL -DHAVE_SSE2 </append>
</CPPDEFS>
<FFLAGS>
<append> -xHost </append>
</FFLAGS>
<MPICXX MPILIB="mpich2">mpiicpc</MPICXX>
<MPICC MPILIB="mpich2">mpiicc</MPICC>
<MPIFC MPILIB="mpich2">mpiifort</MPIFC>
<SCC>icc</SCC>
<SFC>ifort</SFC>
<TRILINOS_PATH MPILIB="mpich2">$ENV{TRILINOS_PATH}</TRILINOS_PATH>
</compiler>
<compiler MACH="aleph" COMPILER="intel">
<CONFIG_ARGS>
<base> --host=Linux </base>
</CONFIG_ARGS>
<CFLAGS>
<append> -xCORE-AVX2 </append>
</CFLAGS>
<FFLAGS>
<append> -xCORE-AVX2 </append>
</FFLAGS>
<SLIBS>
<append> -L$(NETCDF_DIR) -lnetcdff -Wl,--as-needed,-L$(NETCDF_DIR)/lib -lnetcdff -lnetcdf </append>
</SLIBS>
<CPPDEFS>
<append MODEL="gptl"> -DHAVE_PAPI -DHAVE_SLASHPROC </append>
</CPPDEFS>
<LDFLAGS>
<append>-mkl </append>
</LDFLAGS>
</compiler>
<compiler MACH="athena">
<CPPDEFS>
<!-- these flags enable nano timers -->
<append MODEL="gptl"> -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY </append>
</CPPDEFS>
<NETCDF_PATH>$ENV{NETCDF}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>gpfs</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PNETCDF}</PNETCDF_PATH>
<AR>xiar</AR>
<ARFLAGS>
<base>cru</base>
</ARFLAGS>
</compiler>
<compiler MACH="athena" COMPILER="intel">
<CFLAGS>
<append> -xHost </append>
</CFLAGS>
<CPPDEFS>
<append> -DINTEL_MKL -DHAVE_SSE2 </append>
</CPPDEFS>
<FFLAGS>
<append> -xHost </append>
</FFLAGS>
<FFLAGS>
<append MODEL="nemo"> $(FC_AUTO_R8) -O3 -assume norealloc_lhs </append>
</FFLAGS>
<SLIBS>
<append> $SHELL{${NETCDF_PATH}/bin/nc-config --flibs}</append>
</SLIBS>
<MPICXX MPILIB="mpich2">mpiicpc</MPICXX>
<MPICC MPILIB="mpich2">mpiicc</MPICC>
<MPIFC MPILIB="mpich2">mpiifort</MPIFC>
<SCC>icc</SCC>
<SFC>ifort</SFC>
<TRILINOS_PATH MPILIB="mpich2">$ENV{TRILINOS_PATH}</TRILINOS_PATH>
</compiler>
<compiler MACH="bluewaters">
<CPPDEFS>
<append MODEL="gptl"> -DHAVE_PAPI </append>
</CPPDEFS>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
</compiler>
<compiler MACH="bluewaters" COMPILER="intel">
<HAS_F2008_CONTIGUOUS>FALSE</HAS_F2008_CONTIGUOUS>
<FFLAGS>
<append> -dynamic -mkl=sequential -no-fma</append>
</FFLAGS>
<CFLAGS>
<append> -dynamic -mkl=sequential -no-fma</append>
</CFLAGS>
</compiler>
<compiler MACH="bluewaters" COMPILER="pgi">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
<append> -nofma </append>
</CFLAGS>
<CXX_LIBS>
<base> -lmpichf90_pgi $ENV{PGI_PATH}/linux86-64/$ENV{PGI_VERSION}/lib/f90main.o </base>
</CXX_LIBS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
<append> -nofma </append>
</FFLAGS>
<SUPPORTS_CXX>TRUE</SUPPORTS_CXX>
</compiler>
<compiler MACH="daint" COMPILER="pgi">
<FFLAGS>
<append> -I/project/s824/edavin/OASIS3-MCT_2.0/build.pgi/build/lib/mct -I/project/s824/edavin/OASIS3-MCT_2.0/build.pgi/build/lib/psmile.MPI1 </append>
</FFLAGS>
<SLIBS>
<append> -llapack -lblas </append>
<append> -L/project/s824/edavin/OASIS3-MCT_2.0/build.pgi/lib -lpsmile.MPI1 -lscrip -lmct_oasis -lmpeu_oasis </append>
</SLIBS>
</compiler>
<compiler MACH="daint" COMPILER="cray">
<FFLAGS>
<append> -I/project/s824/edavin/OASIS3-MCT_2.0/build.cray/build/lib/mct -I/project/s824/edavin/OASIS3-MCT_2.0/build.cray/build/lib/psmile.MPI1 </append>
</FFLAGS>
<SLIBS>
<append> -L/project/s824/edavin/OASIS3-MCT_2.0/build.cray/lib -lpsmile.MPI1 -lscrip -lmct_oasis -lmpeu_oasis </append>
</SLIBS>
</compiler>
<compiler MACH="centos7-linux">
<SLIBS>
<append>-L$(NETCDF_PATH)/lib -Wl,-rpath,$(NETCDF_PATH)/lib -lnetcdff -lnetcdf </append>
</SLIBS>
</compiler>
<compiler MACH="cheyenne">
<CPPDEFS>
<!-- these flags enable nano timers -->
<append MODEL="gptl"> -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY </append>
</CPPDEFS>
<NETCDF_PATH>$ENV{NETCDF}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>gpfs</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PNETCDF}</PNETCDF_PATH>
</compiler>
<compiler MACH="cheyenne" COMPILER="gnu">
<CPPDEFS>
<append MODEL="pio1"> -DNO_MPIMOD </append>
</CPPDEFS>
<SLIBS>
<append> -ldl </append>
</SLIBS>
</compiler>
<compiler MACH="cheyenne" COMPILER="intel">
<CFLAGS>
<append> -qopt-report -xCORE_AVX2 -no-fma</append>
</CFLAGS>
<FFLAGS>
<append> -qopt-report -xCORE_AVX2 -no-fma</append>
</FFLAGS>
<CMAKE_OPTS>
<append DEBUG="TRUE"> -DPIO_ENABLE_LOGGING=ON </append>
</CMAKE_OPTS>
<PFUNIT_PATH MPILIB="mpi-serial" compile_threaded="FALSE">$ENV{CESMDATAROOT}/tools/pFUnit/pFUnit3.2.8_cheyenne_Intel17.0.1_noMPI_noOpenMP</PFUNIT_PATH>
<PFUNIT_PATH MPILIB="mpt" compile_threaded="TRUE">$ENV{CESMDATAROOT}/tools/pFUnit/pFUnit3.2.8_cheyenne_Intel17.0.1_MPI_openMP</PFUNIT_PATH>
<!-- SET to FALSE for intel 17 and 18 TRUE otherwise -->
<HAS_F2008_CONTIGUOUS>TRUE</HAS_F2008_CONTIGUOUS>
</compiler>
<compiler MACH="cheyenne" COMPILER="pgi">
<SLIBS>
<append> -llapack -lblas </append>
<append MPILIB="mpi-serial"> -ldl </append>
</SLIBS>
</compiler>
<compiler MACH="coeus" COMPILER="gnu">
<NETCDF_PATH>/vol/apps/hpc/stow/netcdf/4.4.1.1/gcc-6.3.0</NETCDF_PATH>
<SLIBS>
<base> -L${NETCDF_PATH}/lib -lnetcdf -lnetcdff -lpmi </base>
</SLIBS>
</compiler>
<compiler MACH="constance" COMPILER="intel">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<CONFIG_ARGS>
<base> --host=Linux </base>
</CONFIG_ARGS>
<CPPDEFS>
<append> -DLINUX </append>
</CPPDEFS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</FFLAGS>
<NETCDF_PATH> $ENV{NETCDF_HOME}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<SLIBS>
<base> -L${NETCDF_PATH}/lib -lnetcdf -lnetcdff -lpmi -L$ENV{MKL_PATH} -lmkl_rt</base>
</SLIBS>
</compiler>
<compiler MACH="constance" COMPILER="pgi">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<CONFIG_ARGS>
<base> --host=Linux </base>
</CONFIG_ARGS>
<CPPDEFS>
<append> -DLINUX </append>
</CPPDEFS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</FFLAGS>
<NETCDF_PATH> $ENV{NETCDF_HOME}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<SLIBS>
<base> -L${NETCDF_PATH}/lib -lnetcdf -lnetcdff -lpmi </base>
</SLIBS>
</compiler>
<compiler MACH="cori-haswell" COMPILER="intel">
<CONFIG_ARGS>
<base> --host=Linux </base>
</CONFIG_ARGS>
<CFLAGS>
<append> -xCORE-AVX2 </append>
</CFLAGS>
<FFLAGS>
<append> -xCORE-AVX2 </append>
</FFLAGS>
<SLIBS>
<append> -L$(NETCDF_DIR) -lnetcdff -Wl,--as-needed,-L$(NETCDF_DIR)/lib -lnetcdff -lnetcdf </append>
</SLIBS>
<CPPDEFS>
<append MODEL="gptl"> -DHAVE_SLASHPROC </append>
</CPPDEFS>
<LDFLAGS>
<append>-mkl </append>
</LDFLAGS>
<!-- Bug in the intel/17.0.1 compiler requires this, remove this line when compiler is updated -->
<HAS_F2008_CONTIGUOUS>FALSE</HAS_F2008_CONTIGUOUS>
</compiler>
<compiler MACH="cori-knl" COMPILER="intel">
<CONFIG_ARGS>
<base> --host=Linux </base>
</CONFIG_ARGS>
<CFLAGS>
<append> -xMIC-AVX512 </append>
</CFLAGS>
<FFLAGS>
<append> -xMIC-AVX512 </append>
</FFLAGS>
<SLIBS>
<append> -L$(NETCDF_DIR) -lnetcdff -Wl,--as-needed,-L$(NETCDF_DIR)/lib -lnetcdff -lnetcdf </append>
</SLIBS>
<CPPDEFS>
<append MODEL="gptl"> -DHAVE_SLASHPROC</append>
</CPPDEFS>
<LDFLAGS>
<append>-mkl -lmemkind -zmuldefs</append>
</LDFLAGS>
<!-- Bug in the intel/17.0.1 compiler requires this, remove this line when compiler is updated -->
<HAS_F2008_CONTIGUOUS>FALSE</HAS_F2008_CONTIGUOUS>
</compiler>
<compiler MACH="eastwind" COMPILER="intel">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<CONFIG_ARGS>
<base> --host=Linux </base>
</CONFIG_ARGS>
<CPPDEFS>
<append> -DLINUX </append>
</CPPDEFS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</FFLAGS>
<NETCDF_PATH> $ENV{NETCDF_HOME}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<SLIBS>
<base> -L${NETCDF_PATH}/lib -lnetcdf -lnetcdff -lpmi </base>
</SLIBS>
</compiler>
<compiler MACH="derecho">
<CFLAGS>
<base> -qno-opt-dynamic-align -fp-model precise -std=gnu99 </base>
<append MODEL="mpi-serial"> -std=gnu89 </append>
</CFLAGS>
<NETCDF_PATH>$ENV{NETCDF}</NETCDF_PATH>
<PNETCDF_PATH>$ENV{PNETCDF}</PNETCDF_PATH>
<SLIBS>
<append> -lnetcdff -lnetcdf </append>
</SLIBS>
</compiler>
<compiler MACH="eastwind" COMPILER="pgi">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
<append compile_threaded="FALSE"> -nomp </append>
</CFLAGS>
<CONFIG_ARGS>
<base> --host=Linux </base>
</CONFIG_ARGS>
<CPPDEFS>
<append> -DLINUX </append>
</CPPDEFS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
<append compile_threaded="FALSE"> -nomp </append>
</FFLAGS>
<LDFLAGS>
<append compile_threaded="FALSE"> -nomp </append>
</LDFLAGS>
<NETCDF_PATH> $ENV{NETCDF_HOME}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<SLIBS>
<base> -L${NETCDF_PATH}/lib -lnetcdf -lnetcdff -lpmi </base>
</SLIBS>
</compiler>
<compiler MACH="edison" COMPILER="intel">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<CONFIG_ARGS>
<base> --host=Linux </base>
</CONFIG_ARGS>
<CPPDEFS>
<append MODEL="gptl"> -DHAVE_PAPI </append>
</CPPDEFS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</FFLAGS>
<SLIBS>
<append> -L$ENV{NETCDF_DIR} -lnetcdff -Wl,--as-needed,-L$ENV{NETCDF_DIR}/lib -lnetcdff -lnetcdf </append>
</SLIBS>
</compiler>
<compiler MACH="euler2">
<CPPDEFS>
<append> -DLINUX </append>
</CPPDEFS>
<NETCDF_PATH>$ENV{NETCDF}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PNETCDF}</PNETCDF_PATH>
<SLIBS>
<base> -L$ENV{NETCDF}/lib -lnetcdf -lnetcdff </base>
</SLIBS>
</compiler>
<compiler MACH="euler2" COMPILER="intel">
<CFLAGS>
<append DEBUG="FALSE"> -xCORE-AVX2 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -xCORE-AVX2 </append>
</FFLAGS>
<LDFLAGS>
<append> -mkl </append>
</LDFLAGS>
</compiler>
<compiler MACH="euler2" COMPILER="pgi">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</FFLAGS>
</compiler>
<compiler MACH="euler3">
<CPPDEFS>
<append> -DLINUX </append>
</CPPDEFS>
<NETCDF_PATH>$ENV{NETCDF}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PNETCDF}</PNETCDF_PATH>
<SLIBS>
<base> -L$ENV{NETCDF}/lib -lnetcdf -lnetcdff </base>
</SLIBS>
</compiler>
<compiler MACH="euler3" COMPILER="intel">
<CFLAGS>
<append DEBUG="FALSE"> -xCORE-AVX2 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -xCORE-AVX2 </append>
</FFLAGS>
<LDFLAGS>
<append> -mkl </append>
</LDFLAGS>
</compiler>
<compiler MACH="euler3" COMPILER="pgi">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</FFLAGS>
</compiler>
<compiler MACH="euler4">
<CPPDEFS>
<append> -DLINUX </append>
</CPPDEFS>
<NETCDF_PATH>$ENV{NETCDF}</NETCDF_PATH>
<PIO_FILESYSTEM_HINTS>lustre</PIO_FILESYSTEM_HINTS>
<PNETCDF_PATH>$ENV{PNETCDF}</PNETCDF_PATH>
<SLIBS>
<base> -L$ENV{NETCDF}/lib -lnetcdf -lnetcdff </base>
</SLIBS>
</compiler>
<compiler MACH="euler4" COMPILER="intel">
<CFLAGS>
<append DEBUG="FALSE"> -xCORE-AVX2 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -xCORE-AVX2 </append>
</FFLAGS>
<LDFLAGS>
<append> -mkl </append>
</LDFLAGS>
</compiler>
<compiler MACH="euler4" COMPILER="pgi">
<CFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -O2 </append>
</FFLAGS>
</compiler>
<compiler MACH="hobart">
<CPPDEFS>
<append MODEL="gptl"> -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY </append>
</CPPDEFS>
<LAPACK_LIBDIR> /usr/lib64 </LAPACK_LIBDIR>
<MPI_LIB_NAME MPILIB="mvapich2"> mpich</MPI_LIB_NAME>
<NETCDF_PATH>$ENV{NETCDF_PATH}</NETCDF_PATH>
<SLIBS>
<append>-L$NETCDF_PATH/lib -lnetcdff -lnetcdf</append>
</SLIBS>
</compiler>
<compiler MACH="izumi">
<CPPDEFS>
<append MODEL="gptl"> -DHAVE_NANOTIME -DBIT64 -DHAVE_VPRINTF -DHAVE_BACKTRACE -DHAVE_SLASHPROC -DHAVE_COMM_F2C -DHAVE_TIMES -DHAVE_GETTIMEOFDAY </append>
</CPPDEFS>
<LAPACK_LIBDIR> /usr/lib64 </LAPACK_LIBDIR>
<MPI_LIB_NAME MPILIB="mvapich2"> mpich</MPI_LIB_NAME>
<NETCDF_PATH>$ENV{NETCDF_PATH}</NETCDF_PATH>
<SLIBS>
<append>-L$NETCDF_PATH/lib -lnetcdff -lnetcdf</append>
</SLIBS>
</compiler>
<compiler MACH="hobart" COMPILER="intel">
<CFLAGS>
<append> -lifcore</append>
</CFLAGS>
<FFLAGS>
<append> -lifcore</append>
<append MPILIB="mpi-serial"> -mcmodel medium </append>
</FFLAGS>
<LDFLAGS>
<append> -lquadmath </append>
<append> -Wl,-rpath,${NETCDF_PATH}/lib </append>
<append> -Wl,-rpath,$ENV{COMPILER_PATH}/lib/intel64 </append>
<append> -Wl,-rpath,$ENV{COMPILER_PATH}/mkl/lib/intel64 </append>
<append> -Wl,-rpath,$ENV{MPI_PATH}/lib</append>
<append> -lifcore</append>
</LDFLAGS>
<SLIBS>
<append MPILIB="mvapich2"> -mkl=cluster </append>
</SLIBS>
<PFUNIT_PATH MPILIB="mpi-serial" compile_threaded="FALSE">/fs/cgd/csm/tools/pFUnit/pFUnit3.2.8_hobart_Intel15.0.2_noMPI_noOpenMP</PFUNIT_PATH>
</compiler>
<compiler MACH="hobart" COMPILER="pgi">
<CFLAGS>
<append DEBUG="FALSE"> -O0 </append>
</CFLAGS>
<FFLAGS>
<append DEBUG="FALSE"> -O0 </append>
</FFLAGS>
<LDFLAGS>
<append> -lgomp </append>
<append> -Wl,-R${NETCDF_PATH}/lib</append>
<append> -Wl,-R$ENV{COMPILER_PATH}/lib</append>
<append> -Wl,-R$ENV{COMPILER_PATH}/libso</append>
</LDFLAGS>
</compiler>
<compiler MACH="hobart" COMPILER="gnu">
<SLIBS>
<append> -lm -ldl</append>
</SLIBS>
</compiler>
<compiler MACH="homebrew" COMPILER="gnu">
<LDFLAGS>
<!-- These LDFLAGS provide lapack and blas support on a Mac. This
may require installation of the Apple Developer Tools. -->