Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ developing and testing. Earlier versions or commits might work also.

* Compiler: [GNU Fortran] (gfortran) 10.2.0
* Parallel runtime library: [OpenCoarrays] 2.9.0
* Fortran package manager: [fpm] 105644
* Fortran package manager: [fpm] 7d320295c6fe56cc767b352bd26f0466aa29ac5c

This library also uses the [vegetables] unit testing framework, which
the [fpm] build system will install automatically.
Expand Down
2 changes: 1 addition & 1 deletion fpm.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ maintainer = "damian@sourceryinstitute.org"
copyright = "2020 Sourcery Institute"

[dev-dependencies]
vegetables = {git = "https://gitlab.com/everythingfunctional/vegetables", tag = "v6.0.0"}
vegetables = {git = "https://gitlab.com/everythingfunctional/vegetables", tag = "v6.0.1"}

[[test]]
name="unit"
Expand Down
14 changes: 10 additions & 4 deletions src/data-partition-implementation.F90
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
use assertions_interface, only : assert, assertions
implicit none

logical, parameter :: verbose=.false.

contains

module procedure define_partitions
Expand Down Expand Up @@ -57,8 +59,10 @@ pure function overflow(im, excess) result(extra_datum)
if (present(dim)) call assert (dim==1, "dimensioned partitioned == 1")

associate( me => this_image() )
write(6,*) 'gather_real_1D_array(): executing on image', me
flush(6)
if (verbose) then
write(6,*) 'gather_real_1D_array(): executing on image', me
flush(6)
end if
associate( first=>first(me), last=>last(me) )
if (.not. present(result_image)) then
a(1:first-1) = 0.
Expand Down Expand Up @@ -92,8 +96,10 @@ pure function overflow(im, excess) result(extra_datum)
end if

associate( me => this_image() )
write(6,*) 'gather_real_2D_array(): executing on image', me
flush(6)
if (verbose) then
write(6,*) 'gather_real_2D_array(): executing on image', me
flush(6)
end if
associate( first => first(me), last => last(me) )
if (.not. present(result_image)) then
select case(dim_)
Expand Down