! -*-f90-*- ! $Id: mpp_data_sma.inc,v 14.0 2007/03/15 22:41:40 fms Exp $ !----------------------------------------------------------------! ! The following data is used in mpp_mod and its components ! !----------------------------------------------------------------! real(DOUBLE_KIND) :: mpp_stack(1) integer :: mpp_from_pe integer(LONG_KIND), dimension(0:MAXPES) :: status, remote_data_loc integer :: sync(SHMEM_REDUCE_SYNC_SIZE+SHMEM_BCAST_SYNC_SIZE+SHMEM_BARRIER_SYNC_SIZE) !we call shpalloc in mpp_init() to ensure all these are remotely accessible !on PVP where shpalloc doesn't exist, module variables are automatically !guaranteed to be remotely accessible pointer( ptr_stack, mpp_stack ) pointer( ptr_sync, sync ) pointer( ptr_status, status ) pointer( ptr_from, mpp_from_pe ) pointer( ptr_remote, remote_data_loc ) !--- these are some dummy data integer, parameter :: stat = -999 !-------------------------------------------------------------------! ! The following data is used in mpp_domains_mod and its components ! !-------------------------------------------------------------------! real(DOUBLE_KIND) :: mpp_domains_stack(1) pointer( ptr_domains_stack, mpp_domains_stack )