PING! [PATCH, Fortran, accaf, v1] Add caf-API-calls to asynchronously handle allocatable components in derived type coarrays.
Andre Vehreschild
vehre@gmx.de
Mon Nov 28 18:33:00 GMT 2016
PING!
I know it's a lengthy patch, but comments would be nice anyway.
- Andre
On Tue, 22 Nov 2016 20:46:50 +0100
Andre Vehreschild <vehre@gmx.de> wrote:
> Hi all,
>
> attached patch addresses the need of extending the API of the caf-libs to
> enable allocatable components asynchronous allocation. Allocatable components
> in derived type coarrays are different from regular coarrays or coarrayed
> components. The latter have to be allocated on all images or on none.
> Furthermore is the allocation a point of synchronisation.
>
> For allocatable components the F2008 allows to have some allocated on some
> images and on others not. Furthermore is the registration with the caf-lib,
> that an allocatable component is present in a derived type coarray no longer a
> synchronisation point. To implement these features two new types of coarray
> registration have been introduced. The first one just registering the
> component with the caf-lib and the latter doing the allocate. Furthermore has
> the caf-API been extended to provide a query function to learn about the
> allocation status of a component on a remote image.
>
> Sorry, that the patch is rather lengthy. Most of this is due to the
> structure_alloc_comps' signature change. The routine and its wrappers are used
> rather often which needed the appropriate changes.
>
> I know I left two or three TODOs in the patch to remind me of things I have to
> investigate further. For the current state these TODOs are no reason to hold
> back the patch. The third party library opencoarrays implements the mpi-part
> of the caf-model and will change in sync. It would of course be advantageous
> to just have to say: With gcc-7 gfortran implements allocatable components in
> derived coarrays nearly completely.
>
> I know we are in stage 3. But the patch bootstraps and regtests ok on
> x86_64-linux/F23. So, is it ok for trunk or shall it go to 7.2?
>
> Regards,
> Andre
--
Andre Vehreschild * Email: vehre ad gmx dot de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: accaf_async_v1.patch
Type: text/x-patch
Size: 95772 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161128/17436069/attachment.bin>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: accaf_async_v1.clog
URL: <http://gcc.gnu.org/pipermail/fortran/attachments/20161128/17436069/attachment.ksh>
More information about the Fortran
mailing list