-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmpis.f90
1589 lines (1511 loc) · 47.2 KB
/
mpis.f90
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
MODULE MPI
USE PRECISION_PARAMETERS, ONLY : DPC, EB
integer LAM_MAJOR_VERSION, LAM_MINOR_VERSION
integer LAM_RELEASE_VERSION
integer LAM_ALPHA_VERSION, LAM_BETA_VERSION
integer LAM_SVN_VERSION
parameter (LAM_MAJOR_VERSION=7)
parameter (LAM_MINOR_VERSION=1)
parameter (LAM_RELEASE_VERSION=2)
parameter (LAM_ALPHA_VERSION=0)
parameter (LAM_BETA_VERSION=0)
parameter (LAM_SVN_VERSION=0)
integer MPI_VERSION, MPI_SUBVERSION
parameter (MPI_VERSION=1)
parameter (MPI_SUBVERSION=2)
integer MPI_SUCCESS, MPI_ANY_SOURCE, MPI_ANY_TAG
integer MPI_PROC_NULL, MPI_MAX_PROCESSOR_NAME
integer MPI_MAX_ERROR_STRING, MPI_UNDEFINED
integer MPI_CART, MPI_GRAPH, MPI_KEYVAL_INVALID
integer MPI_STATUS_SIZE, MPI_SOURCE, MPI_TAG, MPI_ERROR
integer MPI_TAG_UB, MPI_HOST, MPI_IO, MPI_WTIME_IS_GLOBAL
integer MPI_UNIVERSE_SIZE, MPI_APPNUM, MPI_WIN_BASE
integer MPI_WIN_SIZE, MPI_WIN_DISP_UNIT, MPI_BSEND_OVERHEAD
integer MPI_MAX_INFO_KEY, MPI_MAX_INFO_VAL
integer MPI_MAX_PORT_NAME, MPI_MAX_OBJECT_NAME
integer MPI_ORDER_C, MPI_ORDER_FORTRAN
integer MPI_DISTRIBUTE_BLOCK, MPI_DISTRIBUTE_CYCLIC
integer MPI_DISTRIBUTE_NONE, MPI_DISTRIBUTE_DFLT_DARG
integer MPI_ROOT, MPI_CANCEL_SOURCE
parameter (MPI_SUCCESS=0)
parameter (MPI_ANY_SOURCE=-1)
parameter (MPI_ANY_TAG=-1)
parameter (MPI_PROC_NULL=-2)
parameter (MPI_CANCEL_SOURCE=-3)
parameter (MPI_ROOT=-4)
parameter (MPI_MAX_PROCESSOR_NAME=255)
parameter (MPI_MAX_ERROR_STRING=255)
parameter (MPI_UNDEFINED=-32766)
parameter (MPI_CART=1)
parameter (MPI_GRAPH=2)
parameter (MPI_KEYVAL_INVALID=-1)
parameter (MPI_STATUS_SIZE=4)
parameter (MPI_SOURCE=1)
parameter (MPI_TAG=2)
parameter (MPI_ERROR=3)
parameter (MPI_TAG_UB=0)
parameter (MPI_HOST=1)
parameter (MPI_IO=2)
parameter (MPI_WTIME_IS_GLOBAL=3)
parameter (MPI_UNIVERSE_SIZE=4)
parameter (MPI_APPNUM=5)
parameter (MPI_WIN_BASE=6)
parameter (MPI_WIN_SIZE=7)
parameter (MPI_WIN_DISP_UNIT=8)
parameter (MPI_BSEND_OVERHEAD=40)
parameter (MPI_MAX_INFO_KEY=35)
parameter (MPI_MAX_INFO_VAL=255)
parameter (MPI_MAX_PORT_NAME=35)
parameter (MPI_MAX_OBJECT_NAME=63)
parameter (MPI_ORDER_C=0)
parameter (MPI_ORDER_FORTRAN=1)
parameter (MPI_DISTRIBUTE_BLOCK=0)
parameter (MPI_DISTRIBUTE_CYCLIC=1)
parameter (MPI_DISTRIBUTE_NONE=2)
parameter (MPI_DISTRIBUTE_DFLT_DARG=-1)
complex(DPC) :: MPI_BOTTOM, MPI_ARGV_NULL
complex(DPC) :: MPI_ARGVS_NULL, MPI_ERRCODES_IGNORE
integer :: MPI_STATUS_IGNORE, MPI_STATUSES_IGNORE
! complex(DPC) :: MPI_STATUS_IGNORE, MPI_STATUSES_IGNORE
common/mpi_bottom/MPI_BOTTOM
common/mpi_argv_null/MPI_ARGV_NULL
common/mpi_argvs_null/MPI_ARGVS_NULL
common/mpi_errcodes_ignore/MPI_ERRCODES_IGNORE
common/mpi_status_ignore/MPI_STATUS_IGNORE
common/mpi_statuses_ignore/MPI_STATUSES_IGNORE
integer MPI_GROUP_NULL, MPI_COMM_NULL, MPI_DATATYPE_NULL
integer MPI_REQUEST_NULL, MPI_OP_NULL, MPI_ERRHANDLER_NULL
integer MPI_INFO_NULL
parameter (MPI_GROUP_NULL=-1)
parameter (MPI_COMM_NULL=-1)
parameter (MPI_DATATYPE_NULL=-1)
parameter (MPI_REQUEST_NULL=-1)
parameter (MPI_OP_NULL=-1)
parameter (MPI_ERRHANDLER_NULL=-1)
parameter (MPI_INFO_NULL=-1)
integer MPI_THREAD_SINGLE, MPI_THREAD_FUNNELED
integer MPI_THREAD_SERIALIZED, MPI_THREAD_MULTIPLE
parameter (MPI_THREAD_SINGLE=0)
parameter (MPI_THREAD_FUNNELED=1)
parameter (MPI_THREAD_SERIALIZED=2)
parameter (MPI_THREAD_MULTIPLE=3)
integer MPI_ERR_BUFFER, MPI_ERR_COUNT, MPI_ERR_TYPE
integer MPI_ERR_TAG, MPI_ERR_COMM, MPI_ERR_RANK
integer MPI_ERR_REQUEST, MPI_ERR_ROOT, MPI_ERR_GROUP
integer MPI_ERR_OP, MPI_ERR_TOPOLOGY, MPI_ERR_DIMS
integer MPI_ERR_ARG, MPI_ERR_UNKNOWN, MPI_ERR_TRUNCATE
integer MPI_ERR_OTHER, MPI_ERR_INTERN, MPI_ERR_IN_STATUS
integer MPI_ERR_PENDING, MPI_ERR_SYSRESOURCE
integer MPI_ERR_LOCALDEAD, MPI_ERR_REMOTEDEAD
integer MPI_ERR_VALUE, MPI_ERR_FLAGS, MPI_ERR_SERVICE
integer MPI_ERR_NAME, MPI_ERR_SPAWN, MPI_ERR_KEYVAL
integer MPI_ERR_INFO_NOKEY, MPI_ERR_WIN
integer MPI_ERR_EPOCH, MPI_ERR_TYPENOTSUP
integer MPI_ERR_INFO_KEY, MPI_ERR_INFO_VALUE
integer MPI_ERR_NO_MEM, MPI_ERR_BASE
integer MPI_ERR_LASTCODE
parameter (MPI_ERR_BUFFER=1)
parameter (MPI_ERR_COUNT=2)
parameter (MPI_ERR_TYPE=3)
parameter (MPI_ERR_TAG=4)
parameter (MPI_ERR_COMM=5)
parameter (MPI_ERR_RANK=6)
parameter (MPI_ERR_REQUEST=7)
parameter (MPI_ERR_ROOT=8)
parameter (MPI_ERR_GROUP=9)
parameter (MPI_ERR_OP=10)
parameter (MPI_ERR_TOPOLOGY=11)
parameter (MPI_ERR_DIMS=12)
parameter (MPI_ERR_ARG=13)
parameter (MPI_ERR_UNKNOWN=14)
parameter (MPI_ERR_TRUNCATE=15)
parameter (MPI_ERR_OTHER=16)
parameter (MPI_ERR_INTERN=17)
parameter (MPI_ERR_IN_STATUS=18)
parameter (MPI_ERR_PENDING=19)
parameter (MPI_ERR_SYSRESOURCE=20)
parameter (MPI_ERR_LOCALDEAD=21)
parameter (MPI_ERR_REMOTEDEAD=22)
parameter (MPI_ERR_VALUE=23)
parameter (MPI_ERR_FLAGS=24)
parameter (MPI_ERR_SERVICE=25)
parameter (MPI_ERR_NAME=26)
parameter (MPI_ERR_SPAWN=27)
parameter (MPI_ERR_KEYVAL=28)
parameter (MPI_ERR_INFO_NOKEY=29)
parameter (MPI_ERR_WIN=30)
parameter (MPI_ERR_EPOCH=31)
parameter (MPI_ERR_TYPENOTSUP=32)
parameter (MPI_ERR_INFO_KEY=33)
parameter (MPI_ERR_INFO_VALUE=34)
parameter (MPI_ERR_NO_MEM=35)
parameter (MPI_ERR_BASE=36)
parameter (MPI_ERR_LASTCODE=37)
integer MPI_IDENT, MPI_CONGRUENT, MPI_SIMILAR, MPI_UNEQUAL
parameter (MPI_IDENT=1)
parameter (MPI_CONGRUENT=2)
parameter (MPI_SIMILAR=3)
parameter (MPI_UNEQUAL=4)
integer MPI_COMM_WORLD, MPI_COMM_SELF
integer MPI_GROUP_EMPTY
integer MPI_ERRORS_ARE_FATAL, MPI_ERRORS_RETURN
parameter (MPI_COMM_WORLD=0)
parameter (MPI_COMM_SELF=1)
parameter (MPI_GROUP_EMPTY=2)
parameter (MPI_ERRORS_ARE_FATAL=3)
parameter (MPI_ERRORS_RETURN=4)
integer MPI_INTEGER, MPI_INTEGER1
integer MPI_INTEGER2, MPI_INTEGER4, MPI_INTEGER8
integer MPI_REAL, MPI_REAL4, MPI_REAL8
integer MPI_REAL16, MPI_DOUBLE_PRECISION
integer MPI_COMPLEX, MPI_LOGICAL, MPI_CHARACTER
integer MPI_BYTE, MPI_PACKED, MPI_UB, MPI_LB, MPI_2REAL
integer MPI_2DOUBLE_PRECISION, MPI_2INTEGER
integer MPI_DOUBLE_COMPLEX
parameter (MPI_BYTE=5)
parameter (MPI_PACKED=6)
parameter (MPI_UB=7)
parameter (MPI_LB=8)
parameter (MPI_CHARACTER=9)
parameter (MPI_LOGICAL=10)
parameter (MPI_INTEGER=11)
parameter (MPI_INTEGER1=12)
parameter (MPI_INTEGER2=13)
parameter (MPI_INTEGER4=14)
parameter (MPI_INTEGER8=15)
parameter (MPI_REAL=16)
parameter (MPI_REAL4=17)
parameter (MPI_REAL8=18)
parameter (MPI_REAL16=-1)
parameter (MPI_DOUBLE_PRECISION=20)
parameter (MPI_COMPLEX=21)
parameter (MPI_DOUBLE_COMPLEX=22)
parameter (MPI_2REAL=23)
parameter (MPI_2DOUBLE_PRECISION=24)
parameter (MPI_2INTEGER=25)
integer MPI_MAX, MPI_MIN, MPI_SUM, MPI_PROD, MPI_LAND
integer MPI_BAND, MPI_LOR, MPI_BOR, MPI_LXOR, MPI_BXOR
integer MPI_MAXLOC, MPI_MINLOC, MPI_REPLACE
parameter (MPI_MAX=26)
parameter (MPI_MIN=27)
parameter (MPI_SUM=28)
parameter (MPI_PROD=29)
parameter (MPI_LAND=30)
parameter (MPI_BAND=31)
parameter (MPI_LOR=32)
parameter (MPI_BOR=33)
parameter (MPI_LXOR=34)
parameter (MPI_BXOR=35)
parameter (MPI_MAXLOC=36)
parameter (MPI_MINLOC=37)
parameter (MPI_REPLACE=38)
integer mpi_failure
parameter ( mpi_failure = 1 )
integer mpi_product
parameter ( mpi_product = 4 )
integer dummy
logical dummyl
character dummyc
interface mpi_scatter
module procedure mpi_scatter_real2 , mpi_scatter_real3
end interface mpi_scatter
interface mpi_gatherv
module procedure mpi_gatherv_int1 , mpi_gatherv_int2, mpi_gatherv_int3, &
mpi_gatherv_real1 , mpi_gatherv_real2, mpi_gatherv_real3, mpi_gatherv_real4, &
mpi_gatherv_logical1, mpi_gatherv_logical2,mpi_gatherv_logical3
end interface mpi_gatherv
interface mpi_allgather
module procedure mpi_allgather_int1 , mpi_allgather_int2, &
mpi_allgather_real1 , mpi_allgather_real2, mpi_allgather_real3, &
mpi_allgather_logical1, mpi_allgather_logical2
end interface mpi_allgather
interface mpi_allgatherv
module procedure mpi_allgatherv_int1 , mpi_allgatherv_int2, &
mpi_allgatherv_real1 , mpi_allgatherv_real2, mpi_allgatherv_real3, &
mpi_allgatherv_logical1, mpi_allgatherv_logical2
end interface mpi_allgatherv
interface mpi_reduce
module procedure mpi_reduce_int0 , mpi_reduce_int1, &
mpi_reduce_real0 , mpi_reduce_real1, &
mpi_reduce_logical0, mpi_reduce_logical1
end interface mpi_reduce
interface mpi_allreduce
module procedure mpi_allreduce_int0 , mpi_allreduce_int1, &
mpi_allreduce_real0 , mpi_allreduce_real1, &
mpi_allreduce_logical0, mpi_allreduce_logical1
end interface mpi_allreduce
interface mpi_recv_init
module procedure mpi_recv_init_int0 , mpi_recv_init_int1, &
mpi_recv_init_real0 , mpi_recv_init_real1, &
mpi_recv_init_logical0, mpi_recv_init_logical1,&
mpi_recv_init_char0 , mpi_recv_init_char1
end interface mpi_recv_init
interface mpi_send_init
module procedure mpi_send_init_int0 , mpi_send_init_int1, &
mpi_send_init_real0 , mpi_send_init_real1, &
mpi_send_init_logical0, mpi_send_init_logical1,&
mpi_send_init_char0 , mpi_send_init_char1
end interface mpi_send_init
interface mpi_recv
module procedure mpi_recv_int0 , mpi_recv_int1, &
mpi_recv_real0 , mpi_recv_real1, &
mpi_recv_logical0, mpi_recv_logical1,&
mpi_recv_char0 , mpi_recv_char1
end interface mpi_recv
interface mpi_send
module procedure mpi_send_int0 , mpi_send_int1, &
mpi_send_real0 , mpi_send_real1, &
mpi_send_logical0, mpi_send_logical1, &
mpi_send_char0 , mpi_send_char1
end interface mpi_send
interface mpi_isend
module procedure mpi_isend_int0 , mpi_isend_int1, &
mpi_isend_real0 , mpi_isend_real1, &
mpi_isend_logical0, mpi_isend_logical1, &
mpi_isend_char0 , mpi_isend_char1
end interface mpi_isend
interface mpi_irecv
module procedure mpi_irecv_int0 , mpi_irecv_int1, &
mpi_irecv_real0 , mpi_irecv_real1, &
mpi_irecv_logical0, mpi_irecv_logical1, &
mpi_irecv_char0 , mpi_irecv_char1
end interface mpi_irecv
interface mpi_bcast
module procedure mpi_bcast_int0 , mpi_bcast_int1, &
mpi_bcast_real0 , mpi_bcast_real1, &
mpi_bcast_logical0, mpi_bcast_logical1
end interface mpi_bcast
interface mpi_startall
module procedure mpi_startall_int0, mpi_startall_int1
end interface mpi_startall
interface mpi_waitall
module procedure mpi_waitall_int0, mpi_waitall_int1, mpi_waitall_int1b
end interface mpi_waitall
contains
subroutine mpi_scatter_real2 ( data1, nsend, sendtype, data2, nrecv, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:) :: data2
integer:: ierror
integer:: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1) + nrecv + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_scatter_real3 ( data1, nsend, sendtype, data2, nrecv, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:,:) :: data2
integer:: ierror
integer :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1,1) + nrecv + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_int1 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
integer:: data1
integer, dimension(:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1) + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_int2 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
integer:: data1
integer, dimension(:,:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1) + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_int3 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
integer:: data1
integer, dimension(:,:,:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1,1) + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_real1 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1) + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_real2 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1) + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_real3 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:,:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1,1) + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_real4 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:,:,:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1,1,1) + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_logical1 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
logical:: data1
logical, dimension(:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummyl = data1
dummyl = data2(1)
dummy = nsend + sendtype + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_logical2 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
logical:: data1
logical, dimension(:,:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummyl = data1
dummyl = data2(1,1)
dummy = nsend + sendtype + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_gatherv_logical3 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, recvnode, comm, ierror )
implicit none
integer:: nsend
integer:: comm
logical:: data1
logical, dimension(:,:,:) :: data2
integer:: ierror
integer, dimension(:) :: ndispls
integer, dimension(:) :: nrecv
integer:: recvtype
integer:: recvnode
integer:: sendtype
dummyl = data1
dummyl = data2(1,1,1)
dummy = nsend + sendtype + nrecv(1) + ndispls(1) + recvtype + recvnode + comm + ierror
end subroutine
subroutine mpi_allgather_int1 ( data1, nsend, sendtype,data2, nrecv, recvtype, comm, ierror )
implicit none
integer:: nsend
integer:: comm
integer:: data1
integer, dimension(:) :: data2
integer:: ierror
integer:: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1) + nrecv + recvtype + comm + ierror
end subroutine
subroutine mpi_allgather_int2 ( data1, nsend, sendtype,data2, nrecv, recvtype, comm, ierror )
implicit none
integer:: nsend
integer:: comm
integer:: data1
integer, dimension(:,:) :: data2
integer:: ierror
integer:: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1) + nrecv + recvtype + comm + ierror
end subroutine
subroutine mpi_allgather_real1 ( data1, nsend, sendtype,data2, nrecv, recvtype, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:) :: data2
integer:: ierror
integer:: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1) + nrecv + recvtype + comm + ierror
end subroutine
subroutine mpi_allgather_real2 ( data1, nsend, sendtype,data2, nrecv, recvtype, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:) :: data2
integer:: ierror
integer:: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1) + nrecv + recvtype + comm + ierror
end subroutine
subroutine mpi_allgather_real3 ( data1, nsend, sendtype,data2, nrecv, recvtype, comm, ierror )
implicit none
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:,:) :: data2
integer:: ierror
integer:: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1,1) + nrecv + recvtype + comm + ierror
end subroutine
subroutine mpi_allgather_logical1 ( data1, nsend, sendtype,data2, nrecv, recvtype, comm, ierror )
implicit none
integer:: nsend
integer:: comm
logical:: data1
logical, dimension(:) :: data2
integer:: ierror
integer:: nrecv
integer:: recvtype
integer:: sendtype
dummyl = data1
dummyl = data2(1)
dummy = nsend + sendtype + nrecv + recvtype + comm + ierror
end subroutine
subroutine mpi_allgather_logical2 ( data1, nsend, sendtype,data2, nrecv, recvtype, comm, ierror )
implicit none
integer:: nsend
integer:: comm
logical:: data1
logical, dimension(:,:) :: data2
integer:: ierror
integer:: nrecv
integer:: recvtype
integer:: sendtype
dummyl = data1
dummyl = data2(1,1)
dummy = nsend + sendtype + nrecv + recvtype + comm + ierror
end subroutine
subroutine mpi_allgatherv_int1 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, comm, ierror )
integer:: nsend
integer:: comm
integer:: data1
integer, dimension(:):: data2
integer:: ierror
integer, dimension(:):: ndispls
integer, dimension(:):: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1) + nrecv(1) + ndispls(1) + recvtype + comm + ierror
end subroutine
subroutine mpi_allgatherv_int2 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, comm, ierror )
integer:: nsend
integer:: comm
integer:: data1
integer, dimension(:,:):: data2
integer:: ierror
integer, dimension(:):: ndispls
integer, dimension(:):: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1) + nrecv(1) + ndispls(1) + recvtype + comm + ierror
end subroutine
subroutine mpi_allgatherv_real1 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, comm, ierror )
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:):: data2
integer:: ierror
integer, dimension(:):: ndispls
integer, dimension(:):: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1) + nrecv(1) + ndispls(1) + recvtype + comm + ierror
end subroutine
subroutine mpi_allgatherv_real2 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, comm, ierror )
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:):: data2
integer:: ierror
integer, dimension(:):: ndispls
integer, dimension(:):: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1) + nrecv(1) + ndispls(1) + recvtype + comm + ierror
end subroutine
subroutine mpi_allgatherv_real3 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, comm, ierror )
integer:: nsend
integer:: comm
real(eb):: data1
real(eb), dimension(:,:,:):: data2
integer:: ierror
integer, dimension(:):: ndispls
integer, dimension(:):: nrecv
integer:: recvtype
integer:: sendtype
dummy = data1 + nsend + sendtype + data2(1,1,1) + nrecv(1) + ndispls(1) + recvtype + comm + ierror
end subroutine
subroutine mpi_allgatherv_logical1 ( data1, nsend, sendtype, data2, nrecv, ndispls, recvtype, comm, ierror )
integer:: nsend
integer:: comm
logical:: data1
logical, dimension(:):: data2
integer:: ierror
integer, dimension(:):: ndispls
integer, dimension(:):: nrecv
integer:: recvtype
integer:: sendtype
dummyl = data1
dummyl = data2(1)
dummy = nsend + sendtype + nrecv(1) + ndispls(1) + recvtype + comm + ierror
end subroutine
subroutine mpi_allgatherv_logical2 ( data1, nsend, sendtype, data2, nrecv, ndispls, &
recvtype, comm, ierror )
integer:: nsend
integer:: comm
logical:: data1
logical, dimension(:,:):: data2
integer:: ierror
integer, dimension(:):: ndispls
integer, dimension(:):: nrecv
integer:: recvtype
integer:: sendtype
dummyl = data1
dummyl = data2(1,1)
dummy = nsend + sendtype + nrecv(1) + ndispls(1) + recvtype + comm + ierror
end subroutine
subroutine mpi_reduce_int0( data1, data2, n, datatype, operation, receiver, comm, ierror )
implicit none
integer:: n
integer:: comm
integer:: data1
integer:: data2
integer:: datatype
integer:: ierror
integer:: operation
integer:: receiver
dummy = data1 + data2 + n + datatype + operation + receiver + comm + ierror
end subroutine
subroutine mpi_reduce_int1 ( data1, data2, n, datatype, operation, receiver, comm, ierror )
implicit none
integer:: n
integer:: comm
integer, dimension(:) :: data1
integer:: data2
integer:: datatype
integer:: ierror
integer:: operation
integer:: receiver
dummy = data1(1) + data2 + n + datatype + operation + receiver + comm + ierror
end subroutine
subroutine mpi_reduce_real0( data1, data2, n, datatype, operation, receiver, comm, ierror )
implicit none
integer:: n
integer:: comm
real(eb):: data1
real(eb):: data2
integer:: datatype
integer:: ierror
integer:: operation
integer:: receiver
dummy = data1 + data2 + n + datatype + operation + receiver + comm + ierror
end subroutine
subroutine mpi_reduce_real1( data1, data2, n, datatype, operation, receiver, comm, ierror )
implicit none
integer:: n
integer:: comm
real(eb):: data1
real(eb), dimension(:) :: data2
integer:: datatype
integer:: ierror
integer:: operation
integer:: receiver
dummy = data1 + data2(1) + n + datatype + operation + receiver + comm + ierror
end subroutine
subroutine mpi_reduce_logical0( data1, data2, n, datatype, operation, receiver, comm, ierror )
implicit none
integer:: n
integer:: comm
logical:: data1
logical:: data2
integer:: datatype
integer:: ierror
integer:: operation
integer:: receiver
dummyl = data1
dummyl = data2
dummy = n + datatype + operation + receiver + comm + ierror
end subroutine
subroutine mpi_reduce_logical1( data1, data2, n, datatype, operation, receiver, comm, ierror )
implicit none
integer:: n
integer:: comm
logical:: data1
logical, dimension(:) :: data2
integer:: datatype
integer:: ierror
integer:: operation
integer:: receiver
dummyl = data1
dummyl = data2(1)
dummy = n + datatype + operation + receiver + comm + ierror
end subroutine
subroutine mpi_allreduce_int0 ( data1, data2, n, datatype, operation, comm, ierror )
implicit none
integer:: n
integer:: comm
integer:: data1
integer:: data2
integer:: datatype
integer:: ierror
integer:: operation
dummy = data1 + data2 + n + datatype + operation + comm + ierror
end subroutine
subroutine mpi_allreduce_int1 ( data1, data2, n, datatype, operation, comm, ierror )
implicit none
integer:: n
integer:: comm
integer, dimension(:) :: data1
integer:: data2
integer:: datatype
integer:: ierror
integer:: operation
dummy = data1(1) + data2 + n + datatype + operation + comm + ierror
end subroutine
subroutine mpi_allreduce_real0( data1, data2, n, datatype, operation, comm, ierror )
implicit none
integer:: n
integer:: comm
real(eb):: data1
real(eb):: data2
integer:: datatype
integer:: ierror
integer:: operation
dummy = data1 + data2 + n + datatype + operation + comm + ierror
end subroutine
subroutine mpi_allreduce_real1( data1, data2, n, datatype, operation, comm, ierror )
implicit none
integer:: n
integer:: comm
real(eb), dimension(:) :: data1
real(eb):: data2
integer:: datatype
integer:: ierror
integer:: operation
dummy = data1(1) + data2 + n + datatype + operation + comm + ierror
end subroutine
subroutine mpi_allreduce_logical0 ( data1, data2, n, datatype, operation, comm, ierror )
implicit none
integer:: n
integer:: comm
logical:: data1
logical:: data2
integer:: datatype
integer:: ierror
integer:: operation
dummyl = data1
dummyl = data2
dummy = n + datatype + operation + comm + ierror
end subroutine
subroutine mpi_allreduce_logical1( data1, data2, n, datatype, operation, comm, ierror )
implicit none
integer:: n
integer:: comm
logical, dimension(:) :: data1
logical:: data2
integer:: datatype
integer:: ierror
integer:: operation
dummyl = data1(1)
dummyl = data2
dummy = n + datatype + operation + comm + ierror
end subroutine
subroutine mpi_recv_init_int0( data, n, datatype, iproc, itag, comm, irequest, ierror )
implicit none
integer:: n
integer:: comm
integer:: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: irequest
integer:: itag
dummy = data + n + datatype + iproc + itag + comm + irequest + ierror
end subroutine
subroutine mpi_recv_init_int1( data, n, datatype, iproc, itag, comm, irequest, ierror )
implicit none
integer:: n
integer:: comm
integer, dimension(:) :: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: irequest
integer:: itag
dummy = data(1) + n + datatype + iproc + itag + comm + irequest + ierror
end subroutine
subroutine mpi_recv_init_real0( data, n, datatype, iproc, itag, comm, irequest, ierror )
implicit none
integer:: n
integer:: comm
real(eb):: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: irequest
integer:: itag
dummy = data + n + datatype + iproc + itag + comm + irequest + ierror
end subroutine
subroutine mpi_recv_init_real1( data, n, datatype, iproc, itag, comm, irequest, ierror )
implicit none
integer:: n
integer:: comm
real(eb), dimension(:) :: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: irequest
integer:: itag
dummy = data(1) + n + datatype + iproc + itag + comm + irequest + ierror
end subroutine
subroutine mpi_recv_init_logical0( data, n, datatype, iproc, itag, comm, irequest, ierror )
implicit none
integer:: n
integer:: comm
logical:: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: irequest
integer:: itag
dummyl = data
dummy = n + datatype + iproc + itag + comm + irequest + ierror
end subroutine
subroutine mpi_recv_init_logical1( data, n, datatype, iproc, itag, comm, irequest, ierror )
implicit none
integer:: n
integer:: comm
logical, dimension(:) :: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: irequest
integer:: itag
dummyl = data(1)
dummy = n + datatype + iproc + itag + comm + irequest + ierror
end subroutine
subroutine mpi_recv_init_char0( data, n, datatype, iproc, itag, comm, irequest, ierror )
implicit none
integer:: n
integer:: comm
character:: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: irequest
integer:: itag
dummyc = data
dummy = n + datatype + iproc + itag + comm + irequest + ierror
end subroutine
subroutine mpi_recv_init_char1( data, n, datatype, iproc, itag, comm, irequest, ierror )
implicit none
integer:: n
integer:: comm
character, dimension(:) :: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: irequest
integer:: itag
dummyc = data(1)
dummy = n + datatype + iproc + itag + comm + irequest + ierror
end subroutine
subroutine mpi_send_init_int0 ( data, n, datatype, iproc, itag, comm, request, ierror )
implicit none
integer:: n
integer:: comm
integer:: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: itag
integer:: request
dummy = data + n + datatype + iproc + itag + comm + request + ierror
end subroutine
subroutine mpi_send_init_int1 ( data, n, datatype, iproc, itag, comm, request, ierror )
implicit none
integer:: n
integer:: comm
integer, dimension(:) :: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: itag
integer:: request
dummy = data(1) + n + datatype + iproc + itag + comm + request + ierror
end subroutine
subroutine mpi_send_init_real0 ( data, n, datatype, iproc, itag, comm, request, ierror )
implicit none
integer:: n
integer:: comm
real(eb):: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: itag
integer:: request
dummy = data + n + datatype + iproc + itag + comm + request + ierror
end subroutine
subroutine mpi_send_init_real1 ( data, n, datatype, iproc, itag, comm, request, ierror )
implicit none
integer:: n
integer:: comm
real(eb), dimension(:) :: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: itag
integer:: request
dummy = data(1) + n + datatype + iproc + itag + comm + request + ierror
end subroutine
subroutine mpi_send_init_logical0 ( data, n, datatype, iproc, itag, comm, request, ierror )
implicit none
integer:: n
integer:: comm
logical:: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: itag
integer:: request
dummyl = data
dummy = n + datatype + iproc + itag + comm + request + ierror
end subroutine
subroutine mpi_send_init_logical1 ( data, n, datatype, iproc, itag, comm, request, ierror )
implicit none
integer:: n
integer:: comm
logical, dimension(:) :: data
integer:: datatype
integer:: ierror
integer:: iproc
integer:: itag
integer:: request
dummyl = data(1)
dummy = n + datatype + iproc + itag + comm + request + ierror
end subroutine
subroutine mpi_send_init_char0 ( data, n, datatype, iproc, itag, comm, request, ierror )
implicit none