-
Notifications
You must be signed in to change notification settings - Fork 38
/
Makefile.am
1827 lines (1663 loc) · 79.4 KB
/
Makefile.am
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
##############################################################################
# Makefile.am for Global Arrays.
#
# Rationale:
# This Makefile.am follows many of the suggestions outlined in the paper
# "Recursive Make Considered Harmful". We do not use automake's
# 'include' feature (instead preferring a single, large Makefile.am).
# We do recurse into the armci directory, but since armci is a stand-alone
# package this is the correct behavior.
#
# Additional targets:
# Besides the traditional make targets supplied by automake, we have added the
# "checkprogs" target to build example programs and test programs.
#
# Notes:
# In general, each subdirectory has a corresponding section within this
# Makefile.am with the notable exception being the many examples getting
# rolled up into the global/examples section.
#
# The usual aclocal nonsense to get include paths right.
ACLOCAL_AMFLAGS = -I m4
# All public headers, installed programs, test programs, and example programs
# are listed in these variables. Appended to throughout. These are the
# automake variables used.
include_HEADERS =
nodist_include_HEADERS =
noinst_HEADERS =
bin_PROGRAMS =
bin_SCRIPTS =
check_PROGRAMS =
check_LTLIBRARIES =
lib_LTLIBRARIES = libga.la
libga_la_SOURCES =
libga_la_LIBADD =
nodist_libga_la_SOURCES =
EXTRA_DIST = README
BUILT_SOURCES =
MOSTLYCLEANFILES =
CLEANFILES =
DISTCLEANFILES =
MAINTAINERCLEANFILES =
AM_FFLAGS =
AM_CFLAGS =
AM_CXXFLAGS =
AM_CPPFLAGS =
AM_LDFLAGS =
LDADD =
if MINGW
libga_la_LDFLAGS = $(AM_LDFLAGS) -no-undefined -avoid-version -version-info @LTVER@
else
libga_la_LDFLAGS = $(AM_LDFLAGS) -version-info @LTVER@
endif
AM_FFLAGS += $(GA_FOPT)
AM_FFLAGS += $(GA_F_WARN)
AM_FFLAGS += $(FFLAG_INT)
AM_FFLAGS += $(FFLAG_NO_LOOP_OPT)
AM_FFLAGS += $(FFLAG_NO_LOOP_VECT)
AM_CFLAGS += $(GA_COPT)
AM_CFLAGS += $(GA_C_WARN)
AM_CFLAGS += $(CFLAG_NO_LOOP_OPT)
AM_CFLAGS += $(CFLAG_NO_LOOP_VECT)
AM_CXXFLAGS += $(GA_CXXOPT)
AM_CXXFLAGS += $(GA_CXX_WARN)
AM_CPPFLAGS += $(ELPA_CPPFLAGS)
AM_CPPFLAGS += $(SCALAPACK_CPPFLAGS)
AM_CPPFLAGS += $(LAPACK_CPPFLAGS)
AM_CPPFLAGS += $(BLAS_CPPFLAGS)
AM_CPPFLAGS += $(GA_MP_CPPFLAGS)
AM_CPPFLAGS += $(ARMCI_NETWORK_CPPFLAGS)
AM_LDFLAGS += $(ELPA_LDFLAGS)
AM_LDFLAGS += $(SCALAPACK_LDFLAGS)
AM_LDFLAGS += $(LAPACK_LDFLAGS)
AM_LDFLAGS += $(BLAS_LDFLAGS)
AM_LDFLAGS += $(GA_MP_LDFLAGS)
AM_LDFLAGS += $(ARMCI_NETWORK_LDFLAGS)
if WITH_SICM
AM_CPPFLAGS += $(SICM_CPPFLAGS)
AM_LDFLAGS += $(SICM_LDFLAGS)
endif
LDADD += libga.la
# Certain trickery when turning Fortran support on or off.
if ENABLE_F77
MAYBE_FLIBS = $(FLIBS)
endif
##############################################################################
# compiler and linker flags
#
# Important for external tools wanting to know how to link to GA. This
# functionality caries over from the pre-autotools GA build.
SED_NORMALIZE_WHITESPACE = $(SED) 's/ [ ]*/ /g;s/" /"/g;s/ "/"/g'
.PHONY: flags
flags:
@echo '# =========================================================================== '
@echo 'F77="$(F77)"'
@echo 'CC="$(CC)"'
if CXX_BINDINGS
@echo 'CXX="$(CXX)"'
endif
@echo '# Suggested compiler/linker options are as follows.'
@echo '# GA libraries are installed in $(libdir)'
@echo '# GA headers are installed in $(includedir)'
@echo '#'
@echo 'CPPFLAGS="$(ELPA_CPPFLAGS) $(SCALAPACK_CPPFLAGS) $(LAPACK_CPPFLAGS) $(BLAS_CPPFLAGS) $(GA_MP_CPPFLAGS) $(ARMCI_NETWORK_CPPFLAGS) -I$(includedir)"' | $(SED_NORMALIZE_WHITESPACE)
@echo '#'
@echo 'LDFLAGS="$(ELPA_LDFLAGS) $(SCALAPACK_LDFLAGS) $(LAPACK_LDFLAGS) $(BLAS_LDFLAGS) $(GA_MP_LDFLAGS) $(ARMCI_NETWORK_LDFLAGS) -L$(libdir)"' | $(SED_NORMALIZE_WHITESPACE)
@echo '#'
@echo '# For Fortran Programs: '
@echo 'FFLAGS="$(AM_FFLAGS)"' | $(SED_NORMALIZE_WHITESPACE)
@echo 'LIBS="-lga -larmci $(ELPA_LIBS) $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(GA_MP_LIBS) $(ARMCI_NETWORK_LIBS)"' | $(SED_NORMALIZE_WHITESPACE)
@echo '#'
@echo '# For C Programs: '
@echo 'CFLAGS="$(AM_CFLAGS)"' | $(SED_NORMALIZE_WHITESPACE)
@echo 'LIBS="-lga -larmci $(ELPA_LIBS) $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(GA_MP_LIBS) $(ARMCI_NETWORK_LIBS) $(MAYBE_FLIBS)"' | $(SED_NORMALIZE_WHITESPACE)
if CXX_BINDINGS
@echo '#'
@echo '# For C++ Programs: '
@echo 'CXXFLAGS="$(AM_CXXFLAGS)"' | $(SED_NORMALIZE_WHITESPACE)
@echo 'LIBS="-lga++ -lga -larmci $(ELPA_LIBS) $(SCALAPACK_LIBS) $(LAPACK_LIBS) $(BLAS_LIBS) $(GA_MP_LIBS) $(ARMCI_NETWORK_LIBS) $(MAYBE_FLIBS)"' | $(SED_NORMALIZE_WHITESPACE)
endif
@echo '# =========================================================================== '
bin_SCRIPTS += tools/ga-config
CLEANFILES += $(bin_SCRIPTS)
##############################################################################
# config
#
# The config.h file is automatically generated from config.h.in at configure
# time. However, it contains symbols which certain Fortran compilers do not
# understand. Therefore, we create a config.fh file which is Fortran-specific
# and works with all Fortran compilers.
#
BUILT_SOURCES += config.fh
CLEANFILES += config.fh
nodist_libga_la_SOURCES += config.fh
config.fh: config.h
@-rm -f $@
$(SED_V) \
$(SED) "/^#/!d" config.h > $@
##############################################################################
# compat
#
# Although the compat directory houses replacements for missing or erroneous
# standard C functions and such sources are conditionally compiled based on
# results from configure tests, without the "random" implementation the
# m4-generated tests always fail for scatter and copy_patch.
libga_la_SOURCES += compat/random.c
##############################################################################
# ma
#
libga_la_SOURCES += ma/error.c
libga_la_SOURCES += ma/f2c.c
libga_la_SOURCES += ma/ma.c
libga_la_SOURCES += ma/ma.h
libga_la_SOURCES += ma/memcpy.h
libga_la_SOURCES += ma/string-util.c
libga_la_SOURCES += ma/table.c
if ENABLE_F77
libga_la_SOURCES += ma/maf.F
endif
include_HEADERS += ma/macdecls.h
include_HEADERS += ma/macommon.h
include_HEADERS += ma/maf2c.fh
include_HEADERS += ma/mafdecls.fh
include_HEADERS += ma/matypes.h
noinst_HEADERS += ma/scope.h
noinst_HEADERS += ma/string-util.h
noinst_HEADERS += ma/table.h
noinst_HEADERS += ma/error.h
AM_CPPFLAGS += -I$(top_build_prefix)ma
AM_CPPFLAGS += -I$(top_srcdir)/ma
check_PROGRAMS += ma/testc
check_PROGRAMS += ma/test-coalesce
check_PROGRAMS += ma/test-inquire
if ENABLE_F77
check_PROGRAMS += ma/testf
endif
MA_SERIAL_TESTS =
MA_SERIAL_TESTS_XFAIL =
MA_PARALLEL_TESTS =
MA_PARALLEL_TESTS_XFAIL =
MA_TESTS = $(MA_SERIAL_TESTS) $(MA_PARALLEL_TESTS)
MA_TESTS_XFAIL = $(MA_SERIAL_TESTS_XFAIL) $(MA_PARALLEL_TESTS_XFAIL)
#MA_SERIAL_TESTS += ma/testc$(EXEEXT) # iteractive prompt
MA_SERIAL_TESTS += ma/test-coalesce$(EXEEXT)
MA_SERIAL_TESTS += ma/test-inquire$(EXEEXT)
if ENABLE_F77
MA_SERIAL_TESTS += ma/testf$(EXEEXT)
MA_SERIAL_TESTS_XFAIL += ma/testf$(EXEEXT)
endif
ma_testf_SOURCES = ma/testf.F
ma_testc_SOURCES = ma/testc.c
ma_test_coalesce_SOURCES = ma/test-coalesce.c
ma_test_inquire_SOURCES = ma/test-inquire.c
##############################################################################
# LinAlg/lapack+blas
#
# Since we gave all linalg routines a gal_ prefix, we can unconditionally
# compile our internal linalg routines.
#
if ENABLE_F77
libga_la_SOURCES += LinAlg/lapack+blas/gal_cgemm.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_daxpy.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dcabs1.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dcopy.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_ddot.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dgemm.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dgemv.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dger.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dgetf2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dgetrf.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dgetrs.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_disnan.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlacpy.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlae2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlaev2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlaisnan.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlamch.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlanst.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlansy.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlapy2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlarfb.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlarf.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlarfg.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlarft.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlartg.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlascl.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlaset.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlasr.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlasrt.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlassq.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlaswp.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dlatrd.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dnrm2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dorg2l.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dorg2r.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dorgql.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dorgqr.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dorgtr.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dpotf2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dpotrf.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dscal.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsteqr.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsterf.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dswap.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsyev.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsygs2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsygst.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsygv.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsymm.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsymv.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsyr2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsyr2k.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsyrk.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsytd2.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dsytrd.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dtrmm.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dtrmv.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dtrsm.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_dtrsv.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_idamax.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_ieeeck.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_iladlc.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_iladlr.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_ilaenv.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_iparmq.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_lsame.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_sgemm.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_xerbla.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_zaxpy.f
libga_la_SOURCES += LinAlg/lapack+blas/gal_zgemm.f
endif
libga_la_SOURCES += LinAlg/lapack+blas/xgemm.c
libga_la_SOURCES += LinAlg/lapack+blas/xgemm.h
libga_la_SOURCES += LinAlg/lapack+blas/galinalg.h
libga_la_SOURCES += LinAlg/lapack+blas/galinalg.fh
AM_CPPFLAGS += -I$(top_srcdir)/LinAlg/lapack+blas
EXTRA_DIST += LinAlg/lapack+blas/README
##############################################################################
# global
#
EXTRA_DIST += global/README
##############################################################################
# tools
#
# The following to support tracing, profiling, etc.
#
if ENABLE_PROFILING
if HAVE_SYS_WEAK_ALIAS_PRAGMA
lib_LTLIBRARIES += libwapi.la
libwapi_la_SOURCES =
libwapi_la_SOURCES += tools/ga-wapi.c
if ENABLE_GPARRAYS
libwapi_la_SOURCES += tools/gp-wapi.c
endif
else
nodist_libga_la_SOURCES += tools/ga-wapi.c
if ENABLE_GPARRAYS
nodist_libga_la_SOURCES += tools/gp-wapi.c
endif
endif
endif
if ENABLE_GPARRAYS
EXTRA_DIST += tools/gpwapigen.py
endif
EXTRA_DIST += tools/wapigen.py
EXTRA_DIST += tools/wapigen_counts.py
EXTRA_DIST += tools/wapigen_trace.py
##############################################################################
# global/src
#
PAPI_H = $(top_srcdir)/global/src/ga-papi.h
global/src/ga-wapi.h: $(PAPI_H)
@-rm -f $@
$(SED_V) \
$(SED) -e "s/PAPI/WAPI/g" \
-e "s/pnga_/wnga_/g" \
-e "/typedef/d" \
$(PAPI_H) > $@
global/src/ga-wapidefs.h: $(PAPI_H)
@-rm -f $@
$(SED_V) \
$(SED) -e "s/PAPI/WAPIDEFS/g" \
-e "s/^.*p\(nga_.*\)(.*$$/#define w\1 p\1/g" \
-e "/^ /d" \
-e "/^\/\*/d" \
-e "/^ \*/d" \
-e "/typedef/d" \
$(PAPI_H) > $@
BUILT_SOURCES += global/src/ga-wapi.h
BUILT_SOURCES += global/src/ga-wapidefs.h
CLEANFILES += global/src/ga-wapi.h
CLEANFILES += global/src/ga-wapidefs.h
libga_la_SOURCES += global/src/abstract_ops.h
libga_la_SOURCES += global/src/base.c
libga_la_SOURCES += global/src/base.h
libga_la_SOURCES += global/src/iterator.h
libga_la_SOURCES += global/src/capi.c
libga_la_SOURCES += global/src/cnames.h
libga_la_SOURCES += global/src/collect.c
libga_la_SOURCES += global/src/datatypes.c
libga_la_SOURCES += global/src/decomp.c
libga_la_SOURCES += global/src/diag.fh
libga_la_SOURCES += global/src/DP.c
libga_la_SOURCES += global/src/elem_alg.c
libga_la_SOURCES += global/src/fapi.c
libga_la_SOURCES += global/src/ga_ckpt.h
libga_la_SOURCES += global/src/gaconfig.h
libga_la_SOURCES += global/src/ga_diag_seqc.c
libga_la_SOURCES += global/src/ga_malloc.c
libga_la_SOURCES += global/src/ga_profile.h
libga_la_SOURCES += global/src/ga_solve_seq.c
libga_la_SOURCES += global/src/ga_symmetr.c
libga_la_SOURCES += global/src/ga_trace.c
libga_la_SOURCES += global/src/ghosts.c
libga_la_SOURCES += global/src/global.h
libga_la_SOURCES += global/src/global.nalg.c
libga_la_SOURCES += global/src/global.npatch.c
libga_la_SOURCES += global/src/global.periodic.c
libga_la_SOURCES += global/src/globalp.h
libga_la_SOURCES += global/src/global.util.c
libga_la_SOURCES += global/src/hsort.scat.c
libga_la_SOURCES += global/src/iterator.c
libga_la_SOURCES += global/src/matmul.c
libga_la_SOURCES += global/src/matmul.h
libga_la_SOURCES += global/src/matrix.c
libga_la_SOURCES += global/src/nbutil.c
libga_la_SOURCES += global/src/onesided.c
libga_la_SOURCES += global/src/peigstubs.c
libga_la_SOURCES += global/src/scalapack.fh
libga_la_SOURCES += global/src/sclstubs.c
libga_la_SOURCES += global/src/select.c
libga_la_SOURCES += global/src/sparse.c
libga_la_SOURCES += global/src/thread-safe.c
libga_la_SOURCES += global/src/types.xh
libga_la_SOURCES += global/src/types2.xh
nodist_libga_la_SOURCES += global/src/ga-wapidefs.h
if ENABLE_F77
libga_la_SOURCES += global/src/complex.F
libga_la_SOURCES += global/src/ga_diag_seq.F
if ENABLE_EISPACK
libga_la_SOURCES += global/src/rsg.F
endif
if ENABLE_PEIGS
libga_la_SOURCES += global/src/ga_diag.F
endif # ENABLE_PEIGS
if HAVE_SCALAPACK
libga_la_SOURCES += global/src/scalapack.F
endif # HAVE_SCALAPACK
endif # ENABLE_F77
if ENABLE_CHECKPOINT
libga_la_SOURCES += global/src/ga_ckpt.c
endif
include_HEADERS += global/src/gacommon.h
include_HEADERS += global/src/ga.h
include_HEADERS += global/src/global.fh
include_HEADERS += global/src/ga-papi.h
if MSG_COMMS_MPI
include_HEADERS += global/src/ga-mpi.h
include_HEADERS += global/src/ga-mpi.fh
endif
nodist_include_HEADERS += global/src/ga-wapi.h
AM_CPPFLAGS += -I$(top_build_prefix)global/src
AM_CPPFLAGS += -I$(top_srcdir)/global/src
##############################################################################
# global/testing
#
AM_CPPFLAGS += -I$(top_srcdir)/global/testing
check_PROGRAMS += global/testing/big
check_PROGRAMS += global/testing/elempatch
check_PROGRAMS += global/testing/tiled_irreg_test
check_PROGRAMS += global/testing/gatscat
check_PROGRAMS += global/testing/comm_init
check_PROGRAMS += global/testing/getmem
check_PROGRAMS += global/testing/mtest
check_PROGRAMS += global/testing/mulmatpatchc
check_PROGRAMS += global/testing/normc
check_PROGRAMS += global/testing/matrixc
check_PROGRAMS += global/testing/ntestc
check_PROGRAMS += global/testing/nbtestc
check_PROGRAMS += global/testing/ntestfc
check_PROGRAMS += global/testing/packc
check_PROGRAMS += global/testing/patch_enumc
check_PROGRAMS += global/testing/perf2
check_PROGRAMS += global/testing/print
check_PROGRAMS += global/testing/scan_addc
check_PROGRAMS += global/testing/scan_copyc
check_PROGRAMS += global/testing/sprsmatvec
check_PROGRAMS += global/testing/testabstract_ops
check_PROGRAMS += global/testing/testc
check_PROGRAMS += global/testing/testmatmultc
check_PROGRAMS += global/testing/testmult
check_PROGRAMS += global/testing/testmultrect
check_PROGRAMS += global/testing/gemmtest
check_PROGRAMS += global/testing/thread_perf_contig
check_PROGRAMS += global/testing/thread_perf_strided
check_PROGRAMS += global/testing/threadsafec
check_PROGRAMS += global/testing/read_only
check_PROGRAMS += global/testing/cache_test
check_PROGRAMS += global/testing/unpackc
if ENABLE_F77
check_PROGRAMS += global/testing/bin
check_PROGRAMS += global/testing/blktest
check_PROGRAMS += global/testing/d2test
check_PROGRAMS += global/testing/g2test
check_PROGRAMS += global/testing/g3test
check_PROGRAMS += global/testing/ga_lu
check_PROGRAMS += global/testing/ga_shift
check_PROGRAMS += global/testing/ghosts
check_PROGRAMS += global/testing/jacobi
check_PROGRAMS += global/testing/mir_perf2
check_PROGRAMS += global/testing/mmatrix
check_PROGRAMS += global/testing/mulmatpatch
check_PROGRAMS += global/testing/nbtest
check_PROGRAMS += global/testing/nb2test
check_PROGRAMS += global/testing/ndim
check_PROGRAMS += global/testing/patch
check_PROGRAMS += global/testing/patch2
check_PROGRAMS += global/testing/patch_enumf
check_PROGRAMS += global/testing/perfmod
check_PROGRAMS += global/testing/perform
check_PROGRAMS += global/testing/perf
check_PROGRAMS += global/testing/pg2testmatmult
check_PROGRAMS += global/testing/pg2test
check_PROGRAMS += global/testing/pgtestmatmult
check_PROGRAMS += global/testing/pgtest
check_PROGRAMS += global/testing/random
check_PROGRAMS += global/testing/scan
check_PROGRAMS += global/testing/simple_groups
check_PROGRAMS += global/testing/sparse
check_PROGRAMS += global/testing/sprsmatmult
check_PROGRAMS += global/testing/stride
check_PROGRAMS += global/testing/testeig
check_PROGRAMS += global/testing/testmatmult
check_PROGRAMS += global/testing/testsolve
check_PROGRAMS += global/testing/test
check_PROGRAMS += global/testing/overlay
check_PROGRAMS += global/testing/test_mirrored
check_PROGRAMS += global/testing/types_test
check_PROGRAMS += global/testing/field_test
if HAVE_SCALAPACK
check_PROGRAMS += global/testing/testspd
endif # HAVE_SCALAPACK
if MSG_COMMS_MPI
check_PROGRAMS += global/testing/simple_groups_comm
endif
else # !ENABLE_F77
if HAVE_LAPACK
check_PROGRAMS += global/testing/ga_lu
endif
endif # ENABLE_F77
if MSG_COMMS_MPI
check_PROGRAMS += global/testing/ga-mpi
check_PROGRAMS += global/testing/lock
check_PROGRAMS += global/testing/simple_groups_commc
endif
if SYSV
check_PROGRAMS += global/testing/ipc_clean
endif
# TODO somehow unit tests depend on MPI -- need to fix
if ENABLE_UNIT_TESTS
if MSG_COMMS_MPI
check_PROGRAMS += global/testing/unit-tests/ga_abs_value
check_PROGRAMS += global/testing/unit-tests/ga_acc
check_PROGRAMS += global/testing/unit-tests/ga_add
check_PROGRAMS += global/testing/unit-tests/ga_add_constant
check_PROGRAMS += global/testing/unit-tests/ga_add_constantpatch
check_PROGRAMS += global/testing/unit-tests/ga_add_diagonal
check_PROGRAMS += global/testing/unit-tests/ga_add_patch
check_PROGRAMS += global/testing/unit-tests/ga_copy2
check_PROGRAMS += global/testing/unit-tests/ga_copy3
check_PROGRAMS += global/testing/unit-tests/ga_copy
check_PROGRAMS += global/testing/unit-tests/ga_copypatch2
check_PROGRAMS += global/testing/unit-tests/ga_copypatch
check_PROGRAMS += global/testing/unit-tests/ga_create1
check_PROGRAMS += global/testing/unit-tests/ga_create2
check_PROGRAMS += global/testing/unit-tests/ga_create3
check_PROGRAMS += global/testing/unit-tests/ga_create
check_PROGRAMS += global/testing/unit-tests/ga_create_handle
check_PROGRAMS += global/testing/unit-tests/ga_create_irreg2
check_PROGRAMS += global/testing/unit-tests/ga_create_irreg3
check_PROGRAMS += global/testing/unit-tests/ga_create_irreg
check_PROGRAMS += global/testing/unit-tests/ga_destroy
check_PROGRAMS += global/testing/unit-tests/ga_dgop
check_PROGRAMS += global/testing/unit-tests/ga_dot
check_PROGRAMS += global/testing/unit-tests/ga_duplicate
check_PROGRAMS += global/testing/unit-tests/ga_elem_divide
check_PROGRAMS += global/testing/unit-tests/ga_elem_dividepatch
check_PROGRAMS += global/testing/unit-tests/ga_elem_maximum
check_PROGRAMS += global/testing/unit-tests/ga_elem_maximumpatch
check_PROGRAMS += global/testing/unit-tests/ga_elem_minimum
check_PROGRAMS += global/testing/unit-tests/ga_elem_minimumpatch
check_PROGRAMS += global/testing/unit-tests/ga_elem_multiply
check_PROGRAMS += global/testing/unit-tests/ga_elem_multiplypatch
check_PROGRAMS += global/testing/unit-tests/ga_fill
check_PROGRAMS += global/testing/unit-tests/ga_fillpatch1
check_PROGRAMS += global/testing/unit-tests/ga_fillpatch
check_PROGRAMS += global/testing/unit-tests/ga_gather2
check_PROGRAMS += global/testing/unit-tests/ga_gather3
check_PROGRAMS += global/testing/unit-tests/ga_gather
check_PROGRAMS += global/testing/unit-tests/ga_get_blockinfo
check_PROGRAMS += global/testing/unit-tests/ga_get
check_PROGRAMS += global/testing/unit-tests/ga_get_diagonal
check_PROGRAMS += global/testing/unit-tests/ga_igop2
check_PROGRAMS += global/testing/unit-tests/ga_igop
check_PROGRAMS += global/testing/unit-tests/ga_inquire
check_PROGRAMS += global/testing/unit-tests/ga_intialize
check_PROGRAMS += global/testing/unit-tests/ga_lgop
check_PROGRAMS += global/testing/unit-tests/ga_median
check_PROGRAMS += global/testing/unit-tests/ga_ndim2
check_PROGRAMS += global/testing/unit-tests/ga_ndim
check_PROGRAMS += global/testing/unit-tests/ga_nnodes
check_PROGRAMS += global/testing/unit-tests/ga_nodeid
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_create2
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_create3
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_create4
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_create5
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_create
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_destroy2
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_destroy
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_nnodes_nodeid
check_PROGRAMS += global/testing/unit-tests/ga_pgroup_setdefault
check_PROGRAMS += global/testing/unit-tests/ga_put2
check_PROGRAMS += global/testing/unit-tests/ga_put
check_PROGRAMS += global/testing/unit-tests/ga_scale2
check_PROGRAMS += global/testing/unit-tests/ga_scale
check_PROGRAMS += global/testing/unit-tests/ga_scale_cols
check_PROGRAMS += global/testing/unit-tests/ga_scale_patch
check_PROGRAMS += global/testing/unit-tests/ga_scale_rows
check_PROGRAMS += global/testing/unit-tests/ga_scatter
check_PROGRAMS += global/testing/unit-tests/ga_set_data
check_PROGRAMS += global/testing/unit-tests/ga_set_diagonal
check_PROGRAMS += global/testing/unit-tests/ga_set_restricted
check_PROGRAMS += global/testing/unit-tests/ga_solve
check_PROGRAMS += global/testing/unit-tests/ga_sync
check_PROGRAMS += global/testing/unit-tests/ga_transpose2
check_PROGRAMS += global/testing/unit-tests/ga_transpose3
check_PROGRAMS += global/testing/unit-tests/ga_transpose
check_PROGRAMS += global/testing/unit-tests/ga_zero
check_PROGRAMS += global/testing/unit-tests/ga_zerodiagonal
check_PROGRAMS += global/testing/unit-tests/ga_zeropatch2
check_PROGRAMS += global/testing/unit-tests/ga_zeropatch
endif
endif
GLOBAL_SERIAL_TESTS =
GLOBAL_SERIAL_TESTS_XFAIL =
GLOBAL_PARALLEL_TESTS =
GLOBAL_PARALLEL_TESTS_XFAIL =
GLOBAL_THREADED_TESTS =
GLOBAL_TESTS = $(GLOBAL_SERIAL_TESTS) $(GLOBAL_PARALLEL_TESTS)
GLOBAL_TESTS_XFAIL = $(GLOBAL_SERIAL_TESTS_XFAIL) $(GLOBAL_PARALLEL_TESTS_XFAIL)
TRAVIS_TESTS =
if ENABLE_F77
TRAVIS_TESTS += global/testing/test$(EXEEXT)
else
TRAVIS_TESTS += global/testing/testc$(EXEEXT)
endif
#GLOBAL_PARALLEL_TESTS += global/testing/big$(EXEEXT) # needs lots of memory
GLOBAL_PARALLEL_TESTS += global/testing/elempatch$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/tiled_irreg_test$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/gatscat$(EXEEXT) # broken
GLOBAL_PARALLEL_TESTS += global/testing/comm_init$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/getmem$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/mtest$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/mulmatpatchc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/normc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/matrixc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/ntestc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/nbtestc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/ntestfc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/packc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/patch_enumc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/print$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/scan_addc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/scan_copyc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/testc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/testmatmultc$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/testmult$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/testmultrect$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/gemmtest$(EXEEXT)
GLOBAL_THREADED_TESTS += global/testing/thread_perf_contig$(EXEEXT)
GLOBAL_THREADED_TESTS += global/testing/thread_perf_strided$(EXEEXT)
GLOBAL_THREADED_TESTS += global/testing/threadsafec$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/read_only$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/cache_test$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/unpackc$(EXEEXT)
if ENABLE_F77
GLOBAL_PARALLEL_TESTS += global/testing/bin$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/blktest$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/d2test$(EXEEXT) # needs input file
GLOBAL_PARALLEL_TESTS += global/testing/g2test$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/g3test$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/ga_lu$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/ga_shift$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/ghosts$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/jacobi$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/mir_perf2$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/mmatrix$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/mulmatpatch$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/nbtest$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/nb2test$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/ndim$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/patch$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/patch2$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/patch_enumf$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/perfmod$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/perform$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/perf$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/perf2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/pg2testmatmult$(EXEEXT) # needs 8 procs exactly
GLOBAL_PARALLEL_TESTS += global/testing/pg2test$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/pgtestmatmult$(EXEEXT) # needs 8 procs exactly
GLOBAL_PARALLEL_TESTS += global/testing/pgtest$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/random$(EXEEXT) # takes too long
GLOBAL_PARALLEL_TESTS += global/testing/scan$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/simple_groups$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/sparse$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/sprsmatmult$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/stride$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/testeig$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/testmatmult$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/testsolve$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/test$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/overlay$(EXEEXT)
if HAVE_SCALAPACK
GLOBAL_PARALLEL_TESTS += global/testing/testspd$(EXEEXT)
endif
if MSG_COMMS_MPI
GLOBAL_PARALLEL_TESTS += global/testing/simple_groups_comm$(EXEEXT)
endif
else
if HAVE_LAPACK
GLOBAL_PARALLEL_TESTS += global/testing/ga_lu$(EXEEXT)
endif
endif
if MSG_COMMS_MPI
GLOBAL_PARALLEL_TESTS += global/testing/ga-mpi$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/lock$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/simple_groups_commc$(EXEEXT)
endif
if SYSV
#GLOBAL_PARALLEL_TESTS += global/testing/ipc_clean$(EXEEXT)
endif
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_abs_value$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_acc$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_add$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_add_constant$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_add_constantpatch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_add_diagonal$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_add_patch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_copy2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_copy3$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_copy$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_copypatch2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_copypatch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_create1$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_create2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_create3$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_create$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_create_handle$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_create_irreg2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_create_irreg3$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_create_irreg$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_destroy$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_dgop$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_dot$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_duplicate$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_elem_divide$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_elem_dividepatch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_elem_maximum$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_elem_maximumpatch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_elem_minimum$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_elem_minimumpatch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_elem_multiply$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_elem_multiplypatch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_fill$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_fillpatch1$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_fillpatch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_gather2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_gather3$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_gather$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_get_blockinfo$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_get$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_get_diagonal$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_igop2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_igop$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_inquire$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_intialize$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_lgop$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_median$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_ndim2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_ndim$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_nnodes$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_nodeid$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_create2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_create3$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_create4$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_create5$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_create$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_destroy2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_destroy$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_nnodes_nodeid$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_pgroup_setdefault$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_put2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_put$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_scale2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_scale$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_scale_cols$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_scale_patch$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_scale_rows$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_scatter$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_set_data$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_set_diagonal$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_set_restricted$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_solve$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_sync$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_transpose2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_transpose3$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_transpose$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_zero$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_zerodiagonal$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_zeropatch2$(EXEEXT)
#GLOBAL_PARALLEL_TESTS += global/testing/unit-tests/ga_zeropatch$(EXEEXT)
if HAVE_M4
GLOBAL_TESTING_M4_DEPS =
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_GA_FILL.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_main.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_ACC.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_ADD_PATCH.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_COPY_PATCH.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_DOT_PATCH.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_FILL_PATCH.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_GATHER.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_GET.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_PERIODIC_ACC.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_PERIODIC_GET.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_PERIODIC_PUT.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_PUT.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_SCALE_PATCH.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_SCATTER_ACC.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_NGA_SCATTER.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_util_comm.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ndim_util.src
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest_src/ngatest.def
GLOBAL_TESTING_M4_DEPS += global/testing/nga-onesided.m4
GLOBAL_TESTING_M4_DEPS += global/testing/nga-patch.m4
GLOBAL_TESTING_M4_DEPS += global/testing/nga-periodic.m4
GLOBAL_TESTING_M4_DEPS += global/testing/nga-scatter.m4
GLOBAL_TESTING_M4_DEPS += global/testing/ngatest.m4
GLOBAL_TESTING_M4_DEPS += global/testing/nga-util.m4
EXTRA_DIST += $(GLOBAL_TESTING_M4_DEPS)
EXTRA_DIST += global/testing/README
global/testing/nga-onesided.F: $(GLOBAL_TESTING_M4_DEPS)
global/testing/nga-patch.F: $(GLOBAL_TESTING_M4_DEPS)
global/testing/nga-periodic.F: $(GLOBAL_TESTING_M4_DEPS)
global/testing/nga-scatter.F: $(GLOBAL_TESTING_M4_DEPS)
global/testing/nga-util.F: $(GLOBAL_TESTING_M4_DEPS)
global/testing/ngatest.F: $(GLOBAL_TESTING_M4_DEPS)
CLEANFILES += global/testing/nga-onesided.F
CLEANFILES += global/testing/nga-patch.F
CLEANFILES += global/testing/nga-periodic.F
CLEANFILES += global/testing/nga-scatter.F
CLEANFILES += global/testing/nga-util.F
CLEANFILES += global/testing/ngatest.F
if ENABLE_F77
check_PROGRAMS += global/testing/nga-onesided
check_PROGRAMS += global/testing/nga-patch
check_PROGRAMS += global/testing/nga-periodic
check_PROGRAMS += global/testing/nga-scatter
check_PROGRAMS += global/testing/nga-util
check_PROGRAMS += global/testing/ngatest
endif
if ENABLE_F77
GLOBAL_PARALLEL_TESTS += global/testing/nga-onesided$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/nga-patch$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/nga-periodic$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/nga-scatter$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/nga-scatter$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/nga-util$(EXEEXT)
GLOBAL_PARALLEL_TESTS += global/testing/ngatest$(EXEEXT)
endif
.m4.F:
$(M4_V) \
$(M4) -I$(top_srcdir)/global/testing $< > $@
endif
if ENABLE_F77
gtsrcf =
gtsrcf += global/testing/testutil.fh
gtsrcf += global/testing/ffflush.F
gtsrcf += global/testing/util.c
testblassrc = global/testing/testblas.F
endif
global_testing_big_SOURCES = global/testing/big.c
global_testing_bin_SOURCES = global/testing/bin.F $(gtsrcf)
global_testing_blktest_SOURCES = global/testing/blktest.F $(gtsrcf)
global_testing_d2test_SOURCES = global/testing/d2test.F $(gtsrcf)
global_testing_elempatch_SOURCES = global/testing/elempatch.c
global_testing_tiled_irreg_test_SOURCES = global/testing/tiled_irreg_test.c
global_testing_field_test_SOURCES = global/testing/field-test.F $(gtsrcf)
global_testing_g2test_SOURCES = global/testing/g2test.F $(gtsrcf)
global_testing_g3test_SOURCES = global/testing/g3test.F $(gtsrcf)
global_testing_ga_lu_SOURCES = global/testing/ga_lu.c
global_testing_ga_mpi_SOURCES = global/testing/ga-mpi.c
global_testing_ga_shift_SOURCES = global/testing/ga_shift.F $(gtsrcf)
global_testing_gatscat_SOURCES = global/testing/gatscat.c
global_testing_comm_init_SOURCES = global/testing/comm_init.c
global_testing_getmem_SOURCES = global/testing/getmem.c
global_testing_ghosts_SOURCES = global/testing/ghosts.F $(gtsrcf)
global_testing_ipc_clean_SOURCES = global/testing/ipc.clean.c
global_testing_jacobi_SOURCES = global/testing/jacobi.F $(gtsrcf)
global_testing_lock_SOURCES = global/testing/lock.c
global_testing_mir_perf2_SOURCES = global/testing/mir_perf2.F $(gtsrcf)
global_testing_mmatrix_SOURCES = global/testing/mmatrix.F $(gtsrcf)
global_testing_mtest_SOURCES = global/testing/mtest.c
global_testing_mulmatpatch_SOURCES = global/testing/mulmatpatch.F $(gtsrcf) $(testblassrc)
global_testing_mulmatpatchc_SOURCES = global/testing/mulmatpatchc.c
global_testing_nbtest_SOURCES = global/testing/nbtest.F $(gtsrcf)
global_testing_nb2test_SOURCES = global/testing/nb2test.F $(gtsrcf)
global_testing_ndim_SOURCES = global/testing/ndim.F $(gtsrcf)
global_testing_normc_SOURCES = global/testing/normc.c
global_testing_matrixc_SOURCES = global/testing/matrixc.c
global_testing_ntestc_SOURCES = global/testing/ntestc.c
global_testing_nbtestc_SOURCES = global/testing/nbtestc.c
global_testing_ntestfc_SOURCES = global/testing/ntestfc.c
global_testing_packc_SOURCES = global/testing/packc.c
global_testing_patch_SOURCES = global/testing/patch.F $(gtsrcf) $(testblassrc)
global_testing_patch2_SOURCES = global/testing/patch2.F $(gtsrcf)
global_testing_patch_enumc_SOURCES = global/testing/patch_enumc.c
global_testing_patch_enumf_SOURCES = global/testing/patch_enumf.F $(gtsrcf)
global_testing_perf_SOURCES = global/testing/perf.F $(gtsrcf)
global_testing_perf2_SOURCES = global/testing/perf2.c
global_testing_perfmod_SOURCES = global/testing/perfmod.F $(gtsrcf)
global_testing_perform_SOURCES = global/testing/perform.F $(gtsrcf)
global_testing_pg2test_SOURCES = global/testing/pg2test.F $(gtsrcf)
global_testing_pg2testmatmult_SOURCES = global/testing/pg2testmatmult.F $(gtsrcf) $(testblassrc)
global_testing_pgtest_SOURCES = global/testing/pgtest.F $(gtsrcf)
global_testing_pgtestmatmult_SOURCES = global/testing/pgtestmatmult.F $(gtsrcf)
global_testing_print_SOURCES = global/testing/print.c
global_testing_random_SOURCES = global/testing/random.F $(gtsrcf)
global_testing_scan_SOURCES = global/testing/scan.F $(gtsrcf)
global_testing_scan_addc_SOURCES = global/testing/scan_addc.c
global_testing_scan_copyc_SOURCES = global/testing/scan_copyc.c
global_testing_sprsmatvec_SOURCES = global/testing/sprsmatvec.c
global_testing_simple_groups_SOURCES = global/testing/simple_groups.F $(gtsrcf)
global_testing_simple_groups_comm_SOURCES = global/testing/simple_groups_comm.F $(gtsrcf)
global_testing_simple_groups_commc_SOURCES = global/testing/simple_groups_commc.c
global_testing_sparse_SOURCES = global/testing/sparse.F $(gtsrcf)
global_testing_sprsmatmult_SOURCES = global/testing/sprsmatmult.F $(gtsrcf)
global_testing_stride_SOURCES = global/testing/stride.F $(gtsrcf)
global_testing_testabstract_ops_SOURCES = global/testing/testabstract_ops.c
global_testing_test_SOURCES = global/testing/test.F $(gtsrcf)
global_testing_test_mirrored_SOURCES = global/testing/test.F $(gtsrcf)
global_testing_overlay_SOURCES = global/testing/overlay.F $(gtsrcf)
global_testing_testc_SOURCES = global/testing/testc.c
global_testing_testeig_SOURCES = global/testing/testeig.F $(gtsrcf)
global_testing_testmatmult_SOURCES = global/testing/testmatmult.F $(gtsrcf)
global_testing_testmatmultc_SOURCES = global/testing/testmatmultc.c
global_testing_testmult_SOURCES = global/testing/testmult.c
global_testing_testmultrect_SOURCES = global/testing/testmultrect.c
global_testing_gemmtest_SOURCES = global/testing/gemmtest.c
global_testing_testsolve_SOURCES = global/testing/testsolve.F $(gtsrcf)
global_testing_testspd_SOURCES = global/testing/testspd.F $(gtsrcf)
global_testing_thread_perf_contig_SOURCES = global/testing/thread_perf_contig.c
global_testing_thread_perf_strided_SOURCES = global/testing/thread_perf_strided.c
global_testing_threadsafec_SOURCES = global/testing/threadsafec.c
global_testing_types_test_SOURCES = global/testing/types-test.F $(gtsrcf)
global_testing_unpackc_SOURCES = global/testing/unpackc.c
global_testing_cache_test_SOURCES = global/testing/cache_test.c
nodist_global_testing_nga_onesided_SOURCES = global/testing/nga-onesided.F $(gtsrcf)
nodist_global_testing_nga_patch_SOURCES = global/testing/nga-patch.F $(gtsrcf)
nodist_global_testing_nga_periodic_SOURCES = global/testing/nga-periodic.F $(gtsrcf)
nodist_global_testing_nga_scatter_SOURCES = global/testing/nga-scatter.F $(gtsrcf)
nodist_global_testing_nga_util_SOURCES = global/testing/nga-util.F $(gtsrcf)
nodist_global_testing_ngatest_SOURCES = global/testing/ngatest.F $(gtsrcf)
UNIT_TEST_EXTRA_SRC =
UNIT_TEST_EXTRA_SRC += global/testing/unit-tests/mock.c
UNIT_TEST_EXTRA_SRC += global/testing/unit-tests/mock.h
global_testing_unit_tests_ga_abs_value_SOURCES = global/testing/unit-tests/ga_abs_value.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_acc_SOURCES = global/testing/unit-tests/ga_acc.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_add_SOURCES = global/testing/unit-tests/ga_add.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_add_constant_SOURCES = global/testing/unit-tests/ga_add_constant.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_add_constantpatch_SOURCES = global/testing/unit-tests/ga_add_constantpatch.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_add_diagonal_SOURCES = global/testing/unit-tests/ga_add_diagonal.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_add_patch_SOURCES = global/testing/unit-tests/ga_add_patch.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_copy2_SOURCES = global/testing/unit-tests/ga_copy2.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_copy3_SOURCES = global/testing/unit-tests/ga_copy3.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_copy_SOURCES = global/testing/unit-tests/ga_copy.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_copypatch2_SOURCES = global/testing/unit-tests/ga_copypatch2.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_copypatch_SOURCES = global/testing/unit-tests/ga_copypatch.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_create1_SOURCES = global/testing/unit-tests/ga_create1.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_create2_SOURCES = global/testing/unit-tests/ga_create2.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_create3_SOURCES = global/testing/unit-tests/ga_create3.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_create_SOURCES = global/testing/unit-tests/ga_create.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_create_handle_SOURCES = global/testing/unit-tests/ga_create_handle.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_create_irreg2_SOURCES = global/testing/unit-tests/ga_create_irreg2.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_create_irreg3_SOURCES = global/testing/unit-tests/ga_create_irreg3.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_create_irreg_SOURCES = global/testing/unit-tests/ga_create_irreg.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_destroy_SOURCES = global/testing/unit-tests/ga_destroy.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_dgop_SOURCES = global/testing/unit-tests/ga_dgop.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_dot_SOURCES = global/testing/unit-tests/ga_dot.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_duplicate_SOURCES = global/testing/unit-tests/ga_duplicate.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_elem_divide_SOURCES = global/testing/unit-tests/ga_elem_divide.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_elem_dividepatch_SOURCES = global/testing/unit-tests/ga_elem_dividepatch.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_elem_maximum_SOURCES = global/testing/unit-tests/ga_elem_maximum.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_elem_maximumpatch_SOURCES = global/testing/unit-tests/ga_elem_maximumpatch.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_elem_minimum_SOURCES = global/testing/unit-tests/ga_elem_minimum.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_elem_minimumpatch_SOURCES = global/testing/unit-tests/ga_elem_minimumpatch.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_elem_multiply_SOURCES = global/testing/unit-tests/ga_elem_multiply.c $(UNIT_TEST_EXTRA_SRC)
global_testing_unit_tests_ga_elem_multiplypatch_SOURCES = global/testing/unit-tests/ga_elem_multiplypatch.c $(UNIT_TEST_EXTRA_SRC)