#include "gacommon.h"
      integer ga_max_dim
      parameter (ga_max_dim = GA_MAX_DIM)
!
      logical          ga_allocate
      logical          ga_deallocate
      complex          ga_cdot
      complex          ga_cdot_patch
      integer          ga_cluster_nnodes
      integer          ga_cluster_nodeid
      integer          ga_cluster_nprocs
      integer          ga_cluster_procid
      integer          ga_cluster_proc_nodeid
      logical          ga_compare_distr
      logical          ga_create
      integer          ga_create_handle
      logical          ga_create_irreg
      logical          ga_create_mutexes
      double precision ga_ddot
      double precision ga_ddot_patch
      logical          ga_destroy
      logical          ga_destroy_mutexes
      logical          ga_duplicate
      logical          ga_get_debug
      integer          ga_get_dimension
      integer          ga_get_pgroup
      integer          ga_get_pgroup_size
      logical          ga_has_ghosts
      integer          ga_idot
      logical          ga_initialized
      integer          ga_inquire_memory
      integer          ga_is_mirrored
      integer          ga_llt_solve
      logical          ga_locate
      logical          ga_locate_region
      integer          ga_memory_avail
      logical          ga_memory_limited
      integer          ga_nbtest
      integer          ga_ndim
      integer          ga_nnodes
      integer          ga_nodeid
      logical          ga_overlay
      integer          ga_pgroup_absolute_id
      integer          ga_pgroup_create
      logical          ga_pgroup_destroy
      integer          ga_pgroup_get_default
      integer          ga_pgroup_get_mirror
      integer          ga_pgroup_get_world
      integer          ga_pgroup_nnodes
      integer          ga_pgroup_nodeid
      integer          ga_pgroup_split
      integer          ga_pgroup_split_irreg
      integer          ga_read_inc
      real             ga_sdot
      real             ga_sdot_patch
      logical          ga_set_update4_info
      logical          ga_set_update5_info
      integer          ga_solve
      integer          ga_spd_invert
      integer          ga_total_blocks
      logical          ga_update2_ghosts
      logical          ga_update3_ghosts
      logical          ga_update4_ghosts
      logical          ga_update5_ghosts
      logical          ga_update6_ghosts
      logical          ga_update7_ghosts
      logical          ga_uses_ma
      logical          ga_uses_proc_grid
      logical          ga_valid_handle
      logical          ga_verify_handle
      double precision ga_wtime
      double complex   ga_zdot
      double complex   ga_zdot_patch
      logical          nga_allocate
      logical          nga_deallocate
      complex          nga_cdot
      complex          nga_cdot_patch
      integer          nga_cluster_nnodes
      integer          nga_cluster_nodeid
      integer          nga_cluster_nprocs
      integer          nga_cluster_procid
      integer          nga_cluster_proc_nodeid
      logical          nga_compare_distr
      logical          nga_create
      logical          nga_create_config
      logical          nga_create_ghosts
      logical          nga_create_ghosts_config
      logical          nga_create_ghosts_irreg
      logical          nga_create_ghosts_irreg_config
      integer          nga_create_handle
      logical          nga_create_irreg
      logical          nga_create_irreg_config
      logical          nga_create_mutexes
      double precision nga_ddot
      double precision nga_ddot_patch
      integer          nga_deregister_type
      logical          nga_destroy
      logical          nga_destroy_mutexes
      logical          nga_duplicate
      logical          nga_get_debug
      integer          nga_get_dimension
      integer          nga_get_pgroup
      integer          nga_get_pgroup_size
      logical          nga_has_ghosts
      integer          nga_idot
      integer          nga_idot_patch
      logical          nga_initialized
      integer          nga_inquire_memory
      integer          nga_is_mirrored
      integer          nga_llt_solve
      logical          nga_locate
      integer          nga_locate_num_blocks
      logical          nga_locate_region
      integer          nga_memory_avail
      logical          nga_memory_limited
      integer          nga_nbtest
      integer          nga_ndim
      integer          nga_nnodes
      integer          nga_nodeid
      logical          nga_overlay
      integer          nga_pgroup_absolute_id
      integer          nga_pgroup_create
      logical          nga_pgroup_destroy
      integer          nga_pgroup_get_default
      integer          nga_pgroup_get_mirror
      integer          nga_pgroup_get_world
      integer          nga_pgroup_nnodes
      integer          nga_pgroup_nodeid
      integer          nga_pgroup_split
      integer          nga_pgroup_split_irreg
      integer          nga_read_inc
      integer          nga_register_type
      real             nga_sdot
      real             nga_sdot_patch
      logical          nga_set_update4_info
      logical          nga_set_update5_info
      integer          nga_solve
      integer          nga_spd_invert
      logical          nga_sprs_array_assemble
      logical          nga_sprs_array_create
      logical          nga_sprs_array_destroy
      integer          nga_total_blocks
      logical          nga_update2_ghosts
      logical          nga_update3_ghosts
      logical          nga_update4_ghosts
      logical          nga_update5_ghosts
      logical          nga_update6_ghosts
      logical          nga_update7_ghosts
      logical          nga_update_ghost_dir
      logical          nga_uses_ma
      logical          nga_uses_proc_grid
      logical          nga_valid_handle
      logical          nga_verify_handle
      double precision nga_wtime
      double complex   nga_zdot
      double complex   nga_zdot_patch
!
      external ga_allocate
      external ga_deallocate
      external ga_cdot
      external ga_cdot_patch
      external ga_cluster_nnodes
      external ga_cluster_nodeid
      external ga_cluster_nprocs
      external ga_cluster_procid
      external ga_cluster_proc_nodeid
      external ga_compare_distr
      external ga_create
      external ga_create_handle
      external ga_create_irreg
      external ga_create_mutexes
      external ga_ddot
      external ga_ddot_patch
      external ga_destroy
      external ga_destroy_mutexes
      external ga_duplicate
      external ga_get_debug
      external ga_get_dimension
      external ga_get_pgroup
      external ga_get_pgroup_size
      external ga_has_ghosts
      external ga_idot
      external ga_initialized
      external ga_inquire_memory
      external ga_is_mirrored
      external ga_llt_solve
      external ga_locate
      external ga_locate_region
      external ga_memory_avail
      external ga_memory_limited
      external ga_nbtest
      external ga_ndim
      external ga_nnodes
      external ga_nodeid
      external ga_overlay
      external ga_pgroup_absolute_id
      external ga_pgroup_create
      external ga_pgroup_destroy
      external ga_pgroup_get_default
      external ga_pgroup_get_mirror
      external ga_pgroup_get_world
      external ga_pgroup_nnodes
      external ga_pgroup_nodeid
      external ga_pgroup_split
      external ga_pgroup_split_irreg
      external ga_read_inc
      external ga_sdot
      external ga_sdot_patch
      external ga_set_update4_info
      external ga_set_update5_info
      external ga_solve
      external ga_spd_invert
      external ga_total_blocks
      external ga_update2_ghosts
      external ga_update3_ghosts
      external ga_update4_ghosts
      external ga_update5_ghosts
      external ga_update6_ghosts
      external ga_update7_ghosts
      external ga_uses_ma
      external ga_uses_proc_grid
      external ga_valid_handle
      external ga_verify_handle
      external ga_wtime
      external ga_zdot
      external ga_zdot_patch
      external nga_allocate
      external nga_deallocate
      external nga_cdot
      external nga_cdot_patch
      external nga_cluster_nnodes
      external nga_cluster_nodeid
      external nga_cluster_nprocs
      external nga_cluster_procid
      external nga_cluster_proc_nodeid
      external nga_compare_distr
      external nga_create
      external nga_create_config
      external nga_create_ghosts
      external nga_create_ghosts_config
      external nga_create_ghosts_irreg
      external nga_create_ghosts_irreg_config
      external nga_create_handle
      external nga_create_irreg
      external nga_create_irreg_config
      external nga_create_mutexes
      external nga_ddot
      external nga_ddot_patch
      external nga_deregister_type
      external nga_destroy
      external nga_destroy_mutexes
      external nga_duplicate
      external nga_get_debug
      external nga_get_dimension
      external nga_get_field
      external nga_get_pgroup
      external nga_get_pgroup_size
      external nga_has_ghosts
      external nga_idot
      external nga_idot_patch
      external nga_initialized
      external nga_inquire_memory
      external nga_is_mirrored
      external nga_llt_solve
      external nga_locate
      external nga_locate_num_blocks
      external nga_locate_region
      external nga_memory_avail
      external nga_memory_limited
      external nga_nbget_field
      external nga_nbput_field
      external nga_nbtest
      external nga_ndim
      external nga_nnodes
      external nga_nodeid
      external nga_overlay
      external nga_pgroup_absolute_id
      external nga_pgroup_create
      external nga_pgroup_destroy
      external nga_pgroup_get_default
      external nga_pgroup_get_mirror
      external nga_pgroup_get_world
      external nga_pgroup_nnodes
      external nga_pgroup_nodeid
      external nga_pgroup_split
      external nga_pgroup_split_irreg
      external nga_put_field
      external nga_read_inc
      external nga_register_type
      external nga_sdot
      external nga_sdot_patch
      external nga_set_update4_info
      external nga_set_update5_info
      external nga_solve
      external nga_spd_invert
      external nga_sprs_array_assemble
      external nga_sprs_array_create
      external nga_sprs_array_destroy
      external nga_total_blocks
      external nga_update2_ghosts
      external nga_update3_ghosts
      external nga_update4_ghosts
      external nga_update5_ghosts
      external nga_update6_ghosts
      external nga_update7_ghosts
      external nga_update_ghost_dir
      external nga_uses_ma
      external nga_uses_proc_grid
      external nga_valid_handle
      external nga_verify_handle
      external nga_wtime
      external nga_zdot
      external nga_zdot_patch
!
#define GA_ACCESS_INDEX_TYPE @GA_ACCESS_INDEX_TYPE@
