4
interface armci_malloc_fa
5
module procedure armci_malloc_1di4
6
module procedure armci_malloc_2di4
7
module procedure armci_malloc_3di4
8
module procedure armci_malloc_4di4
9
module procedure armci_malloc_5di4
10
module procedure armci_malloc_6di4
11
module procedure armci_malloc_7di4
12
module procedure armci_malloc_1di8
13
module procedure armci_malloc_2di8
14
module procedure armci_malloc_3di8
15
module procedure armci_malloc_4di8
16
module procedure armci_malloc_5di8
17
module procedure armci_malloc_6di8
18
module procedure armci_malloc_7di8
19
module procedure armci_malloc_1dr4
20
module procedure armci_malloc_2dr4
21
module procedure armci_malloc_3dr4
22
module procedure armci_malloc_4dr4
23
module procedure armci_malloc_5dr4
24
module procedure armci_malloc_6dr4
25
module procedure armci_malloc_7dr4
26
module procedure armci_malloc_1dr8
27
module procedure armci_malloc_2dr8
28
module procedure armci_malloc_3dr8
29
module procedure armci_malloc_4dr8
30
module procedure armci_malloc_5dr8
31
module procedure armci_malloc_6dr8
32
module procedure armci_malloc_7dr8
33
module procedure armci_malloc_1dc4
34
module procedure armci_malloc_2dc4
35
module procedure armci_malloc_3dc4
36
module procedure armci_malloc_4dc4
37
module procedure armci_malloc_5dc4
38
module procedure armci_malloc_6dc4
39
module procedure armci_malloc_7dc4
40
module procedure armci_malloc_1dc8
41
module procedure armci_malloc_2dc8
42
module procedure armci_malloc_3dc8
43
module procedure armci_malloc_4dc8
44
module procedure armci_malloc_5dc8
45
module procedure armci_malloc_6dc8
46
module procedure armci_malloc_7dc8
49
interface armci_free_fa
50
module procedure armci_free_1di4
51
module procedure armci_free_2di4
52
module procedure armci_free_3di4
53
module procedure armci_free_4di4
54
module procedure armci_free_5di4
55
module procedure armci_free_6di4
56
module procedure armci_free_7di4
57
module procedure armci_free_1di8
58
module procedure armci_free_2di8
59
module procedure armci_free_3di8
60
module procedure armci_free_4di8
61
module procedure armci_free_5di8
62
module procedure armci_free_6di8
63
module procedure armci_free_7di8
64
module procedure armci_free_1dr4
65
module procedure armci_free_2dr4
66
module procedure armci_free_3dr4
67
module procedure armci_free_4dr4
68
module procedure armci_free_5dr4
69
module procedure armci_free_6dr4
70
module procedure armci_free_7dr4
71
module procedure armci_free_1dr8
72
module procedure armci_free_2dr8
73
module procedure armci_free_3dr8
74
module procedure armci_free_4dr8
75
module procedure armci_free_5dr8
76
module procedure armci_free_6dr8
77
module procedure armci_free_7dr8
78
module procedure armci_free_1dc4
79
module procedure armci_free_2dc4
80
module procedure armci_free_3dc4
81
module procedure armci_free_4dc4
82
module procedure armci_free_5dc4
83
module procedure armci_free_6dc4
84
module procedure armci_free_7dc4
85
module procedure armci_free_1dc8
86
module procedure armci_free_2dc8
87
module procedure armci_free_3dc8
88
module procedure armci_free_4dc8
89
module procedure armci_free_5dc8
90
module procedure armci_free_6dc8
91
module procedure armci_free_7dc8
96
subroutine armci_malloc_1di4(a, lb, ub, rc)
100
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
102
integer(kind=i4), dimension(:), pointer :: a
103
integer, intent(in) :: rank, elemsize, lb(1), ub(1)
104
integer, intent(out) :: rc
105
end subroutine armci_malloc_farray
107
integer(kind=i4), dimension(:), pointer :: a
108
integer, dimension(1) :: lb, ub
109
integer, intent(out), optional :: rc
110
integer :: elemsize = 4
113
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
114
if (rc .ne. 0) print *, "error armci_malloc_1di4: error = ", rc
116
end subroutine armci_malloc_1di4
118
subroutine armci_malloc_2di4(a, lb, ub, rc)
122
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
124
integer(kind=i4), dimension(:,:), pointer :: a
125
integer, intent(in) :: rank, elemsize, lb(2), ub(2)
126
integer, intent(out) :: rc
127
end subroutine armci_malloc_farray
129
integer(kind=i4), dimension(:,:), pointer :: a
130
integer, dimension(2) :: lb, ub
131
integer, intent(out), optional :: rc
132
integer :: elemsize = 4
135
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
136
if (rc .ne. 0) print *, "error armci_malloc_2di4: error = ", rc
138
end subroutine armci_malloc_2di4
140
subroutine armci_malloc_3di4(a, lb, ub, rc)
144
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
146
integer(kind=i4), dimension(:,:,:), pointer :: a
147
integer, intent(in) :: rank, elemsize, lb(3), ub(3)
148
integer, intent(out) :: rc
149
end subroutine armci_malloc_farray
151
integer(kind=i4), dimension(:,:,:), pointer :: a
152
integer, dimension(3) :: lb, ub
153
integer, intent(out), optional :: rc
154
integer :: elemsize = 4
157
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
158
if (rc .ne. 0) print *, "error armci_malloc_3di4: error = ", rc
160
end subroutine armci_malloc_3di4
162
subroutine armci_malloc_4di4(a, lb, ub, rc)
166
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
168
integer(kind=i4), dimension(:,:,:,:), pointer :: a
169
integer, intent(in) :: rank, elemsize, lb(4), ub(4)
170
integer, intent(out) :: rc
171
end subroutine armci_malloc_farray
173
integer(kind=i4), dimension(:,:,:,:), pointer :: a
174
integer, dimension(4) :: lb, ub
175
integer, intent(out), optional :: rc
176
integer :: elemsize = 4
179
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
180
if (rc .ne. 0) print *, "error armci_malloc_4di4: error = ", rc
182
end subroutine armci_malloc_4di4
184
subroutine armci_malloc_5di4(a, lb, ub, rc)
188
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
190
integer(kind=i4), dimension(:,:,:,:,:), pointer :: a
191
integer, intent(in) :: rank, elemsize, lb(5), ub(5)
192
integer, intent(out) :: rc
193
end subroutine armci_malloc_farray
195
integer(kind=i4), dimension(:,:,:,:,:), pointer :: a
196
integer, dimension(5) :: lb, ub
197
integer, intent(out), optional :: rc
198
integer :: elemsize = 4
201
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
202
if (rc .ne. 0) print *, "error armci_malloc_5di4: error = ", rc
204
end subroutine armci_malloc_5di4
206
subroutine armci_malloc_6di4(a, lb, ub, rc)
210
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
212
integer(kind=i4), dimension(:,:,:,:,:,:), pointer :: a
213
integer, intent(in) :: rank, elemsize, lb(6), ub(6)
214
integer, intent(out) :: rc
215
end subroutine armci_malloc_farray
217
integer(kind=i4), dimension(:,:,:,:,:,:), pointer :: a
218
integer, dimension(6) :: lb, ub
219
integer, intent(out), optional :: rc
220
integer :: elemsize = 4
223
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
224
if (rc .ne. 0) print *, "error armci_malloc_6di4: error = ", rc
226
end subroutine armci_malloc_6di4
228
subroutine armci_malloc_7di4(a, lb, ub, rc)
232
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
234
integer(kind=i4), dimension(:,:,:,:,:,:,:), pointer :: a
235
integer, intent(in) :: rank, elemsize, lb(7), ub(7)
236
integer, intent(out) :: rc
237
end subroutine armci_malloc_farray
239
integer(kind=i4), dimension(:,:,:,:,:,:,:), pointer :: a
240
integer, dimension(7) :: lb, ub
241
integer, intent(out), optional :: rc
242
integer :: elemsize = 4
245
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
246
if (rc .ne. 0) print *, "error armci_malloc_7di4: error = ", rc
248
end subroutine armci_malloc_7di4
250
subroutine armci_free_1di4(a, rc)
254
subroutine armci_free_farray(a, rank, rc)
256
integer(kind=i4), dimension(:), pointer :: a
257
integer, intent(in) :: rank
258
integer, intent(out) :: rc
259
end subroutine armci_free_farray
261
integer(kind=i4), dimension(:), pointer :: a
262
integer, intent(out), optional :: rc
265
call armci_free_farray(a, rank, rc)
266
if (rc .ne. 0) print *, "error armci_free_1di4: error = ", rc
268
end subroutine armci_free_1di4
270
subroutine armci_free_2di4(a, rc)
274
subroutine armci_free_farray(a, rank, rc)
276
integer(kind=i4), dimension(:,:), pointer :: a
277
integer, intent(in) :: rank
278
integer, intent(out) :: rc
279
end subroutine armci_free_farray
281
integer(kind=i4), dimension(:,:), pointer :: a
282
integer, intent(out), optional :: rc
284
call armci_free_farray(a, rank, rc)
285
if (rc .ne. 0) print *, "error armci_free_2di4: error = ", rc
287
end subroutine armci_free_2di4
289
subroutine armci_free_3di4(a, rc)
293
subroutine armci_free_farray(a, rank, rc)
295
integer(kind=i4), dimension(:,:,:), pointer :: a
296
integer, intent(in) :: rank
297
integer, intent(out) :: rc
298
end subroutine armci_free_farray
300
integer(kind=i4), dimension(:,:,:), pointer :: a
301
integer, intent(out), optional :: rc
303
call armci_free_farray(a, rank, rc)
304
if (rc .ne. 0) print *, "error armci_free_3di4: error = ", rc
306
end subroutine armci_free_3di4
308
subroutine armci_free_4di4(a, rc)
312
subroutine armci_free_farray(a, rank, rc)
314
integer(kind=i4), dimension(:,:,:,:), pointer :: a
315
integer, intent(in) :: rank
316
integer, intent(out) :: rc
317
end subroutine armci_free_farray
319
integer(kind=i4), dimension(:,:,:,:), pointer :: a
320
integer, intent(out), optional :: rc
322
call armci_free_farray(a, rank, rc)
323
if (rc .ne. 0) print *, "error armci_free_4di4: error = ", rc
325
end subroutine armci_free_4di4
327
subroutine armci_free_5di4(a, rc)
331
subroutine armci_free_farray(a, rank, rc)
333
integer(kind=i4), dimension(:,:,:,:,:), pointer :: a
334
integer, intent(in) :: rank
335
integer, intent(out) :: rc
336
end subroutine armci_free_farray
338
integer(kind=i4), dimension(:,:,:,:,:), pointer :: a
339
integer, intent(out), optional :: rc
341
call armci_free_farray(a, rank, rc)
342
if (rc .ne. 0) print *, "error armci_free_5di4: error = ", rc
344
end subroutine armci_free_5di4
346
subroutine armci_free_6di4(a, rc)
350
subroutine armci_free_farray(a, rank, rc)
352
integer(kind=i4), dimension(:,:,:,:,:,:), pointer :: a
353
integer, intent(in) :: rank
354
integer, intent(out) :: rc
355
end subroutine armci_free_farray
357
integer(kind=i4), dimension(:,:,:,:,:,:), pointer :: a
358
integer, intent(out), optional :: rc
360
call armci_free_farray(a, rank, rc)
361
if (rc .ne. 0) print *, "error armci_free_6di4: error = ", rc
363
end subroutine armci_free_6di4
365
subroutine armci_free_7di4(a, rc)
369
subroutine armci_free_farray(a, rank, rc)
371
integer(kind=i4), dimension(:,:,:,:,:,:,:), pointer :: a
372
integer, intent(in) :: rank
373
integer, intent(out) :: rc
374
end subroutine armci_free_farray
376
integer(kind=i4), dimension(:,:,:,:,:,:,:), pointer :: a
377
integer, intent(out), optional :: rc
379
call armci_free_farray(a, rank, rc)
380
if (rc .ne. 0) print *, "error armci_free_7di4: error = ", rc
382
end subroutine armci_free_7di4
384
subroutine armci_malloc_1di8(a, lb, ub, rc)
388
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
390
integer(kind=i8), dimension(:), pointer :: a
391
integer, intent(in) :: rank, elemsize, lb(1), ub(1)
392
integer, intent(out) :: rc
393
end subroutine armci_malloc_farray
395
integer(kind=i8), dimension(:), pointer :: a
396
integer, dimension(1) :: lb, ub
397
integer, intent(out), optional :: rc
398
integer :: elemsize = 8
401
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
402
if (rc .ne. 0) print *, "error armci_malloc_1di8: error = ", rc
404
end subroutine armci_malloc_1di8
406
subroutine armci_malloc_2di8(a, lb, ub, rc)
410
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
412
integer(kind=i8), dimension(:,:), pointer :: a
413
integer, intent(in) :: rank, elemsize, lb(2), ub(2)
414
integer, intent(out) :: rc
415
end subroutine armci_malloc_farray
417
integer(kind=i8), dimension(:,:), pointer :: a
418
integer, dimension(2) :: lb, ub
419
integer, intent(out), optional :: rc
420
integer :: elemsize = 8
423
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
424
if (rc .ne. 0) print *, "error armci_malloc_2di8: error = ", rc
426
end subroutine armci_malloc_2di8
428
subroutine armci_malloc_3di8(a, lb, ub, rc)
432
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
434
integer(kind=i8), dimension(:,:,:), pointer :: a
435
integer, intent(in) :: rank, elemsize, lb(3), ub(3)
436
integer, intent(out) :: rc
437
end subroutine armci_malloc_farray
439
integer(kind=i8), dimension(:,:,:), pointer :: a
440
integer, dimension(3) :: lb, ub
441
integer, intent(out), optional :: rc
442
integer :: elemsize = 8
445
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
446
if (rc .ne. 0) print *, "error armci_malloc_3di8: error = ", rc
448
end subroutine armci_malloc_3di8
450
subroutine armci_malloc_4di8(a, lb, ub, rc)
454
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
456
integer(kind=i8), dimension(:,:,:,:), pointer :: a
457
integer, intent(in) :: rank, elemsize, lb(4), ub(4)
458
integer, intent(out) :: rc
459
end subroutine armci_malloc_farray
461
integer(kind=i8), dimension(:,:,:,:), pointer :: a
462
integer, dimension(4) :: lb, ub
463
integer, intent(out), optional :: rc
464
integer :: elemsize = 8
467
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
468
if (rc .ne. 0) print *, "error armci_malloc_4di8: error = ", rc
470
end subroutine armci_malloc_4di8
472
subroutine armci_malloc_5di8(a, lb, ub, rc)
476
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
478
integer(kind=i8), dimension(:,:,:,:,:), pointer :: a
479
integer, intent(in) :: rank, elemsize, lb(5), ub(5)
480
integer, intent(out) :: rc
481
end subroutine armci_malloc_farray
483
integer(kind=i8), dimension(:,:,:,:,:), pointer :: a
484
integer, dimension(5) :: lb, ub
485
integer, intent(out), optional :: rc
486
integer :: elemsize = 8
489
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
490
if (rc .ne. 0) print *, "error armci_malloc_5di8: error = ", rc
492
end subroutine armci_malloc_5di8
494
subroutine armci_malloc_6di8(a, lb, ub, rc)
498
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
500
integer(kind=i8), dimension(:,:,:,:,:,:), pointer :: a
501
integer, intent(in) :: rank, elemsize, lb(6), ub(6)
502
integer, intent(out) :: rc
503
end subroutine armci_malloc_farray
505
integer(kind=i8), dimension(:,:,:,:,:,:), pointer :: a
506
integer, dimension(6) :: lb, ub
507
integer, intent(out), optional :: rc
508
integer :: elemsize = 8
511
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
512
! if (rc .ne. 0) print *, "error armci_malloc_6di8: error = ", rc
514
end subroutine armci_malloc_6di8
516
subroutine armci_malloc_7di8(a, lb, ub, rc)
520
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
522
integer(kind=i8), dimension(:,:,:,:,:,:,:), pointer :: a
523
integer, intent(in) :: rank, elemsize, lb(7), ub(7)
524
integer, intent(out) :: rc
525
end subroutine armci_malloc_farray
527
integer(kind=i8), dimension(:,:,:,:,:,:,:), pointer :: a
528
integer, dimension(7) :: lb, ub
529
integer, intent(out), optional :: rc
530
integer :: elemsize = 8
533
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
534
! if (rc .ne. 0) print *, "error armci_malloc_7di8: error = ", rc
536
end subroutine armci_malloc_7di8
538
subroutine armci_free_1di8(a, rc)
542
subroutine armci_free_farray(a, rank, rc)
544
integer(kind=i8), dimension(:), pointer :: a
545
integer, intent(in) :: rank
546
integer, intent(out) :: rc
547
end subroutine armci_free_farray
549
integer(kind=i8), dimension(:), pointer :: a
550
integer, intent(out), optional :: rc
553
call armci_free_farray(a, rank, rc)
554
! if (rc .ne. 0) print *, "error armci_free_1di8: error = ", rc
556
end subroutine armci_free_1di8
558
subroutine armci_free_2di8(a, rc)
562
subroutine armci_free_farray(a, rank, rc)
564
integer(kind=i8), dimension(:,:), pointer :: a
565
integer, intent(in) :: rank
566
integer, intent(out) :: rc
567
end subroutine armci_free_farray
569
integer(kind=i8), dimension(:,:), pointer :: a
570
integer, intent(out), optional :: rc
572
call armci_free_farray(a, rank, rc)
573
! if (rc .ne. 0) print *, "error armci_free_2di8: error = ", rc
575
end subroutine armci_free_2di8
577
subroutine armci_free_3di8(a, rc)
581
subroutine armci_free_farray(a, rank, rc)
583
integer(kind=i8), dimension(:,:,:), pointer :: a
584
integer, intent(in) :: rank
585
integer, intent(out) :: rc
586
end subroutine armci_free_farray
588
integer(kind=i8), dimension(:,:,:), pointer :: a
589
integer, intent(out), optional :: rc
591
call armci_free_farray(a, rank, rc)
592
! if (rc .ne. 0) print *, "error armci_free_3di8: error = ", rc
594
end subroutine armci_free_3di8
596
subroutine armci_free_4di8(a, rc)
600
subroutine armci_free_farray(a, rank, rc)
602
integer(kind=i8), dimension(:,:,:,:), pointer :: a
603
integer, intent(in) :: rank
604
integer, intent(out) :: rc
605
end subroutine armci_free_farray
607
integer(kind=i8), dimension(:,:,:,:), pointer :: a
608
integer, intent(out), optional :: rc
610
call armci_free_farray(a, rank, rc)
611
! if (rc .ne. 0) print *, "error armci_free_4di8: error = ", rc
613
end subroutine armci_free_4di8
615
subroutine armci_free_5di8(a, rc)
619
subroutine armci_free_farray(a, rank, rc)
621
integer(kind=i8), dimension(:,:,:,:,:), pointer :: a
622
integer, intent(in) :: rank
623
integer, intent(out) :: rc
624
end subroutine armci_free_farray
626
integer(kind=i8), dimension(:,:,:,:,:), pointer :: a
627
integer, intent(out), optional :: rc
629
call armci_free_farray(a, rank, rc)
630
! if (rc .ne. 0) print *, "error armci_free_5di8: error = ", rc
632
end subroutine armci_free_5di8
634
subroutine armci_free_6di8(a, rc)
638
subroutine armci_free_farray(a, rank, rc)
640
integer(kind=i8), dimension(:,:,:,:,:,:), pointer :: a
641
integer, intent(in) :: rank
642
integer, intent(out) :: rc
643
end subroutine armci_free_farray
645
integer(kind=i8), dimension(:,:,:,:,:,:), pointer :: a
646
integer, intent(out), optional :: rc
648
call armci_free_farray(a, rank, rc)
649
! if (rc .ne. 0) print *, "error armci_free_6di8: error = ", rc
651
end subroutine armci_free_6di8
653
subroutine armci_free_7di8(a, rc)
657
subroutine armci_free_farray(a, rank, rc)
659
integer(kind=i8), dimension(:,:,:,:,:,:,:), pointer :: a
660
integer, intent(in) :: rank
661
integer, intent(out) :: rc
662
end subroutine armci_free_farray
664
integer(kind=i8), dimension(:,:,:,:,:,:,:), pointer :: a
665
integer, intent(out), optional :: rc
667
call armci_free_farray(a, rank, rc)
668
! if (rc .ne. 0) print *, "error armci_free_7di8: error = ", rc
670
end subroutine armci_free_7di8
672
subroutine armci_malloc_1dr4(a, lb, ub, rc)
676
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
678
real(kind=r4), dimension(:), pointer :: a
679
integer, intent(in) :: rank, elemsize, lb(1), ub(1)
680
integer, intent(out) :: rc
681
end subroutine armci_malloc_farray
683
real(kind=r4), dimension(:), pointer :: a
684
integer, dimension(1) :: lb, ub
685
integer, intent(out), optional :: rc
686
integer :: elemsize = 4
689
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
690
! if (rc .ne. 0) print *, "error armci_malloc_1dr4: error = ", rc
692
end subroutine armci_malloc_1dr4
694
subroutine armci_malloc_2dr4(a, lb, ub, rc)
698
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
700
real(kind=r4), dimension(:,:), pointer :: a
701
integer, intent(in) :: rank, elemsize, lb(2), ub(2)
702
integer, intent(out) :: rc
703
end subroutine armci_malloc_farray
705
real(kind=r4), dimension(:,:), pointer :: a
706
integer, dimension(2) :: lb, ub
707
integer, intent(out), optional :: rc
708
integer :: elemsize = 4
711
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
712
! if (rc .ne. 0) print *, "error armci_malloc_2dr4: error = ", rc
714
end subroutine armci_malloc_2dr4
716
subroutine armci_malloc_3dr4(a, lb, ub, rc)
720
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
722
real(kind=r4), dimension(:,:,:), pointer :: a
723
integer, intent(in) :: rank, elemsize, lb(3), ub(3)
724
integer, intent(out) :: rc
725
end subroutine armci_malloc_farray
727
real(kind=r4), dimension(:,:,:), pointer :: a
728
integer, dimension(3) :: lb, ub
729
integer, intent(out), optional :: rc
730
integer :: elemsize = 4
733
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
734
! if (rc .ne. 0) print *, "error armci_malloc_3dr4: error = ", rc
736
end subroutine armci_malloc_3dr4
738
subroutine armci_malloc_4dr4(a, lb, ub, rc)
742
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
744
real(kind=r4), dimension(:,:,:,:), pointer :: a
745
integer, intent(in) :: rank, elemsize, lb(4), ub(4)
746
integer, intent(out) :: rc
747
end subroutine armci_malloc_farray
749
real(kind=r4), dimension(:,:,:,:), pointer :: a
750
integer, dimension(4) :: lb, ub
751
integer, intent(out), optional :: rc
752
integer :: elemsize = 4
755
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
756
! if (rc .ne. 0) print *, "error armci_malloc_4dr4: error = ", rc
758
end subroutine armci_malloc_4dr4
760
subroutine armci_malloc_5dr4(a, lb, ub, rc)
764
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
766
real(kind=r4), dimension(:,:,:,:,:), pointer :: a
767
integer, intent(in) :: rank, elemsize, lb(5), ub(5)
768
integer, intent(out) :: rc
769
end subroutine armci_malloc_farray
771
real(kind=r4), dimension(:,:,:,:,:), pointer :: a
772
integer, dimension(5) :: lb, ub
773
integer, intent(out), optional :: rc
774
integer :: elemsize = 4
777
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
778
! if (rc .ne. 0) print *, "error armci_malloc_5dr4: error = ", rc
780
end subroutine armci_malloc_5dr4
782
subroutine armci_malloc_6dr4(a, lb, ub, rc)
786
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
788
real(kind=r4), dimension(:,:,:,:,:,:), pointer :: a
789
integer, intent(in) :: rank, elemsize, lb(6), ub(6)
790
integer, intent(out) :: rc
791
end subroutine armci_malloc_farray
793
real(kind=r4), dimension(:,:,:,:,:,:), pointer :: a
794
integer, dimension(6) :: lb, ub
795
integer, intent(out), optional :: rc
796
integer :: elemsize = 4
799
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
800
! if (rc .ne. 0) print *, "error armci_malloc_6dr4: error = ", rc
802
end subroutine armci_malloc_6dr4
804
subroutine armci_malloc_7dr4(a, lb, ub, rc)
808
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
810
real(kind=r4), dimension(:,:,:,:,:,:,:), pointer :: a
811
integer, intent(in) :: rank, elemsize, lb(7), ub(7)
812
integer, intent(out) :: rc
813
end subroutine armci_malloc_farray
815
real(kind=r4), dimension(:,:,:,:,:,:,:), pointer :: a
816
integer, dimension(7) :: lb, ub
817
integer, intent(out), optional :: rc
818
integer :: elemsize = 4
821
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
822
! if (rc .ne. 0) print *, "error armci_malloc_7dr4: error = ", rc
824
end subroutine armci_malloc_7dr4
826
subroutine armci_free_1dr4(a, rc)
830
subroutine armci_free_farray(a, rank, rc)
832
real(kind=r4), dimension(:), pointer :: a
833
integer, intent(in) :: rank
834
integer, intent(out) :: rc
835
end subroutine armci_free_farray
837
real(kind=r4), dimension(:), pointer :: a
838
integer, intent(out), optional :: rc
841
call armci_free_farray(a, rank, rc)
842
! if (rc .ne. 0) print *, "error armci_free_1dr4: error = ", rc
844
end subroutine armci_free_1dr4
846
subroutine armci_free_2dr4(a, rc)
850
subroutine armci_free_farray(a, rank, rc)
852
real(kind=r4), dimension(:,:), pointer :: a
853
integer, intent(in) :: rank
854
integer, intent(out) :: rc
855
end subroutine armci_free_farray
857
real(kind=r4), dimension(:,:), pointer :: a
858
integer, intent(out), optional :: rc
860
call armci_free_farray(a, rank, rc)
861
! if (rc .ne. 0) print *, "error armci_free_2dr4: error = ", rc
863
end subroutine armci_free_2dr4
865
subroutine armci_free_3dr4(a, rc)
869
subroutine armci_free_farray(a, rank, rc)
871
real(kind=r4), dimension(:,:,:), pointer :: a
872
integer, intent(in) :: rank
873
integer, intent(out) :: rc
874
end subroutine armci_free_farray
876
real(kind=r4), dimension(:,:,:), pointer :: a
877
integer, intent(out), optional :: rc
879
call armci_free_farray(a, rank, rc)
880
! if (rc .ne. 0) print *, "error armci_free_3dr4: error = ", rc
882
end subroutine armci_free_3dr4
884
subroutine armci_free_4dr4(a, rc)
888
subroutine armci_free_farray(a, rank, rc)
890
real(kind=r4), dimension(:,:,:,:), pointer :: a
891
integer, intent(in) :: rank
892
integer, intent(out) :: rc
893
end subroutine armci_free_farray
895
real(kind=r4), dimension(:,:,:,:), pointer :: a
896
integer, intent(out), optional :: rc
898
call armci_free_farray(a, rank, rc)
899
! if (rc .ne. 0) print *, "error armci_free_4dr4: error = ", rc
901
end subroutine armci_free_4dr4
903
subroutine armci_free_5dr4(a, rc)
907
subroutine armci_free_farray(a, rank, rc)
909
real(kind=r4), dimension(:,:,:,:,:), pointer :: a
910
integer, intent(in) :: rank
911
integer, intent(out) :: rc
912
end subroutine armci_free_farray
914
real(kind=r4), dimension(:,:,:,:,:), pointer :: a
915
integer, intent(out), optional :: rc
917
call armci_free_farray(a, rank, rc)
918
! if (rc .ne. 0) print *, "error armci_free_5dr4: error = ", rc
920
end subroutine armci_free_5dr4
922
subroutine armci_free_6dr4(a, rc)
926
subroutine armci_free_farray(a, rank, rc)
928
real(kind=r4), dimension(:,:,:,:,:,:), pointer :: a
929
integer, intent(in) :: rank
930
integer, intent(out) :: rc
931
end subroutine armci_free_farray
933
real(kind=r4), dimension(:,:,:,:,:,:), pointer :: a
934
integer, intent(out), optional :: rc
936
call armci_free_farray(a, rank, rc)
937
! if (rc .ne. 0) print *, "error armci_free_6dr4: error = ", rc
939
end subroutine armci_free_6dr4
941
subroutine armci_free_7dr4(a, rc)
945
subroutine armci_free_farray(a, rank, rc)
947
real(kind=r4), dimension(:,:,:,:,:,:,:), pointer :: a
948
integer, intent(in) :: rank
949
integer, intent(out) :: rc
950
end subroutine armci_free_farray
952
real(kind=r4), dimension(:,:,:,:,:,:,:), pointer :: a
953
integer, intent(out), optional :: rc
955
call armci_free_farray(a, rank, rc)
956
! if (rc .ne. 0) print *, "error armci_free_7dr4: error = ", rc
958
end subroutine armci_free_7dr4
960
subroutine armci_malloc_1dr8(a, lb, ub, rc)
964
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
966
real(kind=r8), dimension(:), pointer :: a
967
integer, intent(in) :: rank, elemsize, lb(1), ub(1)
968
integer, intent(out) :: rc
969
end subroutine armci_malloc_farray
971
real(kind=r8), dimension(:), pointer :: a
972
integer, dimension(1) :: lb, ub
973
integer, intent(out), optional :: rc
974
integer :: elemsize = 8
977
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
978
! if (rc .ne. 0) print *, "error armci_malloc_1dr8: error = ", rc
980
end subroutine armci_malloc_1dr8
982
subroutine armci_malloc_2dr8(a, lb, ub, rc)
986
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
988
real(kind=r8), dimension(:,:), pointer :: a
989
integer, intent(in) :: rank, elemsize, lb(2), ub(2)
990
integer, intent(out) :: rc
991
end subroutine armci_malloc_farray
993
real(kind=r8), dimension(:,:), pointer :: a
994
integer, dimension(2) :: lb, ub
995
integer, intent(out), optional :: rc
996
integer :: elemsize = 8
999
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1000
! if (rc .ne. 0) print *, "error armci_malloc_2dr8: error = ", rc
1002
end subroutine armci_malloc_2dr8
1004
subroutine armci_malloc_3dr8(a, lb, ub, rc)
1008
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1010
real(kind=r8), dimension(:,:,:), pointer :: a
1011
integer, intent(in) :: rank, elemsize, lb(3), ub(3)
1012
integer, intent(out) :: rc
1013
end subroutine armci_malloc_farray
1015
real(kind=r8), dimension(:,:,:), pointer :: a
1016
integer, dimension(3) :: lb, ub
1017
integer, intent(out), optional :: rc
1018
integer :: elemsize = 8
1021
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1022
! if (rc .ne. 0) print *, "error armci_malloc_3dr8: error = ", rc
1024
end subroutine armci_malloc_3dr8
1026
subroutine armci_malloc_4dr8(a, lb, ub, rc)
1030
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1032
real(kind=r8), dimension(:,:,:,:), pointer :: a
1033
integer, intent(in) :: rank, elemsize, lb(4), ub(4)
1034
integer, intent(out) :: rc
1035
end subroutine armci_malloc_farray
1037
real(kind=r8), dimension(:,:,:,:), pointer :: a
1038
integer, dimension(4) :: lb, ub
1039
integer, intent(out), optional :: rc
1040
integer :: elemsize = 8
1043
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1044
! if (rc .ne. 0) print *, "error armci_malloc_4dr8: error = ", rc
1046
end subroutine armci_malloc_4dr8
1048
subroutine armci_malloc_5dr8(a, lb, ub, rc)
1052
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1054
real(kind=r8), dimension(:,:,:,:,:), pointer :: a
1055
integer, intent(in) :: rank, elemsize, lb(5), ub(5)
1056
integer, intent(out) :: rc
1057
end subroutine armci_malloc_farray
1059
real(kind=r8), dimension(:,:,:,:,:), pointer :: a
1060
integer, dimension(5) :: lb, ub
1061
integer, intent(out), optional :: rc
1062
integer :: elemsize = 8
1065
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1066
! if (rc .ne. 0) print *, "error armci_malloc_5dr8: error = ", rc
1068
end subroutine armci_malloc_5dr8
1070
subroutine armci_malloc_6dr8(a, lb, ub, rc)
1074
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1076
real(kind=r8), dimension(:,:,:,:,:,:), pointer :: a
1077
integer, intent(in) :: rank, elemsize, lb(6), ub(6)
1078
integer, intent(out) :: rc
1079
end subroutine armci_malloc_farray
1081
real(kind=r8), dimension(:,:,:,:,:,:), pointer :: a
1082
integer, dimension(6) :: lb, ub
1083
integer, intent(out), optional :: rc
1084
integer :: elemsize = 8
1087
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1088
! if (rc .ne. 0) print *, "error armci_malloc_6dr8: error = ", rc
1090
end subroutine armci_malloc_6dr8
1092
subroutine armci_malloc_7dr8(a, lb, ub, rc)
1096
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1098
real(kind=r8), dimension(:,:,:,:,:,:,:), pointer :: a
1099
integer, intent(in) :: rank, elemsize, lb(7), ub(7)
1100
integer, intent(out) :: rc
1101
end subroutine armci_malloc_farray
1103
real(kind=r8), dimension(:,:,:,:,:,:,:), pointer :: a
1104
integer, dimension(7) :: lb, ub
1105
integer, intent(out), optional :: rc
1106
integer :: elemsize = 8
1109
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1110
! if (rc .ne. 0) print *, "error armci_malloc_7dr8: error = ", rc
1112
end subroutine armci_malloc_7dr8
1114
subroutine armci_free_1dr8(a, rc)
1118
subroutine armci_free_farray(a, rank, rc)
1120
real(kind=r8), dimension(:), pointer :: a
1121
integer, intent(in) :: rank
1122
integer, intent(out) :: rc
1123
end subroutine armci_free_farray
1125
real(kind=r8), dimension(:), pointer :: a
1126
integer, intent(out), optional :: rc
1129
call armci_free_farray(a, rank, rc)
1130
! if (rc .ne. 0) print *, "error armci_free_1dr8: error = ", rc
1132
end subroutine armci_free_1dr8
1134
subroutine armci_free_2dr8(a, rc)
1138
subroutine armci_free_farray(a, rank, rc)
1140
real(kind=r8), dimension(:,:), pointer :: a
1141
integer, intent(in) :: rank
1142
integer, intent(out) :: rc
1143
end subroutine armci_free_farray
1145
real(kind=r8), dimension(:,:), pointer :: a
1146
integer, intent(out), optional :: rc
1148
call armci_free_farray(a, rank, rc)
1149
! if (rc .ne. 0) print *, "error armci_free_2dr8: error = ", rc
1151
end subroutine armci_free_2dr8
1153
subroutine armci_free_3dr8(a, rc)
1157
subroutine armci_free_farray(a, rank, rc)
1159
real(kind=r8), dimension(:,:,:), pointer :: a
1160
integer, intent(in) :: rank
1161
integer, intent(out) :: rc
1162
end subroutine armci_free_farray
1164
real(kind=r8), dimension(:,:,:), pointer :: a
1165
integer, intent(out), optional :: rc
1167
call armci_free_farray(a, rank, rc)
1168
! if (rc .ne. 0) print *, "error armci_free_3dr8: error = ", rc
1170
end subroutine armci_free_3dr8
1172
subroutine armci_free_4dr8(a, rc)
1176
subroutine armci_free_farray(a, rank, rc)
1178
real(kind=r8), dimension(:,:,:,:), pointer :: a
1179
integer, intent(in) :: rank
1180
integer, intent(out) :: rc
1181
end subroutine armci_free_farray
1183
real(kind=r8), dimension(:,:,:,:), pointer :: a
1184
integer, intent(out), optional :: rc
1186
call armci_free_farray(a, rank, rc)
1187
! if (rc .ne. 0) print *, "error armci_free_4dr8: error = ", rc
1189
end subroutine armci_free_4dr8
1191
subroutine armci_free_5dr8(a, rc)
1195
subroutine armci_free_farray(a, rank, rc)
1197
real(kind=r8), dimension(:,:,:,:,:), pointer :: a
1198
integer, intent(in) :: rank
1199
integer, intent(out) :: rc
1200
end subroutine armci_free_farray
1202
real(kind=r8), dimension(:,:,:,:,:), pointer :: a
1203
integer, intent(out), optional :: rc
1205
call armci_free_farray(a, rank, rc)
1206
! if (rc .ne. 0) print *, "error armci_free_5dr8: error = ", rc
1208
end subroutine armci_free_5dr8
1210
subroutine armci_free_6dr8(a, rc)
1214
subroutine armci_free_farray(a, rank, rc)
1216
real(kind=r8), dimension(:,:,:,:,:,:), pointer :: a
1217
integer, intent(in) :: rank
1218
integer, intent(out) :: rc
1219
end subroutine armci_free_farray
1221
real(kind=r8), dimension(:,:,:,:,:,:), pointer :: a
1222
integer, intent(out), optional :: rc
1224
call armci_free_farray(a, rank, rc)
1225
! if (rc .ne. 0) print *, "error armci_free_6dr8: error = ", rc
1227
end subroutine armci_free_6dr8
1229
subroutine armci_free_7dr8(a, rc)
1233
subroutine armci_free_farray(a, rank, rc)
1235
real(kind=r8), dimension(:,:,:,:,:,:,:), pointer :: a
1236
integer, intent(in) :: rank
1237
integer, intent(out) :: rc
1238
end subroutine armci_free_farray
1240
real(kind=r8), dimension(:,:,:,:,:,:,:), pointer :: a
1241
integer, intent(out), optional :: rc
1243
call armci_free_farray(a, rank, rc)
1244
! if (rc .ne. 0) print *, "error armci_free_7dr8: error = ", rc
1246
end subroutine armci_free_7dr8
1248
subroutine armci_malloc_1dc4(a, lb, ub, rc)
1252
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1254
complex(kind=c4), dimension(:), pointer :: a
1255
integer, intent(in) :: rank, elemsize, lb(1), ub(1)
1256
integer, intent(out) :: rc
1257
end subroutine armci_malloc_farray
1259
complex(kind=c4), dimension(:), pointer :: a
1260
integer, dimension(1) :: lb, ub
1261
integer, intent(out), optional :: rc
1262
integer :: elemsize = 8
1265
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1266
! if (rc .ne. 0) print *, "error armci_malloc_1dc4: error = ", rc
1268
end subroutine armci_malloc_1dc4
1270
subroutine armci_malloc_2dc4(a, lb, ub, rc)
1274
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1276
complex(kind=c4), dimension(:,:), pointer :: a
1277
integer, intent(in) :: rank, elemsize, lb(2), ub(2)
1278
integer, intent(out) :: rc
1279
end subroutine armci_malloc_farray
1281
complex(kind=c4), dimension(:,:), pointer :: a
1282
integer, dimension(2) :: lb, ub
1283
integer, intent(out), optional :: rc
1284
integer :: elemsize = 8
1287
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1288
! if (rc .ne. 0) print *, "error armci_malloc_2dc4: error = ", rc
1290
end subroutine armci_malloc_2dc4
1292
subroutine armci_malloc_3dc4(a, lb, ub, rc)
1296
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1298
complex(kind=c4), dimension(:,:,:), pointer :: a
1299
integer, intent(in) :: rank, elemsize, lb(3), ub(3)
1300
integer, intent(out) :: rc
1301
end subroutine armci_malloc_farray
1303
complex(kind=c4), dimension(:,:,:), pointer :: a
1304
integer, dimension(3) :: lb, ub
1305
integer, intent(out), optional :: rc
1306
integer :: elemsize = 8
1309
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1310
! if (rc .ne. 0) print *, "error armci_malloc_3dc4: error = ", rc
1312
end subroutine armci_malloc_3dc4
1314
subroutine armci_malloc_4dc4(a, lb, ub, rc)
1318
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1320
complex(kind=c4), dimension(:,:,:,:), pointer :: a
1321
integer, intent(in) :: rank, elemsize, lb(4), ub(4)
1322
integer, intent(out) :: rc
1323
end subroutine armci_malloc_farray
1325
complex(kind=c4), dimension(:,:,:,:), pointer :: a
1326
integer, dimension(4) :: lb, ub
1327
integer, intent(out), optional :: rc
1328
integer :: elemsize = 8
1331
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1332
! if (rc .ne. 0) print *, "error armci_malloc_4dc4: error = ", rc
1334
end subroutine armci_malloc_4dc4
1336
subroutine armci_malloc_5dc4(a, lb, ub, rc)
1340
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1342
complex(kind=c4), dimension(:,:,:,:,:), pointer :: a
1343
integer, intent(in) :: rank, elemsize, lb(5), ub(5)
1344
integer, intent(out) :: rc
1345
end subroutine armci_malloc_farray
1347
complex(kind=c4), dimension(:,:,:,:,:), pointer :: a
1348
integer, dimension(5) :: lb, ub
1349
integer, intent(out), optional :: rc
1350
integer :: elemsize = 8
1353
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1354
! if (rc .ne. 0) print *, "error armci_malloc_5dc4: error = ", rc
1356
end subroutine armci_malloc_5dc4
1358
subroutine armci_malloc_6dc4(a, lb, ub, rc)
1362
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1364
complex(kind=c4), dimension(:,:,:,:,:,:), pointer :: a
1365
integer, intent(in) :: rank, elemsize, lb(6), ub(6)
1366
integer, intent(out) :: rc
1367
end subroutine armci_malloc_farray
1369
complex(kind=c4), dimension(:,:,:,:,:,:), pointer :: a
1370
integer, dimension(6) :: lb, ub
1371
integer, intent(out), optional :: rc
1372
integer :: elemsize = 8
1375
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1376
! if (rc .ne. 0) print *, "error armci_malloc_6dc4: error = ", rc
1378
end subroutine armci_malloc_6dc4
1380
subroutine armci_malloc_7dc4(a, lb, ub, rc)
1384
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1386
complex(kind=c4), dimension(:,:,:,:,:,:,:), pointer :: a
1387
integer, intent(in) :: rank, elemsize, lb(7), ub(7)
1388
integer, intent(out) :: rc
1389
end subroutine armci_malloc_farray
1391
complex(kind=c4), dimension(:,:,:,:,:,:,:), pointer :: a
1392
integer, dimension(7) :: lb, ub
1393
integer, intent(out), optional :: rc
1394
integer :: elemsize = 8
1397
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1398
! if (rc .ne. 0) print *, "error armci_malloc_7dc4: error = ", rc
1400
end subroutine armci_malloc_7dc4
1402
subroutine armci_free_1dc4(a, rc)
1406
subroutine armci_free_farray(a, rank, rc)
1408
complex(kind=c4), dimension(:), pointer :: a
1409
integer, intent(in) :: rank
1410
integer, intent(out) :: rc
1411
end subroutine armci_free_farray
1413
complex(kind=c4), dimension(:), pointer :: a
1414
integer, intent(out), optional :: rc
1417
call armci_free_farray(a, rank, rc)
1418
! if (rc .ne. 0) print *, "error armci_free_1dc4: error = ", rc
1420
end subroutine armci_free_1dc4
1422
subroutine armci_free_2dc4(a, rc)
1426
subroutine armci_free_farray(a, rank, rc)
1428
complex(kind=c4), dimension(:,:), pointer :: a
1429
integer, intent(in) :: rank
1430
integer, intent(out) :: rc
1431
end subroutine armci_free_farray
1433
complex(kind=c4), dimension(:,:), pointer :: a
1434
integer, intent(out), optional :: rc
1436
call armci_free_farray(a, rank, rc)
1437
! if (rc .ne. 0) print *, "error armci_free_2dc4: error = ", rc
1439
end subroutine armci_free_2dc4
1441
subroutine armci_free_3dc4(a, rc)
1445
subroutine armci_free_farray(a, rank, rc)
1447
complex(kind=c4), dimension(:,:,:), pointer :: a
1448
integer, intent(in) :: rank
1449
integer, intent(out) :: rc
1450
end subroutine armci_free_farray
1452
complex(kind=c4), dimension(:,:,:), pointer :: a
1453
integer, intent(out), optional :: rc
1455
call armci_free_farray(a, rank, rc)
1456
! if (rc .ne. 0) print *, "error armci_free_3dc4: error = ", rc
1458
end subroutine armci_free_3dc4
1460
subroutine armci_free_4dc4(a, rc)
1464
subroutine armci_free_farray(a, rank, rc)
1466
complex(kind=c4), dimension(:,:,:,:), pointer :: a
1467
integer, intent(in) :: rank
1468
integer, intent(out) :: rc
1469
end subroutine armci_free_farray
1471
complex(kind=c4), dimension(:,:,:,:), pointer :: a
1472
integer, intent(out), optional :: rc
1474
call armci_free_farray(a, rank, rc)
1475
! if (rc .ne. 0) print *, "error armci_free_4dc4: error = ", rc
1477
end subroutine armci_free_4dc4
1479
subroutine armci_free_5dc4(a, rc)
1483
subroutine armci_free_farray(a, rank, rc)
1485
complex(kind=c4), dimension(:,:,:,:,:), pointer :: a
1486
integer, intent(in) :: rank
1487
integer, intent(out) :: rc
1488
end subroutine armci_free_farray
1490
complex(kind=c4), dimension(:,:,:,:,:), pointer :: a
1491
integer, intent(out), optional :: rc
1493
call armci_free_farray(a, rank, rc)
1494
! if (rc .ne. 0) print *, "error armci_free_5dc4: error = ", rc
1496
end subroutine armci_free_5dc4
1498
subroutine armci_free_6dc4(a, rc)
1502
subroutine armci_free_farray(a, rank, rc)
1504
complex(kind=c4), dimension(:,:,:,:,:,:), pointer :: a
1505
integer, intent(in) :: rank
1506
integer, intent(out) :: rc
1507
end subroutine armci_free_farray
1509
complex(kind=c4), dimension(:,:,:,:,:,:), pointer :: a
1510
integer, intent(out), optional :: rc
1512
call armci_free_farray(a, rank, rc)
1513
! if (rc .ne. 0) print *, "error armci_free_6dc4: error = ", rc
1515
end subroutine armci_free_6dc4
1517
subroutine armci_free_7dc4(a, rc)
1521
subroutine armci_free_farray(a, rank, rc)
1523
complex(kind=c4), dimension(:,:,:,:,:,:,:), pointer :: a
1524
integer, intent(in) :: rank
1525
integer, intent(out) :: rc
1526
end subroutine armci_free_farray
1528
complex(kind=c4), dimension(:,:,:,:,:,:,:), pointer :: a
1529
integer, intent(out), optional :: rc
1531
call armci_free_farray(a, rank, rc)
1532
! if (rc .ne. 0) print *, "error armci_free_7dc4: error = ", rc
1534
end subroutine armci_free_7dc4
1537
subroutine armci_malloc_1dc8(a, lb, ub, rc)
1541
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1543
complex(kind=c8), dimension(:), pointer :: a
1544
integer, intent(in) :: rank, elemsize, lb(1), ub(1)
1545
integer, intent(out) :: rc
1546
end subroutine armci_malloc_farray
1548
complex(kind=c8), dimension(:), pointer :: a
1549
integer, dimension(1) :: lb, ub
1550
integer, intent(out), optional :: rc
1551
integer :: elemsize = 16
1554
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1555
! if (rc .ne. 0) print *, "error armci_malloc_1dc8: error = ", rc
1557
end subroutine armci_malloc_1dc8
1559
subroutine armci_malloc_2dc8(a, lb, ub, rc)
1563
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1565
complex(kind=c8), dimension(:,:), pointer :: a
1566
integer, intent(in) :: rank, elemsize, lb(2), ub(2)
1567
integer, intent(out) :: rc
1568
end subroutine armci_malloc_farray
1570
complex(kind=c8), dimension(:,:), pointer :: a
1571
integer, dimension(2) :: lb, ub
1572
integer, intent(out), optional :: rc
1573
integer :: elemsize = 16
1576
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1577
! if (rc .ne. 0) print *, "error armci_malloc_2dc8: error = ", rc
1579
end subroutine armci_malloc_2dc8
1581
subroutine armci_malloc_3dc8(a, lb, ub, rc)
1585
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1587
complex(kind=c8), dimension(:,:,:), pointer :: a
1588
integer, intent(in) :: rank, elemsize, lb(3), ub(3)
1589
integer, intent(out) :: rc
1590
end subroutine armci_malloc_farray
1592
complex(kind=c8), dimension(:,:,:), pointer :: a
1593
integer, dimension(3) :: lb, ub
1594
integer, intent(out), optional :: rc
1595
integer :: elemsize = 16
1598
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1599
! if (rc .ne. 0) print *, "error armci_malloc_3dc8: error = ", rc
1601
end subroutine armci_malloc_3dc8
1603
subroutine armci_malloc_4dc8(a, lb, ub, rc)
1607
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1609
complex(kind=c8), dimension(:,:,:,:), pointer :: a
1610
integer, intent(in) :: rank, elemsize, lb(4), ub(4)
1611
integer, intent(out) :: rc
1612
end subroutine armci_malloc_farray
1614
complex(kind=c8), dimension(:,:,:,:), pointer :: a
1615
integer, dimension(4) :: lb, ub
1616
integer, intent(out), optional :: rc
1617
integer :: elemsize = 16
1620
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1621
! if (rc .ne. 0) print *, "error armci_malloc_4dc8: error = ", rc
1623
end subroutine armci_malloc_4dc8
1625
subroutine armci_malloc_5dc8(a, lb, ub, rc)
1629
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1631
complex(kind=c8), dimension(:,:,:,:,:), pointer :: a
1632
integer, intent(in) :: rank, elemsize, lb(5), ub(5)
1633
integer, intent(out) :: rc
1634
end subroutine armci_malloc_farray
1636
complex(kind=c8), dimension(:,:,:,:,:), pointer :: a
1637
integer, dimension(5) :: lb, ub
1638
integer, intent(out), optional :: rc
1639
integer :: elemsize = 16
1642
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1643
! if (rc .ne. 0) print *, "error armci_malloc_5dc8: error = ", rc
1645
end subroutine armci_malloc_5dc8
1647
subroutine armci_malloc_6dc8(a, lb, ub, rc)
1651
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1653
complex(kind=c8), dimension(:,:,:,:,:,:), pointer :: a
1654
integer, intent(in) :: rank, elemsize, lb(6), ub(6)
1655
integer, intent(out) :: rc
1656
end subroutine armci_malloc_farray
1658
complex(kind=c8), dimension(:,:,:,:,:,:), pointer :: a
1659
integer, dimension(6) :: lb, ub
1660
integer, intent(out), optional :: rc
1661
integer :: elemsize = 16
1664
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1665
! if (rc .ne. 0) print *, "error armci_malloc_6dc8: error = ", rc
1667
end subroutine armci_malloc_6dc8
1669
subroutine armci_malloc_7dc8(a, lb, ub, rc)
1673
subroutine armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1675
complex(kind=c8), dimension(:,:,:,:,:,:,:), pointer :: a
1676
integer, intent(in) :: rank, elemsize, lb(7), ub(7)
1677
integer, intent(out) :: rc
1678
end subroutine armci_malloc_farray
1680
complex(kind=c8), dimension(:,:,:,:,:,:,:), pointer :: a
1681
integer, dimension(7) :: lb, ub
1682
integer, intent(out), optional :: rc
1683
integer :: elemsize = 16
1686
call armci_malloc_farray(a, rank, elemsize, lb, ub, rc)
1687
! if (rc .ne. 0) print *, "error armci_malloc_7dc8: error = ", rc
1689
end subroutine armci_malloc_7dc8
1691
subroutine armci_free_1dc8(a, rc)
1695
subroutine armci_free_farray(a, rank, rc)
1697
complex(kind=c8), dimension(:), pointer :: a
1698
integer, intent(in) :: rank
1699
integer, intent(out) :: rc
1700
end subroutine armci_free_farray
1702
complex(kind=c8), dimension(:), pointer :: a
1703
integer, intent(out), optional :: rc
1706
call armci_free_farray(a, rank, rc)
1707
! if (rc .ne. 0) print *, "error armci_free_1dc8: error = ", rc
1709
end subroutine armci_free_1dc8
1711
subroutine armci_free_2dc8(a, rc)
1715
subroutine armci_free_farray(a, rank, rc)
1717
complex(kind=c8), dimension(:,:), pointer :: a
1718
integer, intent(in) :: rank
1719
integer, intent(out) :: rc
1720
end subroutine armci_free_farray
1722
complex(kind=c8), dimension(:,:), pointer :: a
1723
integer, intent(out), optional :: rc
1725
call armci_free_farray(a, rank, rc)
1726
! if (rc .ne. 0) print *, "error armci_free_2dc8: error = ", rc
1728
end subroutine armci_free_2dc8
1730
subroutine armci_free_3dc8(a, rc)
1734
subroutine armci_free_farray(a, rank, rc)
1736
complex(kind=c8), dimension(:,:,:), pointer :: a
1737
integer, intent(in) :: rank
1738
integer, intent(out) :: rc
1739
end subroutine armci_free_farray
1741
complex(kind=c8), dimension(:,:,:), pointer :: a
1742
integer, intent(out), optional :: rc
1744
call armci_free_farray(a, rank, rc)
1745
! if (rc .ne. 0) print *, "error armci_free_3dc8: error = ", rc
1747
end subroutine armci_free_3dc8
1749
subroutine armci_free_4dc8(a, rc)
1753
subroutine armci_free_farray(a, rank, rc)
1755
complex(kind=c8), dimension(:,:,:,:), pointer :: a
1756
integer, intent(in) :: rank
1757
integer, intent(out) :: rc
1758
end subroutine armci_free_farray
1760
complex(kind=c8), dimension(:,:,:,:), pointer :: a
1761
integer, intent(out), optional :: rc
1763
call armci_free_farray(a, rank, rc)
1764
! if (rc .ne. 0) print *, "error armci_free_4dc8: error = ", rc
1766
end subroutine armci_free_4dc8
1768
subroutine armci_free_5dc8(a, rc)
1772
subroutine armci_free_farray(a, rank, rc)
1774
complex(kind=c8), dimension(:,:,:,:,:), pointer :: a
1775
integer, intent(in) :: rank
1776
integer, intent(out) :: rc
1777
end subroutine armci_free_farray
1779
complex(kind=c8), dimension(:,:,:,:,:), pointer :: a
1780
integer, intent(out), optional :: rc
1782
call armci_free_farray(a, rank, rc)
1783
! if (rc .ne. 0) print *, "error armci_free_5dc8: error = ", rc
1785
end subroutine armci_free_5dc8
1787
subroutine armci_free_6dc8(a, rc)
1791
subroutine armci_free_farray(a, rank, rc)
1793
complex(kind=c8), dimension(:,:,:,:,:,:), pointer :: a
1794
integer, intent(in) :: rank
1795
integer, intent(out) :: rc
1796
end subroutine armci_free_farray
1798
complex(kind=c8), dimension(:,:,:,:,:,:), pointer :: a
1799
integer, intent(out), optional :: rc
1801
call armci_free_farray(a, rank, rc)
1802
! if (rc .ne. 0) print *, "error armci_free_6dc8: error = ", rc
1804
end subroutine armci_free_6dc8
1806
subroutine armci_free_7dc8(a, rc)
1810
subroutine armci_free_farray(a, rank, rc)
1812
complex(kind=c8), dimension(:,:,:,:,:,:,:), pointer :: a
1813
integer, intent(in) :: rank
1814
integer, intent(out) :: rc
1815
end subroutine armci_free_farray
1817
complex(kind=c8), dimension(:,:,:,:,:,:,:), pointer :: a
1818
integer, intent(out), optional :: rc
1820
call armci_free_farray(a, rank, rc)
1821
! if (rc .ne. 0) print *, "error armci_free_7dc8: error = ", rc
1823
end subroutine armci_free_7dc8
1825
end module armci_mem_f90