File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ program alloc_comp_send_convert_nums
83
83
logical :: error_printed= .false.
84
84
85
85
associate(me = > this_image(), np = > num_images())
86
- if (np < 2 ) error stop ' Can not run with less than 2 images.'
86
+ if (np < 2 ) error stop ' Cannot run with less than 2 images.'
87
87
88
88
int_scal_k1 = INT (42 , 1 )
89
89
int_scal_k4 = 42
@@ -538,8 +538,15 @@ program alloc_comp_send_convert_nums
538
538
call print_and_register( ' strided send int kind=4 to real kind=4 to image 2 failed' )
539
539
end if
540
540
541
- sync all
542
- if (me == 1 ) print * , " Test passed."
541
+ select case (me)
542
+ case (1 )
543
+ if (error_printed) error stop
544
+ sync images(2 )
545
+ print * , " Test passed."
546
+ case (2 )
547
+ if (error_printed) error stop
548
+ sync images(1 )
549
+ end select
543
550
end associate
544
551
545
552
contains
You can’t perform that action at this time.
0 commit comments