@@ -78,20 +78,20 @@ program get_convert_nums
78
78
real (kind= 4 ) , dimension (1 :5 ) :: real_k4
79
79
real (kind= 8 ) , dimension (1 :5 ) :: real_k8
80
80
81
- type (t), save :: obj[ * ]
81
+ type (t), save , codimension[ * ] :: obj
82
82
83
83
associate(me = > this_image(), np = > num_images())
84
84
if (np < 2 ) error stop ' Can not run with less than 2 images.'
85
85
86
- allocate (obj[ * ] % int_scal_k1, SOURCE= INT (42 , 1 )) ! allocate syncs here
87
- allocate (obj[ * ] % int_scal_k4, SOURCE= 42 ) ! allocate syncs here
88
- allocate (obj[ * ] % int_k1(5 ), SOURCE= INT ([ 5 , 4 , 3 , 2 , 1 ], 1 )) ! allocate syncs here
89
- allocate (obj[ * ] % int_k4(5 ), SOURCE= [ 5 , 4 , 3 , 2 , 1 ]) ! allocate syncs here
86
+ allocate (obj% int_scal_k1, SOURCE= INT (42 , 1 )) ! allocate syncs here
87
+ allocate (obj% int_scal_k4, SOURCE= 42 ) ! allocate syncs here
88
+ allocate (obj% int_k1(5 ), SOURCE= INT ([ 5 , 4 , 3 , 2 , 1 ], 1 )) ! allocate syncs here
89
+ allocate (obj% int_k4(5 ), SOURCE= [ 5 , 4 , 3 , 2 , 1 ]) ! allocate syncs here
90
90
91
- allocate (obj[ * ] % real_scal_k4, SOURCE= 37.042 ) ! allocate syncs here
92
- allocate (obj[ * ] % real_scal_k8, SOURCE= REAL (37.042 , 8 )) ! allocate syncs here
93
- allocate (obj[ * ] % real_k4(1 :5 ), SOURCE= [ 5.1 , 4.2 , 3.3 , 2.4 , 1.5 ]) ! allocate syncs here
94
- allocate (obj[ * ] % real_k8(1 :5 ), SOURCE= REAL ([ 5.1 , 4.2 , 3.3 , 2.4 , 1.5 ], 8 )) ! allocate syncs here
91
+ allocate (obj% real_scal_k4, SOURCE= 37.042 ) ! allocate syncs here
92
+ allocate (obj% real_scal_k8, SOURCE= REAL (37.042 , 8 )) ! allocate syncs here
93
+ allocate (obj% real_k4(1 :5 ), SOURCE= [ 5.1 , 4.2 , 3.3 , 2.4 , 1.5 ]) ! allocate syncs here
94
+ allocate (obj% real_k8(1 :5 ), SOURCE= REAL ([ 5.1 , 4.2 , 3.3 , 2.4 , 1.5 ], 8 )) ! allocate syncs here
95
95
96
96
! First check send/copy to self
97
97
if (me == 1 ) then
0 commit comments