-
Notifications
You must be signed in to change notification settings - Fork 7
/
tst_tests.c
1786 lines (1506 loc) · 56.3 KB
/
tst_tests.c
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
/*
* Copyright (c) 2009 Cisco Systems, Inc. All rights reserved.
*/
#include "config.h"
#ifdef HAVE_STRING_H
# include <string.h>
#endif
#ifdef HAVE_STRINGS_H
# include <strings.h>
#endif
#include <mpi.h>
#include "mpi_test_suite.h"
#define CHECK_ARG(i,ret) do { \
if ((i) < 0 || (i) > TST_TESTS_NUM) \
return (ret); \
} while (0)
/*
* Do not count the last test with UNSPEC-Class
*/
#define TST_TESTS_NUM (int)(sizeof (tst_tests) / sizeof (tst_tests[0]) -1)
#define TST_TEST_CLASS_NUM (int)(sizeof (tst_test_class_strings) / sizeof (tst_test_class_strings[0]))
/*
* This string has to be kept up-to-date with the internal representations for
* the test classes in mpi_test_suite.h
* Also edit the internal check in tst_get_class below!
*/
static const char * const tst_test_class_strings [] =
{
"Unspecified",
"Environment",
"P2P",
"Collective",
"One-sided",
"Dynamic",
"IO",
"Threaded"
};
struct tst_test {
int class;
const char * description;
int run_with_comm;
int min_comm_size;
tst_uint64 run_with_type;
int mode;
int needs_sync;
int (*tst_init_func) (struct tst_env * env);
int (*tst_run_func) (struct tst_env * env);
int (*tst_cleanup_func) (struct tst_env * env);
};
static struct tst_test tst_tests[] = {
/*
* Here come the ENV-tests
*/
/* 0 */
{TST_CLASS_ENV, "Status",
TST_MPI_COMM_SELF,
1,
TST_MPI_CHAR,
TST_MODE_STRICT,
TST_SYNC,
&tst_env_status_check_init, &tst_env_status_check_run, &tst_env_status_check_cleanup},
{TST_CLASS_ENV, "Request_Null",
TST_MPI_COMM_SELF,
1,
TST_MPI_CHAR,
TST_MODE_STRICT,
TST_SYNC,
&tst_env_request_null_init, &tst_env_request_null_run, &tst_env_request_null_cleanup},
{TST_CLASS_ENV, "Type_dup",
TST_MPI_COMM_SELF,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_env_type_dup_init, &tst_env_type_dup_run, &tst_env_type_dup_cleanup},
{TST_CLASS_ENV, "Get_version",
TST_MPI_COMM_SELF,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_env_get_version_init, &tst_env_get_version_run, &tst_env_get_version_cleanup},
/*
* Here come the P2P-tests
*/
{TST_CLASS_P2P, "Ring",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_init, &tst_p2p_simple_ring_run, &tst_p2p_simple_ring_cleanup},
{TST_CLASS_P2P, "Ring Send Bottom",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_bottom_init, &tst_p2p_simple_ring_bottom_run, &tst_p2p_simple_ring_bottom_cleanup},
{TST_CLASS_P2P, "Ring Send Pack",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_pack_init, &tst_p2p_simple_ring_pack_run, &tst_p2p_simple_ring_pack_cleanup},
{TST_CLASS_P2P, "Ring Isend",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_isend_init, &tst_p2p_simple_ring_isend_run, &tst_p2p_simple_ring_isend_cleanup},
{TST_CLASS_P2P, "Ring Ibsend",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_ibsend_init, &tst_p2p_simple_ring_ibsend_run, &tst_p2p_simple_ring_ibsend_cleanup},
{TST_CLASS_P2P, "Ring Irsend",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_irsend_init, &tst_p2p_simple_ring_irsend_run, &tst_p2p_simple_ring_irsend_cleanup},
{TST_CLASS_P2P, "Ring Issend",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_issend_init, &tst_p2p_simple_ring_issend_run, &tst_p2p_simple_ring_issend_cleanup},
{TST_CLASS_P2P, "Ring Bsend",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE,
&tst_p2p_simple_ring_bsend_init, &tst_p2p_simple_ring_bsend_run, &tst_p2p_simple_ring_bsend_cleanup},
{TST_CLASS_P2P, "Ring Rsend",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_rsend_init, &tst_p2p_simple_ring_rsend_run, &tst_p2p_simple_ring_rsend_cleanup},
{TST_CLASS_P2P, "Ring Ssend",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE,
&tst_p2p_simple_ring_ssend_init, &tst_p2p_simple_ring_ssend_run, &tst_p2p_simple_ring_ssend_cleanup},
{TST_CLASS_P2P, "Ring Sendrecv",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE,
&tst_p2p_simple_ring_sendrecv_init, &tst_p2p_simple_ring_sendrecv_run, &tst_p2p_simple_ring_sendrecv_cleanup},
{TST_CLASS_P2P, "Ring same value",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_xsend_init, &tst_p2p_simple_ring_xsend_run, &tst_p2p_simple_ring_xsend_cleanup},
{TST_CLASS_P2P, "Ring Persistent",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_persistent_init, &tst_p2p_simple_ring_persistent_run, &tst_p2p_simple_ring_persistent_cleanup},
{TST_CLASS_P2P, "Direct Partner Intercomm",
TST_MPI_INTER_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_direct_partner_intercomm_init,
&tst_p2p_direct_partner_intercomm_run,
&tst_p2p_direct_partner_intercomm_cleanup},
{TST_CLASS_P2P, "Many-to-one",
TST_MPI_INTRA_COMM | TST_MPI_INTER_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed, done with hash */
&tst_p2p_many_to_one_init, &tst_p2p_many_to_one_run, &tst_p2p_many_to_one_cleanup},
{TST_CLASS_P2P, "Many-to-one with MPI_Probe (MPI_ANY_SOURCE)",
TST_MPI_INTRA_COMM | TST_MPI_INTER_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed, done with hash */
&tst_p2p_many_to_one_probe_anysource_init, &tst_p2p_many_to_one_probe_anysource_run, &tst_p2p_many_to_one_probe_anysource_cleanup},
{TST_CLASS_P2P, "Many-to-one with MPI_Iprobe (MPI_ANY_SOURCE)",
TST_MPI_INTRA_COMM | TST_MPI_INTER_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* Receiving with MPI_ANY_SOURCE and MPI_ANY_TAG */
&tst_p2p_many_to_one_iprobe_anysource_init, &tst_p2p_many_to_one_iprobe_anysource_run, &tst_p2p_many_to_one_iprobe_anysource_cleanup},
/*
* LAM core-dumps with sig-segv when running this test with
* "MPI_COMM_WORLD,Reversed MPI_COMM_WORLD"
*/
#ifndef HAVE_MPI_LAM
{TST_CLASS_P2P, "Many-to-one with Isend and Cancellation",
TST_MPI_INTRA_COMM, /* XXX We use a MPI_Gather insided the tests -- no intercomm allowed! | TST_MPI_INTER_COMM,*/
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* Receiving with MPI_ANY_SOURCE and MPI_ANY_TAG */
&tst_p2p_many_to_one_isend_cancel_init, &tst_p2p_many_to_one_isend_cancel_run, &tst_p2p_many_to_one_isend_cancel_cleanup},
#endif
{TST_CLASS_P2P, "Alltoall",
TST_MPI_INTRA_COMM | TST_MPI_INTER_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed, done with hash */
&tst_p2p_alltoall_init, &tst_p2p_alltoall_run, &tst_p2p_alltoall_cleanup},
#ifndef HAVE_MPI_LAM
{TST_CLASS_P2P, "Alltoall Persistent",
TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed, done with hash */
&tst_p2p_alltoall_persistent_init, &tst_p2p_alltoall_persistent_run, &tst_p2p_alltoall_persistent_cleanup},
#endif
{TST_CLASS_P2P, "Alltoall xIsend",
TST_MPI_INTRA_COMM | TST_MPI_INTER_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed, done with hash */
&tst_p2p_alltoall_xisend_init, &tst_p2p_alltoall_xisend_run, &tst_p2p_alltoall_xisend_cleanup},
{TST_CLASS_P2P, "Alltoall Irsend",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_p2p_alltoall_irsend_init, &tst_p2p_alltoall_irsend_run, &tst_p2p_alltoall_irsend_cleanup},
{TST_CLASS_P2P, "Alltoall Issend",
TST_MPI_INTRA_COMM | TST_MPI_INTER_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed -- everyone waits */
&tst_p2p_alltoall_issend_init, &tst_p2p_alltoall_issend_run, &tst_p2p_alltoall_issend_cleanup},
{TST_CLASS_P2P, "Alltoall with MPI_Probe (MPI_ANY_SOURCE)",
TST_MPI_INTRA_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* Probing for MPI_ANY_SOURCE and MPI_ANY_TAG */
&tst_p2p_alltoall_probe_anysource_init, &tst_p2p_alltoall_probe_anysource_run, &tst_p2p_alltoall_probe_anysource_cleanup},
{TST_CLASS_P2P, "Ring Send with cart comm",
TST_MPI_CART_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_simple_ring_shift_init, &tst_p2p_simple_ring_shift_run, &tst_p2p_simple_ring_shift_cleanup},
{TST_CLASS_P2P, "Alltoall with topo comm",
TST_MPI_TOPO_COMM,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC,
&tst_p2p_alltoall_graph_init, &tst_p2p_alltoall_graph_run, &tst_p2p_alltoall_graph_cleanup},
/*
* Here come the collective tests
*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Bcast",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_bcast_init, &tst_coll_bcast_run, &tst_coll_bcast_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Gather",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_gather_init, &tst_coll_gather_run, &tst_coll_gather_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Allgather",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_allgather_init, &tst_coll_allgather_run, &tst_coll_allgather_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Allgather with MPI_IN_PLACE",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_allgather_in_place_init, &tst_coll_allgather_in_place_run, &tst_coll_allgather_in_place_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Scan sum",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_INT_TYPES |
TST_MPI_STANDARD_C_FLOAT_TYPES |
TST_MPI_STANDARD_FORTRAN_COMPLEX_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPI_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_coll_scan_sum_init, &tst_coll_scan_sum_run, &tst_coll_scan_sum_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Scatter",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_scatter_init, &tst_coll_scatter_run, &tst_coll_scatter_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Scatterv",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_scatterv_init, &tst_coll_scatterv_run, &tst_coll_scatterv_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Scatterv with stride",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_scatterv_stride_init, &tst_coll_scatterv_stride_run, &tst_coll_scatterv_stride_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Reduce Min",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPI_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_reduce_min_init, &tst_coll_reduce_min_run, &tst_coll_reduce_min_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Reduce Max",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPI_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_reduce_max_init, &tst_coll_reduce_max_run, &tst_coll_reduce_max_cleanup},
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Reduce Min with MPI_IN_PLACE",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPI_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_reduce_in_place_min_init, &tst_coll_reduce_in_place_min_run, &tst_coll_reduce_in_place_min_cleanup},
{TST_CLASS_COLL, "Reduce Max with MPI_IN_PLACE",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPI_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_reduce_in_place_max_init, &tst_coll_reduce_in_place_max_run, &tst_coll_reduce_in_place_max_cleanup},
{TST_CLASS_COLL, "Allreduce Min",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPI_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_allreduce_min_init, &tst_coll_allreduce_min_run, &tst_coll_allreduce_min_cleanup},
/*
* The Allreduce call is not valid for MPI_MIN/MPI_MAX and
* the datatypes MPI_Char, MPI_UNSIGNED_CHAR and MPI_Byte and
* the struct datatypes
*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Allreduce Max",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPI_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_allreduce_max_init, &tst_coll_allreduce_max_run, &tst_coll_allreduce_max_cleanup},
{TST_CLASS_COLL, "Allreduce Min/Max",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPI_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_allreduce_init, &tst_coll_allreduce_run, &tst_coll_allreduce_cleanup},
/*
* MPI_IN_PLACE allreduce
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Allreduce Min/Max with MPI_IN_PLACE",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
#ifdef HAVE_MPI2
/*
* MPI2 allows the usage of the MPI_SIGNED_CHAR and the MPI_UNSIGNED_CHAR types in reductions!
* However, MPI_CHAR with no actual knowledge on the signed-ness is of course still not allowed.
*/
/*
* MPIch2 does not allow MPI_SIGNED_CHAR on collective Ops.
*/
# ifdef HAVE_MPICH2
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_BYTE),
# else
~(TST_MPI_CHAR | TST_MPI_BYTE),
# endif
#else
~(TST_MPI_CHAR | TST_MPI_SIGNED_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
#endif
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_allreduce_in_place_init, &tst_coll_allreduce_in_place_run, &tst_coll_allreduce_in_place_cleanup},
{TST_CLASS_COLL, "Allreduce Sum",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_FLOAT_TYPES) &
~(TST_MPI_FLOAT | TST_MPI_LONG_DOUBLE),
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_allreduce_sum_init, &tst_coll_allreduce_sum_run, &tst_coll_allreduce_sum_cleanup},
#if 0 /* quadsum operation is not associative so the test is wrong. */
{TST_CLASS_COLL, "Allreduce Quadsum",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_LONG,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_allreduce_quadsum_init, &tst_coll_allreduce_quadsum_run, &tst_coll_allreduce_quadsum_cleanup},
#endif
/*
* XXX should allow TST_MPI_INTER_COMM depending on whether the underlying
* MPI supports it!
*/
{TST_CLASS_COLL, "Alltoall",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_coll_alltoall_init, &tst_coll_alltoall_run, &tst_coll_alltoall_cleanup},
/*
* Here follow the MPI2 Dynamic process management test
*/
#if HAVE_MPI2_DYNAMIC
{TST_CLASS_DYNAMIC, "establish_communication_alltoall",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
/* XXX CN Need sync or not? */
TST_SYNC, /* No synchronization needed */
&tst_establish_communication_init, &tst_establish_communication_run, &tst_establish_communication_cleanup },
{TST_CLASS_DYNAMIC, "comm_spawn",
TST_MPI_INTRA_COMM, /* | TST_MPI_INTER_COMM, */
1,
TST_MPI_INT,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_comm_spawn_init, &tst_comm_spawn_run, &tst_comm_spawn_cleanup },
{TST_CLASS_DYNAMIC, "comm_spawn_multiple",
TST_MPI_INTRA_COMM, /* | TST_MPI_INTER_COMM, */
1,
TST_MPI_INT,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_comm_spawn_multiple_init, &tst_comm_spawn_multiple_run, &tst_comm_spawn_multiple_cleanup },
#endif /* HAVE_MPI2_DYNAMIC */
#ifdef HAVE_MPI2_ONE_SIDED
{TST_CLASS_ONE_SIDED, "get_fence",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_get_with_fence_alltoall_init, &tst_get_with_fence_alltoall_run, &tst_get_with_fence_alltoall_cleanup },
{TST_CLASS_ONE_SIDED, "put_fence",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_put_with_fence_alltoall_init, &tst_put_with_fence_alltoall_run, &tst_put_with_fence_alltoall_cleanup },
{TST_CLASS_ONE_SIDED, "accumulate_fence",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_FLOAT_TYPES) &
~(TST_MPI_FLOAT | TST_MPI_LONG_DOUBLE),
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_accumulate_with_fence_sum_init, &tst_accumulate_with_fence_sum_run, &tst_accumulate_with_fence_sum_cleanup },
{TST_CLASS_ONE_SIDED, "get_post",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_get_with_post_alltoall_init, &tst_get_with_post_alltoall_run, &tst_get_with_post_alltoall_cleanup },
{TST_CLASS_ONE_SIDED, "put_post",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_put_with_post_alltoall_init, &tst_put_with_post_alltoall_run, &tst_put_with_post_alltoall_cleanup },
{TST_CLASS_ONE_SIDED, "accumulate_post_min",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
~(TST_MPI_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_accumulate_with_post_min_init, &tst_accumulate_with_post_min_run, &tst_accumulate_with_post_min_cleanup },
{TST_CLASS_ONE_SIDED, "get_lock",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_get_with_lock_alltoall_init, &tst_get_with_lock_alltoall_run, &tst_get_with_lock_alltoall_cleanup },
{TST_CLASS_ONE_SIDED, "put_lock",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
TST_MPI_ALL_C_TYPES,
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_put_with_lock_alltoall_init, &tst_put_with_lock_alltoall_run, &tst_put_with_lock_alltoall_cleanup },
{TST_CLASS_ONE_SIDED, "accumulate_lock",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
(TST_MPI_STANDARD_C_TYPES | TST_MPI_STANDARD_FORTRAN_INT_TYPES | TST_MPI_STANDARD_FORTRAN_FLOAT_TYPES) &
~(TST_MPI_CHAR | TST_MPI_UNSIGNED_CHAR | TST_MPI_BYTE),
TST_MODE_RELAXED,
TST_SYNC, /* No synchronization needed */
&tst_accumulate_with_lock_max_init, &tst_accumulate_with_lock_max_run, &tst_accumulate_with_lock_max_cleanup },
{TST_CLASS_ONE_SIDED, "Ring with Get",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM, /* XXX possible with MPI_COMM_SELF?? */
1,
TST_MPI_STANDARD_C_TYPES, /* Fails with TST_MPI_ALL_C_TYPES, as the struct-datatypes are not supported */
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_one_sided_simple_ring_get_init, &tst_one_sided_simple_ring_get_run, &tst_one_sided_simple_ring_get_cleanup},
/*
* MPICH2-1.0.3 hangs in this test on the
* Odd/Even split MPI_COMM_WORLD (ONLY on *this* one, all other intra-comms work)
* OpenMPI-v9189 also has problems
*/
#if !defined(HAVE_MPI_MPICH2) && !defined(HAVE_MPI_NECSX) && !defined(HAVE_MPI_OPENMPI)
{TST_CLASS_ONE_SIDED, "Ring with Get using Post",
TST_MPI_INTRA_COMM, /* XXX possible with MPI_COMM_SELF?? */
2,
TST_MPI_STANDARD_C_TYPES, /* Fails with TST_MPI_ALL_C_TYPES, as the struct-datatypes are not supported */
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_one_sided_simple_ring_get_post_init, &tst_one_sided_simple_ring_get_post_run, &tst_one_sided_simple_ring_get_post_cleanup},
#endif
{TST_CLASS_ONE_SIDED, "Ring with Put",
TST_MPI_COMM_SELF | TST_MPI_INTRA_COMM, /* XXX possible with MPI_COMM_SELF?? */
1,
TST_MPI_STANDARD_C_TYPES, /* Fails with TST_MPI_ALL_C_TYPES, as the struct-datatypes are not supported */
TST_MODE_RELAXED,
TST_NONE, /* No synchronization needed */
&tst_one_sided_simple_ring_put_init, &tst_one_sided_simple_ring_put_run, &tst_one_sided_simple_ring_put_cleanup},
#endif /* HAVE_MPI2_ONE_SIDED */
#ifdef HAVE_MPI2_IO
/*
* Here come the io tests
*/
{TST_CLASS_IO, "file simple",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_simple_init, &tst_file_simple_run, &tst_file_simple_cleanup },
{TST_CLASS_IO, "read_at",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_read_at_init, &tst_file_read_at_run, &tst_file_read_at_cleanup },
{TST_CLASS_IO, "write_at",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_write_at_init, &tst_file_write_at_run, &tst_file_write_at_cleanup },
{TST_CLASS_IO, "read_at_all",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_read_at_all_init, &tst_file_read_at_all_run, &tst_file_read_at_all_cleanup },
{TST_CLASS_IO, "write_at_all",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_write_at_all_init, &tst_file_write_at_all_run, &tst_file_write_at_all_cleanup },
{TST_CLASS_IO, "iread_at",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_iread_at_init, &tst_file_iread_at_run, &tst_file_iread_at_cleanup },
{TST_CLASS_IO, "iwrite_at",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_iwrite_at_init, &tst_file_iwrite_at_run, &tst_file_iwrite_at_cleanup },
{TST_CLASS_IO, "read_at_all_begin",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_read_at_all_begin_init, &tst_file_read_at_all_begin_run, &tst_file_read_at_all_begin_cleanup },
{TST_CLASS_IO, "write_at_all_begin",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_write_at_all_begin_init, &tst_file_write_at_all_begin_run, &tst_file_write_at_all_begin_cleanup },
{TST_CLASS_IO, "read",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_read_init, &tst_file_read_run, &tst_file_read_cleanup },
{TST_CLASS_IO, "write",
TST_MPI_INTRA_COMM /* | TST_MPI_INTER_COMM */,
1,
/*TST_MPI_STANDARD_C_TYPES,*/
TST_MPI_ALL_C_TYPES&
~(TST_MPI_TYPE_MIX_LB_UB),
TST_MODE_RELAXED,
TST_SYNC, /* Needs sync due to bcast of filename in init */
&tst_file_write_init, &tst_file_write_run, &tst_file_write_cleanup },