Project

General

Profile

Feature #322

Updated by Thomas Jahns over 11 years ago

The multi-array could provide access to types not directly supported via an interface that looks like this: 

 <pre> 
 subroutine dist_mult_array_get_cache_val_mpidt(dm_array, dist_mult_array_get_cache_val_$1(dm_array, sub_array_idx, & 
        cache_idx, coord, v) 
     TYPE(dist_mult_array), INTENT(in) :: dm_array 
     INTEGER, INTENT(in) :: sub_array_idx, cache_idx 
     INTEGER, INTENT(in) :: coord(:) 
     TYPE(C_PTR) :: v 
 </pre> 

 and write to v via MPI_Sendrecv on MPI_Comm_self.

Back