#define ga_allocate_  F77_FUNC_(ga_allocate, GA_ALLOCATE)
#define ga_deallocate_  F77_FUNC_(ga_deallocate, GA_DEALLOCATE)
#define ga_callocate_ F77_FUNC_(ga_callocate,GA_CALLOCATE)
#define ga_dallocate_ F77_FUNC_(ga_dallocate,GA_DALLOCATE)
#define ga_iallocate_ F77_FUNC_(ga_iallocate,GA_IALLOCATE)
#define ga_sallocate_ F77_FUNC_(ga_sallocate,GA_SALLOCATE)
#define ga_zallocate_ F77_FUNC_(ga_zallocate,GA_ZALLOCATE)
#define nga_allocate_  F77_FUNC_(nga_allocate, NGA_ALLOCATE)
#define nga_deallocate_  F77_FUNC_(nga_deallocate, NGA_DEALLOCATE)
#define nga_callocate_ F77_FUNC_(nga_callocate,NGA_CALLOCATE)
#define nga_dallocate_ F77_FUNC_(nga_dallocate,NGA_DALLOCATE)
#define nga_iallocate_ F77_FUNC_(nga_iallocate,NGA_IALLOCATE)
#define nga_sallocate_ F77_FUNC_(nga_sallocate,NGA_SALLOCATE)
#define nga_zallocate_ F77_FUNC_(nga_zallocate,NGA_ZALLOCATE)
#define ga_compare_distr_  F77_FUNC_(ga_compare_distr, GA_COMPARE_DISTR)
#define ga_ccompare_distr_ F77_FUNC_(ga_ccompare_distr,GA_CCOMPARE_DISTR)
#define ga_dcompare_distr_ F77_FUNC_(ga_dcompare_distr,GA_DCOMPARE_DISTR)
#define ga_icompare_distr_ F77_FUNC_(ga_icompare_distr,GA_ICOMPARE_DISTR)
#define ga_scompare_distr_ F77_FUNC_(ga_scompare_distr,GA_SCOMPARE_DISTR)
#define ga_zcompare_distr_ F77_FUNC_(ga_zcompare_distr,GA_ZCOMPARE_DISTR)
#define nga_compare_distr_  F77_FUNC_(nga_compare_distr, NGA_COMPARE_DISTR)
#define nga_ccompare_distr_ F77_FUNC_(nga_ccompare_distr,NGA_CCOMPARE_DISTR)
#define nga_dcompare_distr_ F77_FUNC_(nga_dcompare_distr,NGA_DCOMPARE_DISTR)
#define nga_icompare_distr_ F77_FUNC_(nga_icompare_distr,NGA_ICOMPARE_DISTR)
#define nga_scompare_distr_ F77_FUNC_(nga_scompare_distr,NGA_SCOMPARE_DISTR)
#define nga_zcompare_distr_ F77_FUNC_(nga_zcompare_distr,NGA_ZCOMPARE_DISTR)
#define ga_create_  F77_FUNC_(ga_create, GA_CREATE)
#define ga_ccreate_ F77_FUNC_(ga_ccreate,GA_CCREATE)
#define ga_dcreate_ F77_FUNC_(ga_dcreate,GA_DCREATE)
#define ga_icreate_ F77_FUNC_(ga_icreate,GA_ICREATE)
#define ga_screate_ F77_FUNC_(ga_screate,GA_SCREATE)
#define ga_zcreate_ F77_FUNC_(ga_zcreate,GA_ZCREATE)
#define nga_create_  F77_FUNC_(nga_create, NGA_CREATE)
#define nga_ccreate_ F77_FUNC_(nga_ccreate,NGA_CCREATE)
#define nga_dcreate_ F77_FUNC_(nga_dcreate,NGA_DCREATE)
#define nga_icreate_ F77_FUNC_(nga_icreate,NGA_ICREATE)
#define nga_screate_ F77_FUNC_(nga_screate,NGA_SCREATE)
#define nga_zcreate_ F77_FUNC_(nga_zcreate,NGA_ZCREATE)
#define ga_create_config_  F77_FUNC_(ga_create_config, GA_CREATE_CONFIG)
#define ga_ccreate_config_ F77_FUNC_(ga_ccreate_config,GA_CCREATE_CONFIG)
#define ga_dcreate_config_ F77_FUNC_(ga_dcreate_config,GA_DCREATE_CONFIG)
#define ga_icreate_config_ F77_FUNC_(ga_icreate_config,GA_ICREATE_CONFIG)
#define ga_screate_config_ F77_FUNC_(ga_screate_config,GA_SCREATE_CONFIG)
#define ga_zcreate_config_ F77_FUNC_(ga_zcreate_config,GA_ZCREATE_CONFIG)
#define nga_create_config_  F77_FUNC_(nga_create_config, NGA_CREATE_CONFIG)
#define nga_ccreate_config_ F77_FUNC_(nga_ccreate_config,NGA_CCREATE_CONFIG)
#define nga_dcreate_config_ F77_FUNC_(nga_dcreate_config,NGA_DCREATE_CONFIG)
#define nga_icreate_config_ F77_FUNC_(nga_icreate_config,NGA_ICREATE_CONFIG)
#define nga_screate_config_ F77_FUNC_(nga_screate_config,NGA_SCREATE_CONFIG)
#define nga_zcreate_config_ F77_FUNC_(nga_zcreate_config,NGA_ZCREATE_CONFIG)
#define ga_create_ghosts_  F77_FUNC_(ga_create_ghosts, GA_CREATE_GHOSTS)
#define ga_ccreate_ghosts_ F77_FUNC_(ga_ccreate_ghosts,GA_CCREATE_GHOSTS)
#define ga_dcreate_ghosts_ F77_FUNC_(ga_dcreate_ghosts,GA_DCREATE_GHOSTS)
#define ga_icreate_ghosts_ F77_FUNC_(ga_icreate_ghosts,GA_ICREATE_GHOSTS)
#define ga_screate_ghosts_ F77_FUNC_(ga_screate_ghosts,GA_SCREATE_GHOSTS)
#define ga_zcreate_ghosts_ F77_FUNC_(ga_zcreate_ghosts,GA_ZCREATE_GHOSTS)
#define nga_create_ghosts_  F77_FUNC_(nga_create_ghosts, NGA_CREATE_GHOSTS)
#define nga_ccreate_ghosts_ F77_FUNC_(nga_ccreate_ghosts,NGA_CCREATE_GHOSTS)
#define nga_dcreate_ghosts_ F77_FUNC_(nga_dcreate_ghosts,NGA_DCREATE_GHOSTS)
#define nga_icreate_ghosts_ F77_FUNC_(nga_icreate_ghosts,NGA_ICREATE_GHOSTS)
#define nga_screate_ghosts_ F77_FUNC_(nga_screate_ghosts,NGA_SCREATE_GHOSTS)
#define nga_zcreate_ghosts_ F77_FUNC_(nga_zcreate_ghosts,NGA_ZCREATE_GHOSTS)
#define ga_create_ghosts_irreg_  F77_FUNC_(ga_create_ghosts_irreg, GA_CREATE_GHOSTS_IRREG)
#define ga_ccreate_ghosts_irreg_ F77_FUNC_(ga_ccreate_ghosts_irreg,GA_CCREATE_GHOSTS_IRREG)
#define ga_dcreate_ghosts_irreg_ F77_FUNC_(ga_dcreate_ghosts_irreg,GA_DCREATE_GHOSTS_IRREG)
#define ga_icreate_ghosts_irreg_ F77_FUNC_(ga_icreate_ghosts_irreg,GA_ICREATE_GHOSTS_IRREG)
#define ga_screate_ghosts_irreg_ F77_FUNC_(ga_screate_ghosts_irreg,GA_SCREATE_GHOSTS_IRREG)
#define ga_zcreate_ghosts_irreg_ F77_FUNC_(ga_zcreate_ghosts_irreg,GA_ZCREATE_GHOSTS_IRREG)
#define nga_create_ghosts_irreg_  F77_FUNC_(nga_create_ghosts_irreg, NGA_CREATE_GHOSTS_IRREG)
#define nga_ccreate_ghosts_irreg_ F77_FUNC_(nga_ccreate_ghosts_irreg,NGA_CCREATE_GHOSTS_IRREG)
#define nga_dcreate_ghosts_irreg_ F77_FUNC_(nga_dcreate_ghosts_irreg,NGA_DCREATE_GHOSTS_IRREG)
#define nga_icreate_ghosts_irreg_ F77_FUNC_(nga_icreate_ghosts_irreg,NGA_ICREATE_GHOSTS_IRREG)
#define nga_screate_ghosts_irreg_ F77_FUNC_(nga_screate_ghosts_irreg,NGA_SCREATE_GHOSTS_IRREG)
#define nga_zcreate_ghosts_irreg_ F77_FUNC_(nga_zcreate_ghosts_irreg,NGA_ZCREATE_GHOSTS_IRREG)
#define ga_create_ghosts_irreg_config_  F77_FUNC_(ga_create_ghosts_irreg_config, GA_CREATE_GHOSTS_IRREG_CONFIG)
#define ga_ccreate_ghosts_irreg_config_ F77_FUNC_(ga_ccreate_ghosts_irreg_config,GA_CCREATE_GHOSTS_IRREG_CONFIG)
#define ga_dcreate_ghosts_irreg_config_ F77_FUNC_(ga_dcreate_ghosts_irreg_config,GA_DCREATE_GHOSTS_IRREG_CONFIG)
#define ga_icreate_ghosts_irreg_config_ F77_FUNC_(ga_icreate_ghosts_irreg_config,GA_ICREATE_GHOSTS_IRREG_CONFIG)
#define ga_screate_ghosts_irreg_config_ F77_FUNC_(ga_screate_ghosts_irreg_config,GA_SCREATE_GHOSTS_IRREG_CONFIG)
#define ga_zcreate_ghosts_irreg_config_ F77_FUNC_(ga_zcreate_ghosts_irreg_config,GA_ZCREATE_GHOSTS_IRREG_CONFIG)
#define nga_create_ghosts_irreg_config_  F77_FUNC_(nga_create_ghosts_irreg_config, NGA_CREATE_GHOSTS_IRREG_CONFIG)
#define nga_ccreate_ghosts_irreg_config_ F77_FUNC_(nga_ccreate_ghosts_irreg_config,NGA_CCREATE_GHOSTS_IRREG_CONFIG)
#define nga_dcreate_ghosts_irreg_config_ F77_FUNC_(nga_dcreate_ghosts_irreg_config,NGA_DCREATE_GHOSTS_IRREG_CONFIG)
#define nga_icreate_ghosts_irreg_config_ F77_FUNC_(nga_icreate_ghosts_irreg_config,NGA_ICREATE_GHOSTS_IRREG_CONFIG)
#define nga_screate_ghosts_irreg_config_ F77_FUNC_(nga_screate_ghosts_irreg_config,NGA_SCREATE_GHOSTS_IRREG_CONFIG)
#define nga_zcreate_ghosts_irreg_config_ F77_FUNC_(nga_zcreate_ghosts_irreg_config,NGA_ZCREATE_GHOSTS_IRREG_CONFIG)
#define ga_create_ghosts_config_  F77_FUNC_(ga_create_ghosts_config, GA_CREATE_GHOSTS_CONFIG)
#define ga_ccreate_ghosts_config_ F77_FUNC_(ga_ccreate_ghosts_config,GA_CCREATE_GHOSTS_CONFIG)
#define ga_dcreate_ghosts_config_ F77_FUNC_(ga_dcreate_ghosts_config,GA_DCREATE_GHOSTS_CONFIG)
#define ga_icreate_ghosts_config_ F77_FUNC_(ga_icreate_ghosts_config,GA_ICREATE_GHOSTS_CONFIG)
#define ga_screate_ghosts_config_ F77_FUNC_(ga_screate_ghosts_config,GA_SCREATE_GHOSTS_CONFIG)
#define ga_zcreate_ghosts_config_ F77_FUNC_(ga_zcreate_ghosts_config,GA_ZCREATE_GHOSTS_CONFIG)
#define nga_create_ghosts_config_  F77_FUNC_(nga_create_ghosts_config, NGA_CREATE_GHOSTS_CONFIG)
#define nga_ccreate_ghosts_config_ F77_FUNC_(nga_ccreate_ghosts_config,NGA_CCREATE_GHOSTS_CONFIG)
#define nga_dcreate_ghosts_config_ F77_FUNC_(nga_dcreate_ghosts_config,NGA_DCREATE_GHOSTS_CONFIG)
#define nga_icreate_ghosts_config_ F77_FUNC_(nga_icreate_ghosts_config,NGA_ICREATE_GHOSTS_CONFIG)
#define nga_screate_ghosts_config_ F77_FUNC_(nga_screate_ghosts_config,NGA_SCREATE_GHOSTS_CONFIG)
#define nga_zcreate_ghosts_config_ F77_FUNC_(nga_zcreate_ghosts_config,NGA_ZCREATE_GHOSTS_CONFIG)
#define ga_create_irreg_  F77_FUNC_(ga_create_irreg, GA_CREATE_IRREG)
#define ga_ccreate_irreg_ F77_FUNC_(ga_ccreate_irreg,GA_CCREATE_IRREG)
#define ga_dcreate_irreg_ F77_FUNC_(ga_dcreate_irreg,GA_DCREATE_IRREG)
#define ga_icreate_irreg_ F77_FUNC_(ga_icreate_irreg,GA_ICREATE_IRREG)
#define ga_screate_irreg_ F77_FUNC_(ga_screate_irreg,GA_SCREATE_IRREG)
#define ga_zcreate_irreg_ F77_FUNC_(ga_zcreate_irreg,GA_ZCREATE_IRREG)
#define nga_create_irreg_  F77_FUNC_(nga_create_irreg, NGA_CREATE_IRREG)
#define nga_ccreate_irreg_ F77_FUNC_(nga_ccreate_irreg,NGA_CCREATE_IRREG)
#define nga_dcreate_irreg_ F77_FUNC_(nga_dcreate_irreg,NGA_DCREATE_IRREG)
#define nga_icreate_irreg_ F77_FUNC_(nga_icreate_irreg,NGA_ICREATE_IRREG)
#define nga_screate_irreg_ F77_FUNC_(nga_screate_irreg,NGA_SCREATE_IRREG)
#define nga_zcreate_irreg_ F77_FUNC_(nga_zcreate_irreg,NGA_ZCREATE_IRREG)
#define ga_create_irreg_config_  F77_FUNC_(ga_create_irreg_config, GA_CREATE_IRREG_CONFIG)
#define ga_ccreate_irreg_config_ F77_FUNC_(ga_ccreate_irreg_config,GA_CCREATE_IRREG_CONFIG)
#define ga_dcreate_irreg_config_ F77_FUNC_(ga_dcreate_irreg_config,GA_DCREATE_IRREG_CONFIG)
#define ga_icreate_irreg_config_ F77_FUNC_(ga_icreate_irreg_config,GA_ICREATE_IRREG_CONFIG)
#define ga_screate_irreg_config_ F77_FUNC_(ga_screate_irreg_config,GA_SCREATE_IRREG_CONFIG)
#define ga_zcreate_irreg_config_ F77_FUNC_(ga_zcreate_irreg_config,GA_ZCREATE_IRREG_CONFIG)
#define nga_create_irreg_config_  F77_FUNC_(nga_create_irreg_config, NGA_CREATE_IRREG_CONFIG)
#define nga_ccreate_irreg_config_ F77_FUNC_(nga_ccreate_irreg_config,NGA_CCREATE_IRREG_CONFIG)
#define nga_dcreate_irreg_config_ F77_FUNC_(nga_dcreate_irreg_config,NGA_DCREATE_IRREG_CONFIG)
#define nga_icreate_irreg_config_ F77_FUNC_(nga_icreate_irreg_config,NGA_ICREATE_IRREG_CONFIG)
#define nga_screate_irreg_config_ F77_FUNC_(nga_screate_irreg_config,NGA_SCREATE_IRREG_CONFIG)
#define nga_zcreate_irreg_config_ F77_FUNC_(nga_zcreate_irreg_config,NGA_ZCREATE_IRREG_CONFIG)
#define ga_create_handle_  F77_FUNC_(ga_create_handle, GA_CREATE_HANDLE)
#define ga_ccreate_handle_ F77_FUNC_(ga_ccreate_handle,GA_CCREATE_HANDLE)
#define ga_dcreate_handle_ F77_FUNC_(ga_dcreate_handle,GA_DCREATE_HANDLE)
#define ga_icreate_handle_ F77_FUNC_(ga_icreate_handle,GA_ICREATE_HANDLE)
#define ga_screate_handle_ F77_FUNC_(ga_screate_handle,GA_SCREATE_HANDLE)
#define ga_zcreate_handle_ F77_FUNC_(ga_zcreate_handle,GA_ZCREATE_HANDLE)
#define nga_create_handle_  F77_FUNC_(nga_create_handle, NGA_CREATE_HANDLE)
#define nga_ccreate_handle_ F77_FUNC_(nga_ccreate_handle,NGA_CCREATE_HANDLE)
#define nga_dcreate_handle_ F77_FUNC_(nga_dcreate_handle,NGA_DCREATE_HANDLE)
#define nga_icreate_handle_ F77_FUNC_(nga_icreate_handle,NGA_ICREATE_HANDLE)
#define nga_screate_handle_ F77_FUNC_(nga_screate_handle,NGA_SCREATE_HANDLE)
#define nga_zcreate_handle_ F77_FUNC_(nga_zcreate_handle,NGA_ZCREATE_HANDLE)
#define ga_create_mutexes_  F77_FUNC_(ga_create_mutexes, GA_CREATE_MUTEXES)
#define ga_ccreate_mutexes_ F77_FUNC_(ga_ccreate_mutexes,GA_CCREATE_MUTEXES)
#define ga_dcreate_mutexes_ F77_FUNC_(ga_dcreate_mutexes,GA_DCREATE_MUTEXES)
#define ga_icreate_mutexes_ F77_FUNC_(ga_icreate_mutexes,GA_ICREATE_MUTEXES)
#define ga_screate_mutexes_ F77_FUNC_(ga_screate_mutexes,GA_SCREATE_MUTEXES)
#define ga_zcreate_mutexes_ F77_FUNC_(ga_zcreate_mutexes,GA_ZCREATE_MUTEXES)
#define nga_create_mutexes_  F77_FUNC_(nga_create_mutexes, NGA_CREATE_MUTEXES)
#define nga_ccreate_mutexes_ F77_FUNC_(nga_ccreate_mutexes,NGA_CCREATE_MUTEXES)
#define nga_dcreate_mutexes_ F77_FUNC_(nga_dcreate_mutexes,NGA_DCREATE_MUTEXES)
#define nga_icreate_mutexes_ F77_FUNC_(nga_icreate_mutexes,NGA_ICREATE_MUTEXES)
#define nga_screate_mutexes_ F77_FUNC_(nga_screate_mutexes,NGA_SCREATE_MUTEXES)
#define nga_zcreate_mutexes_ F77_FUNC_(nga_zcreate_mutexes,NGA_ZCREATE_MUTEXES)
#define ga_destroy_  F77_FUNC_(ga_destroy, GA_DESTROY)
#define ga_cdestroy_ F77_FUNC_(ga_cdestroy,GA_CDESTROY)
#define ga_ddestroy_ F77_FUNC_(ga_ddestroy,GA_DDESTROY)
#define ga_idestroy_ F77_FUNC_(ga_idestroy,GA_IDESTROY)
#define ga_sdestroy_ F77_FUNC_(ga_sdestroy,GA_SDESTROY)
#define ga_zdestroy_ F77_FUNC_(ga_zdestroy,GA_ZDESTROY)
#define nga_destroy_  F77_FUNC_(nga_destroy, NGA_DESTROY)
#define nga_cdestroy_ F77_FUNC_(nga_cdestroy,NGA_CDESTROY)
#define nga_ddestroy_ F77_FUNC_(nga_ddestroy,NGA_DDESTROY)
#define nga_idestroy_ F77_FUNC_(nga_idestroy,NGA_IDESTROY)
#define nga_sdestroy_ F77_FUNC_(nga_sdestroy,NGA_SDESTROY)
#define nga_zdestroy_ F77_FUNC_(nga_zdestroy,NGA_ZDESTROY)
#define ga_destroy_mutexes_  F77_FUNC_(ga_destroy_mutexes, GA_DESTROY_MUTEXES)
#define ga_cdestroy_mutexes_ F77_FUNC_(ga_cdestroy_mutexes,GA_CDESTROY_MUTEXES)
#define ga_ddestroy_mutexes_ F77_FUNC_(ga_ddestroy_mutexes,GA_DDESTROY_MUTEXES)
#define ga_idestroy_mutexes_ F77_FUNC_(ga_idestroy_mutexes,GA_IDESTROY_MUTEXES)
#define ga_sdestroy_mutexes_ F77_FUNC_(ga_sdestroy_mutexes,GA_SDESTROY_MUTEXES)
#define ga_zdestroy_mutexes_ F77_FUNC_(ga_zdestroy_mutexes,GA_ZDESTROY_MUTEXES)
#define nga_destroy_mutexes_  F77_FUNC_(nga_destroy_mutexes, NGA_DESTROY_MUTEXES)
#define nga_cdestroy_mutexes_ F77_FUNC_(nga_cdestroy_mutexes,NGA_CDESTROY_MUTEXES)
#define nga_ddestroy_mutexes_ F77_FUNC_(nga_ddestroy_mutexes,NGA_DDESTROY_MUTEXES)
#define nga_idestroy_mutexes_ F77_FUNC_(nga_idestroy_mutexes,NGA_IDESTROY_MUTEXES)
#define nga_sdestroy_mutexes_ F77_FUNC_(nga_sdestroy_mutexes,NGA_SDESTROY_MUTEXES)
#define nga_zdestroy_mutexes_ F77_FUNC_(nga_zdestroy_mutexes,NGA_ZDESTROY_MUTEXES)
#define ga_distribution_  F77_FUNC_(ga_distribution, GA_DISTRIBUTION)
#define ga_cdistribution_ F77_FUNC_(ga_cdistribution,GA_CDISTRIBUTION)
#define ga_ddistribution_ F77_FUNC_(ga_ddistribution,GA_DDISTRIBUTION)
#define ga_idistribution_ F77_FUNC_(ga_idistribution,GA_IDISTRIBUTION)
#define ga_sdistribution_ F77_FUNC_(ga_sdistribution,GA_SDISTRIBUTION)
#define ga_zdistribution_ F77_FUNC_(ga_zdistribution,GA_ZDISTRIBUTION)
#define nga_distribution_  F77_FUNC_(nga_distribution, NGA_DISTRIBUTION)
#define nga_cdistribution_ F77_FUNC_(nga_cdistribution,NGA_CDISTRIBUTION)
#define nga_ddistribution_ F77_FUNC_(nga_ddistribution,NGA_DDISTRIBUTION)
#define nga_idistribution_ F77_FUNC_(nga_idistribution,NGA_IDISTRIBUTION)
#define nga_sdistribution_ F77_FUNC_(nga_sdistribution,NGA_SDISTRIBUTION)
#define nga_zdistribution_ F77_FUNC_(nga_zdistribution,NGA_ZDISTRIBUTION)
#define ga_duplicate_  F77_FUNC_(ga_duplicate, GA_DUPLICATE)
#define ga_cduplicate_ F77_FUNC_(ga_cduplicate,GA_CDUPLICATE)
#define ga_dduplicate_ F77_FUNC_(ga_dduplicate,GA_DDUPLICATE)
#define ga_iduplicate_ F77_FUNC_(ga_iduplicate,GA_IDUPLICATE)
#define ga_sduplicate_ F77_FUNC_(ga_sduplicate,GA_SDUPLICATE)
#define ga_zduplicate_ F77_FUNC_(ga_zduplicate,GA_ZDUPLICATE)
#define nga_duplicate_  F77_FUNC_(nga_duplicate, NGA_DUPLICATE)
#define nga_cduplicate_ F77_FUNC_(nga_cduplicate,NGA_CDUPLICATE)
#define nga_dduplicate_ F77_FUNC_(nga_dduplicate,NGA_DDUPLICATE)
#define nga_iduplicate_ F77_FUNC_(nga_iduplicate,NGA_IDUPLICATE)
#define nga_sduplicate_ F77_FUNC_(nga_sduplicate,NGA_SDUPLICATE)
#define nga_zduplicate_ F77_FUNC_(nga_zduplicate,NGA_ZDUPLICATE)
#define ga_fill_  F77_FUNC_(ga_fill, GA_FILL)
#define ga_cfill_ F77_FUNC_(ga_cfill,GA_CFILL)
#define ga_dfill_ F77_FUNC_(ga_dfill,GA_DFILL)
#define ga_ifill_ F77_FUNC_(ga_ifill,GA_IFILL)
#define ga_sfill_ F77_FUNC_(ga_sfill,GA_SFILL)
#define ga_zfill_ F77_FUNC_(ga_zfill,GA_ZFILL)
#define nga_fill_  F77_FUNC_(nga_fill, NGA_FILL)
#define nga_cfill_ F77_FUNC_(nga_cfill,NGA_CFILL)
#define nga_dfill_ F77_FUNC_(nga_dfill,NGA_DFILL)
#define nga_ifill_ F77_FUNC_(nga_ifill,NGA_IFILL)
#define nga_sfill_ F77_FUNC_(nga_sfill,NGA_SFILL)
#define nga_zfill_ F77_FUNC_(nga_zfill,NGA_ZFILL)
#define ga_get_block_info_  F77_FUNC_(ga_get_block_info, GA_GET_BLOCK_INFO)
#define ga_cget_block_info_ F77_FUNC_(ga_cget_block_info,GA_CGET_BLOCK_INFO)
#define ga_dget_block_info_ F77_FUNC_(ga_dget_block_info,GA_DGET_BLOCK_INFO)
#define ga_iget_block_info_ F77_FUNC_(ga_iget_block_info,GA_IGET_BLOCK_INFO)
#define ga_sget_block_info_ F77_FUNC_(ga_sget_block_info,GA_SGET_BLOCK_INFO)
#define ga_zget_block_info_ F77_FUNC_(ga_zget_block_info,GA_ZGET_BLOCK_INFO)
#define nga_get_block_info_  F77_FUNC_(nga_get_block_info, NGA_GET_BLOCK_INFO)
#define nga_cget_block_info_ F77_FUNC_(nga_cget_block_info,NGA_CGET_BLOCK_INFO)
#define nga_dget_block_info_ F77_FUNC_(nga_dget_block_info,NGA_DGET_BLOCK_INFO)
#define nga_iget_block_info_ F77_FUNC_(nga_iget_block_info,NGA_IGET_BLOCK_INFO)
#define nga_sget_block_info_ F77_FUNC_(nga_sget_block_info,NGA_SGET_BLOCK_INFO)
#define nga_zget_block_info_ F77_FUNC_(nga_zget_block_info,NGA_ZGET_BLOCK_INFO)
#define ga_get_debug_  F77_FUNC_(ga_get_debug, GA_GET_DEBUG)
#define ga_cget_debug_ F77_FUNC_(ga_cget_debug,GA_CGET_DEBUG)
#define ga_dget_debug_ F77_FUNC_(ga_dget_debug,GA_DGET_DEBUG)
#define ga_iget_debug_ F77_FUNC_(ga_iget_debug,GA_IGET_DEBUG)
#define ga_sget_debug_ F77_FUNC_(ga_sget_debug,GA_SGET_DEBUG)
#define ga_zget_debug_ F77_FUNC_(ga_zget_debug,GA_ZGET_DEBUG)
#define nga_get_debug_  F77_FUNC_(nga_get_debug, NGA_GET_DEBUG)
#define nga_cget_debug_ F77_FUNC_(nga_cget_debug,NGA_CGET_DEBUG)
#define nga_dget_debug_ F77_FUNC_(nga_dget_debug,NGA_DGET_DEBUG)
#define nga_iget_debug_ F77_FUNC_(nga_iget_debug,NGA_IGET_DEBUG)
#define nga_sget_debug_ F77_FUNC_(nga_sget_debug,NGA_SGET_DEBUG)
#define nga_zget_debug_ F77_FUNC_(nga_zget_debug,NGA_ZGET_DEBUG)
#define ga_get_dimension_  F77_FUNC_(ga_get_dimension, GA_GET_DIMENSION)
#define ga_cget_dimension_ F77_FUNC_(ga_cget_dimension,GA_CGET_DIMENSION)
#define ga_dget_dimension_ F77_FUNC_(ga_dget_dimension,GA_DGET_DIMENSION)
#define ga_iget_dimension_ F77_FUNC_(ga_iget_dimension,GA_IGET_DIMENSION)
#define ga_sget_dimension_ F77_FUNC_(ga_sget_dimension,GA_SGET_DIMENSION)
#define ga_zget_dimension_ F77_FUNC_(ga_zget_dimension,GA_ZGET_DIMENSION)
#define nga_get_dimension_  F77_FUNC_(nga_get_dimension, NGA_GET_DIMENSION)
#define nga_cget_dimension_ F77_FUNC_(nga_cget_dimension,NGA_CGET_DIMENSION)
#define nga_dget_dimension_ F77_FUNC_(nga_dget_dimension,NGA_DGET_DIMENSION)
#define nga_iget_dimension_ F77_FUNC_(nga_iget_dimension,NGA_IGET_DIMENSION)
#define nga_sget_dimension_ F77_FUNC_(nga_sget_dimension,NGA_SGET_DIMENSION)
#define nga_zget_dimension_ F77_FUNC_(nga_zget_dimension,NGA_ZGET_DIMENSION)
#define ga_get_proc_grid_  F77_FUNC_(ga_get_proc_grid, GA_GET_PROC_GRID)
#define ga_cget_proc_grid_ F77_FUNC_(ga_cget_proc_grid,GA_CGET_PROC_GRID)
#define ga_dget_proc_grid_ F77_FUNC_(ga_dget_proc_grid,GA_DGET_PROC_GRID)
#define ga_iget_proc_grid_ F77_FUNC_(ga_iget_proc_grid,GA_IGET_PROC_GRID)
#define ga_sget_proc_grid_ F77_FUNC_(ga_sget_proc_grid,GA_SGET_PROC_GRID)
#define ga_zget_proc_grid_ F77_FUNC_(ga_zget_proc_grid,GA_ZGET_PROC_GRID)
#define nga_get_proc_grid_  F77_FUNC_(nga_get_proc_grid, NGA_GET_PROC_GRID)
#define nga_cget_proc_grid_ F77_FUNC_(nga_cget_proc_grid,NGA_CGET_PROC_GRID)
#define nga_dget_proc_grid_ F77_FUNC_(nga_dget_proc_grid,NGA_DGET_PROC_GRID)
#define nga_iget_proc_grid_ F77_FUNC_(nga_iget_proc_grid,NGA_IGET_PROC_GRID)
#define nga_sget_proc_grid_ F77_FUNC_(nga_sget_proc_grid,NGA_SGET_PROC_GRID)
#define nga_zget_proc_grid_ F77_FUNC_(nga_zget_proc_grid,NGA_ZGET_PROC_GRID)
#define ga_get_proc_index_  F77_FUNC_(ga_get_proc_index, GA_GET_PROC_INDEX)
#define ga_cget_proc_index_ F77_FUNC_(ga_cget_proc_index,GA_CGET_PROC_INDEX)
#define ga_dget_proc_index_ F77_FUNC_(ga_dget_proc_index,GA_DGET_PROC_INDEX)
#define ga_iget_proc_index_ F77_FUNC_(ga_iget_proc_index,GA_IGET_PROC_INDEX)
#define ga_sget_proc_index_ F77_FUNC_(ga_sget_proc_index,GA_SGET_PROC_INDEX)
#define ga_zget_proc_index_ F77_FUNC_(ga_zget_proc_index,GA_ZGET_PROC_INDEX)
#define nga_get_proc_index_  F77_FUNC_(nga_get_proc_index, NGA_GET_PROC_INDEX)
#define nga_cget_proc_index_ F77_FUNC_(nga_cget_proc_index,NGA_CGET_PROC_INDEX)
#define nga_dget_proc_index_ F77_FUNC_(nga_dget_proc_index,NGA_DGET_PROC_INDEX)
#define nga_iget_proc_index_ F77_FUNC_(nga_iget_proc_index,NGA_IGET_PROC_INDEX)
#define nga_sget_proc_index_ F77_FUNC_(nga_sget_proc_index,NGA_SGET_PROC_INDEX)
#define nga_zget_proc_index_ F77_FUNC_(nga_zget_proc_index,NGA_ZGET_PROC_INDEX)
#define ga_has_ghosts_  F77_FUNC_(ga_has_ghosts, GA_HAS_GHOSTS)
#define ga_chas_ghosts_ F77_FUNC_(ga_chas_ghosts,GA_CHAS_GHOSTS)
#define ga_dhas_ghosts_ F77_FUNC_(ga_dhas_ghosts,GA_DHAS_GHOSTS)
#define ga_ihas_ghosts_ F77_FUNC_(ga_ihas_ghosts,GA_IHAS_GHOSTS)
#define ga_shas_ghosts_ F77_FUNC_(ga_shas_ghosts,GA_SHAS_GHOSTS)
#define ga_zhas_ghosts_ F77_FUNC_(ga_zhas_ghosts,GA_ZHAS_GHOSTS)
#define nga_has_ghosts_  F77_FUNC_(nga_has_ghosts, NGA_HAS_GHOSTS)
#define nga_chas_ghosts_ F77_FUNC_(nga_chas_ghosts,NGA_CHAS_GHOSTS)
#define nga_dhas_ghosts_ F77_FUNC_(nga_dhas_ghosts,NGA_DHAS_GHOSTS)
#define nga_ihas_ghosts_ F77_FUNC_(nga_ihas_ghosts,NGA_IHAS_GHOSTS)
#define nga_shas_ghosts_ F77_FUNC_(nga_shas_ghosts,NGA_SHAS_GHOSTS)
#define nga_zhas_ghosts_ F77_FUNC_(nga_zhas_ghosts,NGA_ZHAS_GHOSTS)
#define ga_initialize_  F77_FUNC_(ga_initialize, GA_INITIALIZE)
#define ga_cinitialize_ F77_FUNC_(ga_cinitialize,GA_CINITIALIZE)
#define ga_dinitialize_ F77_FUNC_(ga_dinitialize,GA_DINITIALIZE)
#define ga_iinitialize_ F77_FUNC_(ga_iinitialize,GA_IINITIALIZE)
#define ga_sinitialize_ F77_FUNC_(ga_sinitialize,GA_SINITIALIZE)
#define ga_zinitialize_ F77_FUNC_(ga_zinitialize,GA_ZINITIALIZE)
#define nga_initialize_  F77_FUNC_(nga_initialize, NGA_INITIALIZE)
#define nga_cinitialize_ F77_FUNC_(nga_cinitialize,NGA_CINITIALIZE)
#define nga_dinitialize_ F77_FUNC_(nga_dinitialize,NGA_DINITIALIZE)
#define nga_iinitialize_ F77_FUNC_(nga_iinitialize,NGA_IINITIALIZE)
#define nga_sinitialize_ F77_FUNC_(nga_sinitialize,NGA_SINITIALIZE)
#define nga_zinitialize_ F77_FUNC_(nga_zinitialize,NGA_ZINITIALIZE)
#define ga_initialized_  F77_FUNC_(ga_initialized, GA_INITIALIZED)
#define ga_cinitialized_ F77_FUNC_(ga_cinitialized,GA_CINITIALIZED)
#define ga_dinitialized_ F77_FUNC_(ga_dinitialized,GA_DINITIALIZED)
#define ga_iinitialized_ F77_FUNC_(ga_iinitialized,GA_IINITIALIZED)
#define ga_sinitialized_ F77_FUNC_(ga_sinitialized,GA_SINITIALIZED)
#define ga_zinitialized_ F77_FUNC_(ga_zinitialized,GA_ZINITIALIZED)
#define nga_initialized_  F77_FUNC_(nga_initialized, NGA_INITIALIZED)
#define nga_cinitialized_ F77_FUNC_(nga_cinitialized,NGA_CINITIALIZED)
#define nga_dinitialized_ F77_FUNC_(nga_dinitialized,NGA_DINITIALIZED)
#define nga_iinitialized_ F77_FUNC_(nga_iinitialized,NGA_IINITIALIZED)
#define nga_sinitialized_ F77_FUNC_(nga_sinitialized,NGA_SINITIALIZED)
#define nga_zinitialized_ F77_FUNC_(nga_zinitialized,NGA_ZINITIALIZED)
#define ga_initialize_ltd_  F77_FUNC_(ga_initialize_ltd, GA_INITIALIZE_LTD)
#define ga_cinitialize_ltd_ F77_FUNC_(ga_cinitialize_ltd,GA_CINITIALIZE_LTD)
#define ga_dinitialize_ltd_ F77_FUNC_(ga_dinitialize_ltd,GA_DINITIALIZE_LTD)
#define ga_iinitialize_ltd_ F77_FUNC_(ga_iinitialize_ltd,GA_IINITIALIZE_LTD)
#define ga_sinitialize_ltd_ F77_FUNC_(ga_sinitialize_ltd,GA_SINITIALIZE_LTD)
#define ga_zinitialize_ltd_ F77_FUNC_(ga_zinitialize_ltd,GA_ZINITIALIZE_LTD)
#define nga_initialize_ltd_  F77_FUNC_(nga_initialize_ltd, NGA_INITIALIZE_LTD)
#define nga_cinitialize_ltd_ F77_FUNC_(nga_cinitialize_ltd,NGA_CINITIALIZE_LTD)
#define nga_dinitialize_ltd_ F77_FUNC_(nga_dinitialize_ltd,NGA_DINITIALIZE_LTD)
#define nga_iinitialize_ltd_ F77_FUNC_(nga_iinitialize_ltd,NGA_IINITIALIZE_LTD)
#define nga_sinitialize_ltd_ F77_FUNC_(nga_sinitialize_ltd,NGA_SINITIALIZE_LTD)
#define nga_zinitialize_ltd_ F77_FUNC_(nga_zinitialize_ltd,NGA_ZINITIALIZE_LTD)
#define ga_inquire_  F77_FUNC_(ga_inquire, GA_INQUIRE)
#define ga_cinquire_ F77_FUNC_(ga_cinquire,GA_CINQUIRE)
#define ga_dinquire_ F77_FUNC_(ga_dinquire,GA_DINQUIRE)
#define ga_iinquire_ F77_FUNC_(ga_iinquire,GA_IINQUIRE)
#define ga_sinquire_ F77_FUNC_(ga_sinquire,GA_SINQUIRE)
#define ga_zinquire_ F77_FUNC_(ga_zinquire,GA_ZINQUIRE)
#define nga_inquire_  F77_FUNC_(nga_inquire, NGA_INQUIRE)
#define nga_cinquire_ F77_FUNC_(nga_cinquire,NGA_CINQUIRE)
#define nga_dinquire_ F77_FUNC_(nga_dinquire,NGA_DINQUIRE)
#define nga_iinquire_ F77_FUNC_(nga_iinquire,NGA_IINQUIRE)
#define nga_sinquire_ F77_FUNC_(nga_sinquire,NGA_SINQUIRE)
#define nga_zinquire_ F77_FUNC_(nga_zinquire,NGA_ZINQUIRE)
#define ga_inquire_type_  F77_FUNC_(ga_inquire_type, GA_INQUIRE_TYPE)
#define ga_cinquire_type_ F77_FUNC_(ga_cinquire_type,GA_CINQUIRE_TYPE)
#define ga_dinquire_type_ F77_FUNC_(ga_dinquire_type,GA_DINQUIRE_TYPE)
#define ga_iinquire_type_ F77_FUNC_(ga_iinquire_type,GA_IINQUIRE_TYPE)
#define ga_sinquire_type_ F77_FUNC_(ga_sinquire_type,GA_SINQUIRE_TYPE)
#define ga_zinquire_type_ F77_FUNC_(ga_zinquire_type,GA_ZINQUIRE_TYPE)
#define nga_inquire_type_  F77_FUNC_(nga_inquire_type, NGA_INQUIRE_TYPE)
#define nga_cinquire_type_ F77_FUNC_(nga_cinquire_type,NGA_CINQUIRE_TYPE)
#define nga_dinquire_type_ F77_FUNC_(nga_dinquire_type,NGA_DINQUIRE_TYPE)
#define nga_iinquire_type_ F77_FUNC_(nga_iinquire_type,NGA_IINQUIRE_TYPE)
#define nga_sinquire_type_ F77_FUNC_(nga_sinquire_type,NGA_SINQUIRE_TYPE)
#define nga_zinquire_type_ F77_FUNC_(nga_zinquire_type,NGA_ZINQUIRE_TYPE)
#define ga_inquire_memory_  F77_FUNC_(ga_inquire_memory, GA_INQUIRE_MEMORY)
#define ga_cinquire_memory_ F77_FUNC_(ga_cinquire_memory,GA_CINQUIRE_MEMORY)
#define ga_dinquire_memory_ F77_FUNC_(ga_dinquire_memory,GA_DINQUIRE_MEMORY)
#define ga_iinquire_memory_ F77_FUNC_(ga_iinquire_memory,GA_IINQUIRE_MEMORY)
#define ga_sinquire_memory_ F77_FUNC_(ga_sinquire_memory,GA_SINQUIRE_MEMORY)
#define ga_zinquire_memory_ F77_FUNC_(ga_zinquire_memory,GA_ZINQUIRE_MEMORY)
#define nga_inquire_memory_  F77_FUNC_(nga_inquire_memory, NGA_INQUIRE_MEMORY)
#define nga_cinquire_memory_ F77_FUNC_(nga_cinquire_memory,NGA_CINQUIRE_MEMORY)
#define nga_dinquire_memory_ F77_FUNC_(nga_dinquire_memory,NGA_DINQUIRE_MEMORY)
#define nga_iinquire_memory_ F77_FUNC_(nga_iinquire_memory,NGA_IINQUIRE_MEMORY)
#define nga_sinquire_memory_ F77_FUNC_(nga_sinquire_memory,NGA_SINQUIRE_MEMORY)
#define nga_zinquire_memory_ F77_FUNC_(nga_zinquire_memory,NGA_ZINQUIRE_MEMORY)
#define ga_inquire_name_  F77_FUNC_(ga_inquire_name, GA_INQUIRE_NAME)
#define ga_cinquire_name_ F77_FUNC_(ga_cinquire_name,GA_CINQUIRE_NAME)
#define ga_dinquire_name_ F77_FUNC_(ga_dinquire_name,GA_DINQUIRE_NAME)
#define ga_iinquire_name_ F77_FUNC_(ga_iinquire_name,GA_IINQUIRE_NAME)
#define ga_sinquire_name_ F77_FUNC_(ga_sinquire_name,GA_SINQUIRE_NAME)
#define ga_zinquire_name_ F77_FUNC_(ga_zinquire_name,GA_ZINQUIRE_NAME)
#define nga_inquire_name_  F77_FUNC_(nga_inquire_name, NGA_INQUIRE_NAME)
#define nga_cinquire_name_ F77_FUNC_(nga_cinquire_name,NGA_CINQUIRE_NAME)
#define nga_dinquire_name_ F77_FUNC_(nga_dinquire_name,NGA_DINQUIRE_NAME)
#define nga_iinquire_name_ F77_FUNC_(nga_iinquire_name,NGA_IINQUIRE_NAME)
#define nga_sinquire_name_ F77_FUNC_(nga_sinquire_name,NGA_SINQUIRE_NAME)
#define nga_zinquire_name_ F77_FUNC_(nga_zinquire_name,NGA_ZINQUIRE_NAME)
#define ga_is_mirrored_  F77_FUNC_(ga_is_mirrored, GA_IS_MIRRORED)
#define ga_cis_mirrored_ F77_FUNC_(ga_cis_mirrored,GA_CIS_MIRRORED)
#define ga_dis_mirrored_ F77_FUNC_(ga_dis_mirrored,GA_DIS_MIRRORED)
#define ga_iis_mirrored_ F77_FUNC_(ga_iis_mirrored,GA_IIS_MIRRORED)
#define ga_sis_mirrored_ F77_FUNC_(ga_sis_mirrored,GA_SIS_MIRRORED)
#define ga_zis_mirrored_ F77_FUNC_(ga_zis_mirrored,GA_ZIS_MIRRORED)
#define nga_is_mirrored_  F77_FUNC_(nga_is_mirrored, NGA_IS_MIRRORED)
#define nga_cis_mirrored_ F77_FUNC_(nga_cis_mirrored,NGA_CIS_MIRRORED)
#define nga_dis_mirrored_ F77_FUNC_(nga_dis_mirrored,NGA_DIS_MIRRORED)
#define nga_iis_mirrored_ F77_FUNC_(nga_iis_mirrored,NGA_IIS_MIRRORED)
#define nga_sis_mirrored_ F77_FUNC_(nga_sis_mirrored,NGA_SIS_MIRRORED)
#define nga_zis_mirrored_ F77_FUNC_(nga_zis_mirrored,NGA_ZIS_MIRRORED)
#define ga_list_nodeid_  F77_FUNC_(ga_list_nodeid, GA_LIST_NODEID)
#define ga_clist_nodeid_ F77_FUNC_(ga_clist_nodeid,GA_CLIST_NODEID)
#define ga_dlist_nodeid_ F77_FUNC_(ga_dlist_nodeid,GA_DLIST_NODEID)
#define ga_ilist_nodeid_ F77_FUNC_(ga_ilist_nodeid,GA_ILIST_NODEID)
#define ga_slist_nodeid_ F77_FUNC_(ga_slist_nodeid,GA_SLIST_NODEID)
#define ga_zlist_nodeid_ F77_FUNC_(ga_zlist_nodeid,GA_ZLIST_NODEID)
#define nga_list_nodeid_  F77_FUNC_(nga_list_nodeid, NGA_LIST_NODEID)
#define nga_clist_nodeid_ F77_FUNC_(nga_clist_nodeid,NGA_CLIST_NODEID)
#define nga_dlist_nodeid_ F77_FUNC_(nga_dlist_nodeid,NGA_DLIST_NODEID)
#define nga_ilist_nodeid_ F77_FUNC_(nga_ilist_nodeid,NGA_ILIST_NODEID)
#define nga_slist_nodeid_ F77_FUNC_(nga_slist_nodeid,NGA_SLIST_NODEID)
#define nga_zlist_nodeid_ F77_FUNC_(nga_zlist_nodeid,NGA_ZLIST_NODEID)
#define ga_locate_  F77_FUNC_(ga_locate, GA_LOCATE)
#define ga_clocate_ F77_FUNC_(ga_clocate,GA_CLOCATE)
#define ga_dlocate_ F77_FUNC_(ga_dlocate,GA_DLOCATE)
#define ga_ilocate_ F77_FUNC_(ga_ilocate,GA_ILOCATE)
#define ga_slocate_ F77_FUNC_(ga_slocate,GA_SLOCATE)
#define ga_zlocate_ F77_FUNC_(ga_zlocate,GA_ZLOCATE)
#define nga_locate_  F77_FUNC_(nga_locate, NGA_LOCATE)
#define nga_clocate_ F77_FUNC_(nga_clocate,NGA_CLOCATE)
#define nga_dlocate_ F77_FUNC_(nga_dlocate,NGA_DLOCATE)
#define nga_ilocate_ F77_FUNC_(nga_ilocate,NGA_ILOCATE)
#define nga_slocate_ F77_FUNC_(nga_slocate,NGA_SLOCATE)
#define nga_zlocate_ F77_FUNC_(nga_zlocate,NGA_ZLOCATE)
#define ga_locate_num_blocks_  F77_FUNC_(ga_locate_num_blocks, GA_LOCATE_NUM_BLOCKS)
#define ga_clocate_num_blocks_ F77_FUNC_(ga_clocate_num_blocks,GA_CLOCATE_NUM_BLOCKS)
#define ga_dlocate_num_blocks_ F77_FUNC_(ga_dlocate_num_blocks,GA_DLOCATE_NUM_BLOCKS)
#define ga_ilocate_num_blocks_ F77_FUNC_(ga_ilocate_num_blocks,GA_ILOCATE_NUM_BLOCKS)
#define ga_slocate_num_blocks_ F77_FUNC_(ga_slocate_num_blocks,GA_SLOCATE_NUM_BLOCKS)
#define ga_zlocate_num_blocks_ F77_FUNC_(ga_zlocate_num_blocks,GA_ZLOCATE_NUM_BLOCKS)
#define nga_locate_num_blocks_  F77_FUNC_(nga_locate_num_blocks, NGA_LOCATE_NUM_BLOCKS)
#define nga_clocate_num_blocks_ F77_FUNC_(nga_clocate_num_blocks,NGA_CLOCATE_NUM_BLOCKS)
#define nga_dlocate_num_blocks_ F77_FUNC_(nga_dlocate_num_blocks,NGA_DLOCATE_NUM_BLOCKS)
#define nga_ilocate_num_blocks_ F77_FUNC_(nga_ilocate_num_blocks,NGA_ILOCATE_NUM_BLOCKS)
#define nga_slocate_num_blocks_ F77_FUNC_(nga_slocate_num_blocks,NGA_SLOCATE_NUM_BLOCKS)
#define nga_zlocate_num_blocks_ F77_FUNC_(nga_zlocate_num_blocks,NGA_ZLOCATE_NUM_BLOCKS)
#define ga_locate_nnodes_  F77_FUNC_(ga_locate_nnodes, GA_LOCATE_NNODES)
#define ga_clocate_nnodes_ F77_FUNC_(ga_clocate_nnodes,GA_CLOCATE_NNODES)
#define ga_dlocate_nnodes_ F77_FUNC_(ga_dlocate_nnodes,GA_DLOCATE_NNODES)
#define ga_ilocate_nnodes_ F77_FUNC_(ga_ilocate_nnodes,GA_ILOCATE_NNODES)
#define ga_slocate_nnodes_ F77_FUNC_(ga_slocate_nnodes,GA_SLOCATE_NNODES)
#define ga_zlocate_nnodes_ F77_FUNC_(ga_zlocate_nnodes,GA_ZLOCATE_NNODES)
#define nga_locate_nnodes_  F77_FUNC_(nga_locate_nnodes, NGA_LOCATE_NNODES)
#define nga_clocate_nnodes_ F77_FUNC_(nga_clocate_nnodes,NGA_CLOCATE_NNODES)
#define nga_dlocate_nnodes_ F77_FUNC_(nga_dlocate_nnodes,NGA_DLOCATE_NNODES)
#define nga_ilocate_nnodes_ F77_FUNC_(nga_ilocate_nnodes,NGA_ILOCATE_NNODES)
#define nga_slocate_nnodes_ F77_FUNC_(nga_slocate_nnodes,NGA_SLOCATE_NNODES)
#define nga_zlocate_nnodes_ F77_FUNC_(nga_zlocate_nnodes,NGA_ZLOCATE_NNODES)
#define ga_locate_region_  F77_FUNC_(ga_locate_region, GA_LOCATE_REGION)
#define ga_clocate_region_ F77_FUNC_(ga_clocate_region,GA_CLOCATE_REGION)
#define ga_dlocate_region_ F77_FUNC_(ga_dlocate_region,GA_DLOCATE_REGION)
#define ga_ilocate_region_ F77_FUNC_(ga_ilocate_region,GA_ILOCATE_REGION)
#define ga_slocate_region_ F77_FUNC_(ga_slocate_region,GA_SLOCATE_REGION)
#define ga_zlocate_region_ F77_FUNC_(ga_zlocate_region,GA_ZLOCATE_REGION)
#define nga_locate_region_  F77_FUNC_(nga_locate_region, NGA_LOCATE_REGION)
#define nga_clocate_region_ F77_FUNC_(nga_clocate_region,NGA_CLOCATE_REGION)
#define nga_dlocate_region_ F77_FUNC_(nga_dlocate_region,NGA_DLOCATE_REGION)
#define nga_ilocate_region_ F77_FUNC_(nga_ilocate_region,NGA_ILOCATE_REGION)
#define nga_slocate_region_ F77_FUNC_(nga_slocate_region,NGA_SLOCATE_REGION)
#define nga_zlocate_region_ F77_FUNC_(nga_zlocate_region,NGA_ZLOCATE_REGION)
#define ga_lock_  F77_FUNC_(ga_lock, GA_LOCK)
#define ga_clock_ F77_FUNC_(ga_clock,GA_CLOCK)
#define ga_dlock_ F77_FUNC_(ga_dlock,GA_DLOCK)
#define ga_ilock_ F77_FUNC_(ga_ilock,GA_ILOCK)
#define ga_slock_ F77_FUNC_(ga_slock,GA_SLOCK)
#define ga_zlock_ F77_FUNC_(ga_zlock,GA_ZLOCK)
#define nga_lock_  F77_FUNC_(nga_lock, NGA_LOCK)
#define nga_clock_ F77_FUNC_(nga_clock,NGA_CLOCK)
#define nga_dlock_ F77_FUNC_(nga_dlock,NGA_DLOCK)
#define nga_ilock_ F77_FUNC_(nga_ilock,NGA_ILOCK)
#define nga_slock_ F77_FUNC_(nga_slock,NGA_SLOCK)
#define nga_zlock_ F77_FUNC_(nga_zlock,NGA_ZLOCK)
#define ga_ndim_  F77_FUNC_(ga_ndim, GA_NDIM)
#define ga_cndim_ F77_FUNC_(ga_cndim,GA_CNDIM)
#define ga_dndim_ F77_FUNC_(ga_dndim,GA_DNDIM)
#define ga_indim_ F77_FUNC_(ga_indim,GA_INDIM)
#define ga_sndim_ F77_FUNC_(ga_sndim,GA_SNDIM)
#define ga_zndim_ F77_FUNC_(ga_zndim,GA_ZNDIM)
#define nga_ndim_  F77_FUNC_(nga_ndim, NGA_NDIM)
#define nga_cndim_ F77_FUNC_(nga_cndim,NGA_CNDIM)
#define nga_dndim_ F77_FUNC_(nga_dndim,NGA_DNDIM)
#define nga_indim_ F77_FUNC_(nga_indim,NGA_INDIM)
#define nga_sndim_ F77_FUNC_(nga_sndim,NGA_SNDIM)
#define nga_zndim_ F77_FUNC_(nga_zndim,NGA_ZNDIM)
#define ga_mask_sync_  F77_FUNC_(ga_mask_sync, GA_MASK_SYNC)
#define ga_cmask_sync_ F77_FUNC_(ga_cmask_sync,GA_CMASK_SYNC)
#define ga_dmask_sync_ F77_FUNC_(ga_dmask_sync,GA_DMASK_SYNC)
#define ga_imask_sync_ F77_FUNC_(ga_imask_sync,GA_IMASK_SYNC)
#define ga_smask_sync_ F77_FUNC_(ga_smask_sync,GA_SMASK_SYNC)
#define ga_zmask_sync_ F77_FUNC_(ga_zmask_sync,GA_ZMASK_SYNC)
#define nga_mask_sync_  F77_FUNC_(nga_mask_sync, NGA_MASK_SYNC)
#define nga_cmask_sync_ F77_FUNC_(nga_cmask_sync,NGA_CMASK_SYNC)
#define nga_dmask_sync_ F77_FUNC_(nga_dmask_sync,NGA_DMASK_SYNC)
#define nga_imask_sync_ F77_FUNC_(nga_imask_sync,NGA_IMASK_SYNC)
#define nga_smask_sync_ F77_FUNC_(nga_smask_sync,NGA_SMASK_SYNC)
#define nga_zmask_sync_ F77_FUNC_(nga_zmask_sync,NGA_ZMASK_SYNC)
#define ga_memory_avail_  F77_FUNC_(ga_memory_avail, GA_MEMORY_AVAIL)
#define ga_cmemory_avail_ F77_FUNC_(ga_cmemory_avail,GA_CMEMORY_AVAIL)
#define ga_dmemory_avail_ F77_FUNC_(ga_dmemory_avail,GA_DMEMORY_AVAIL)
#define ga_imemory_avail_ F77_FUNC_(ga_imemory_avail,GA_IMEMORY_AVAIL)
#define ga_smemory_avail_ F77_FUNC_(ga_smemory_avail,GA_SMEMORY_AVAIL)
#define ga_zmemory_avail_ F77_FUNC_(ga_zmemory_avail,GA_ZMEMORY_AVAIL)
#define nga_memory_avail_  F77_FUNC_(nga_memory_avail, NGA_MEMORY_AVAIL)
#define nga_cmemory_avail_ F77_FUNC_(nga_cmemory_avail,NGA_CMEMORY_AVAIL)
#define nga_dmemory_avail_ F77_FUNC_(nga_dmemory_avail,NGA_DMEMORY_AVAIL)
#define nga_imemory_avail_ F77_FUNC_(nga_imemory_avail,NGA_IMEMORY_AVAIL)
#define nga_smemory_avail_ F77_FUNC_(nga_smemory_avail,NGA_SMEMORY_AVAIL)
#define nga_zmemory_avail_ F77_FUNC_(nga_zmemory_avail,NGA_ZMEMORY_AVAIL)
#define ga_memory_limited_  F77_FUNC_(ga_memory_limited, GA_MEMORY_LIMITED)
#define ga_cmemory_limited_ F77_FUNC_(ga_cmemory_limited,GA_CMEMORY_LIMITED)
#define ga_dmemory_limited_ F77_FUNC_(ga_dmemory_limited,GA_DMEMORY_LIMITED)
#define ga_imemory_limited_ F77_FUNC_(ga_imemory_limited,GA_IMEMORY_LIMITED)
#define ga_smemory_limited_ F77_FUNC_(ga_smemory_limited,GA_SMEMORY_LIMITED)
#define ga_zmemory_limited_ F77_FUNC_(ga_zmemory_limited,GA_ZMEMORY_LIMITED)
#define nga_memory_limited_  F77_FUNC_(nga_memory_limited, NGA_MEMORY_LIMITED)
#define nga_cmemory_limited_ F77_FUNC_(nga_cmemory_limited,NGA_CMEMORY_LIMITED)
#define nga_dmemory_limited_ F77_FUNC_(nga_dmemory_limited,NGA_DMEMORY_LIMITED)
#define nga_imemory_limited_ F77_FUNC_(nga_imemory_limited,NGA_IMEMORY_LIMITED)
#define nga_smemory_limited_ F77_FUNC_(nga_smemory_limited,NGA_SMEMORY_LIMITED)
#define nga_zmemory_limited_ F77_FUNC_(nga_zmemory_limited,NGA_ZMEMORY_LIMITED)
#define ga_merge_distr_patch_  F77_FUNC_(ga_merge_distr_patch, GA_MERGE_DISTR_PATCH)
#define ga_cmerge_distr_patch_ F77_FUNC_(ga_cmerge_distr_patch,GA_CMERGE_DISTR_PATCH)
#define ga_dmerge_distr_patch_ F77_FUNC_(ga_dmerge_distr_patch,GA_DMERGE_DISTR_PATCH)
#define ga_imerge_distr_patch_ F77_FUNC_(ga_imerge_distr_patch,GA_IMERGE_DISTR_PATCH)
#define ga_smerge_distr_patch_ F77_FUNC_(ga_smerge_distr_patch,GA_SMERGE_DISTR_PATCH)
#define ga_zmerge_distr_patch_ F77_FUNC_(ga_zmerge_distr_patch,GA_ZMERGE_DISTR_PATCH)
#define nga_merge_distr_patch_  F77_FUNC_(nga_merge_distr_patch, NGA_MERGE_DISTR_PATCH)
#define nga_cmerge_distr_patch_ F77_FUNC_(nga_cmerge_distr_patch,NGA_CMERGE_DISTR_PATCH)
#define nga_dmerge_distr_patch_ F77_FUNC_(nga_dmerge_distr_patch,NGA_DMERGE_DISTR_PATCH)
#define nga_imerge_distr_patch_ F77_FUNC_(nga_imerge_distr_patch,NGA_IMERGE_DISTR_PATCH)
#define nga_smerge_distr_patch_ F77_FUNC_(nga_smerge_distr_patch,NGA_SMERGE_DISTR_PATCH)
#define nga_zmerge_distr_patch_ F77_FUNC_(nga_zmerge_distr_patch,NGA_ZMERGE_DISTR_PATCH)
#define ga_merge_mirrored_  F77_FUNC_(ga_merge_mirrored, GA_MERGE_MIRRORED)
#define ga_cmerge_mirrored_ F77_FUNC_(ga_cmerge_mirrored,GA_CMERGE_MIRRORED)
#define ga_dmerge_mirrored_ F77_FUNC_(ga_dmerge_mirrored,GA_DMERGE_MIRRORED)
#define ga_imerge_mirrored_ F77_FUNC_(ga_imerge_mirrored,GA_IMERGE_MIRRORED)
#define ga_smerge_mirrored_ F77_FUNC_(ga_smerge_mirrored,GA_SMERGE_MIRRORED)
#define ga_zmerge_mirrored_ F77_FUNC_(ga_zmerge_mirrored,GA_ZMERGE_MIRRORED)
#define nga_merge_mirrored_  F77_FUNC_(nga_merge_mirrored, NGA_MERGE_MIRRORED)
#define nga_cmerge_mirrored_ F77_FUNC_(nga_cmerge_mirrored,NGA_CMERGE_MIRRORED)
#define nga_dmerge_mirrored_ F77_FUNC_(nga_dmerge_mirrored,NGA_DMERGE_MIRRORED)
#define nga_imerge_mirrored_ F77_FUNC_(nga_imerge_mirrored,NGA_IMERGE_MIRRORED)
#define nga_smerge_mirrored_ F77_FUNC_(nga_smerge_mirrored,NGA_SMERGE_MIRRORED)
#define nga_zmerge_mirrored_ F77_FUNC_(nga_zmerge_mirrored,NGA_ZMERGE_MIRRORED)
#define ga_nblock_  F77_FUNC_(ga_nblock, GA_NBLOCK)
#define ga_cnblock_ F77_FUNC_(ga_cnblock,GA_CNBLOCK)
#define ga_dnblock_ F77_FUNC_(ga_dnblock,GA_DNBLOCK)
#define ga_inblock_ F77_FUNC_(ga_inblock,GA_INBLOCK)
#define ga_snblock_ F77_FUNC_(ga_snblock,GA_SNBLOCK)
#define ga_znblock_ F77_FUNC_(ga_znblock,GA_ZNBLOCK)
#define nga_nblock_  F77_FUNC_(nga_nblock, NGA_NBLOCK)
#define nga_cnblock_ F77_FUNC_(nga_cnblock,NGA_CNBLOCK)
#define nga_dnblock_ F77_FUNC_(nga_dnblock,NGA_DNBLOCK)
#define nga_inblock_ F77_FUNC_(nga_inblock,NGA_INBLOCK)
#define nga_snblock_ F77_FUNC_(nga_snblock,NGA_SNBLOCK)
#define nga_znblock_ F77_FUNC_(nga_znblock,NGA_ZNBLOCK)
#define ga_nnodes_  F77_FUNC_(ga_nnodes, GA_NNODES)
#define ga_cnnodes_ F77_FUNC_(ga_cnnodes,GA_CNNODES)
#define ga_dnnodes_ F77_FUNC_(ga_dnnodes,GA_DNNODES)
#define ga_innodes_ F77_FUNC_(ga_innodes,GA_INNODES)
#define ga_snnodes_ F77_FUNC_(ga_snnodes,GA_SNNODES)
#define ga_znnodes_ F77_FUNC_(ga_znnodes,GA_ZNNODES)
#define nga_nnodes_  F77_FUNC_(nga_nnodes, NGA_NNODES)
#define nga_cnnodes_ F77_FUNC_(nga_cnnodes,NGA_CNNODES)
#define nga_dnnodes_ F77_FUNC_(nga_dnnodes,NGA_DNNODES)
#define nga_innodes_ F77_FUNC_(nga_innodes,NGA_INNODES)
#define nga_snnodes_ F77_FUNC_(nga_snnodes,NGA_SNNODES)
#define nga_znnodes_ F77_FUNC_(nga_znnodes,NGA_ZNNODES)
#define ga_nodeid_  F77_FUNC_(ga_nodeid, GA_NODEID)
#define ga_cnodeid_ F77_FUNC_(ga_cnodeid,GA_CNODEID)
#define ga_dnodeid_ F77_FUNC_(ga_dnodeid,GA_DNODEID)
#define ga_inodeid_ F77_FUNC_(ga_inodeid,GA_INODEID)
#define ga_snodeid_ F77_FUNC_(ga_snodeid,GA_SNODEID)
#define ga_znodeid_ F77_FUNC_(ga_znodeid,GA_ZNODEID)
#define nga_nodeid_  F77_FUNC_(nga_nodeid, NGA_NODEID)
#define nga_cnodeid_ F77_FUNC_(nga_cnodeid,NGA_CNODEID)
#define nga_dnodeid_ F77_FUNC_(nga_dnodeid,NGA_DNODEID)
#define nga_inodeid_ F77_FUNC_(nga_inodeid,NGA_INODEID)
#define nga_snodeid_ F77_FUNC_(nga_snodeid,NGA_SNODEID)
#define nga_znodeid_ F77_FUNC_(nga_znodeid,NGA_ZNODEID)
#define ga_overlay_  F77_FUNC_(ga_overlay, GA_OVERLAY)
#define ga_coverlay_ F77_FUNC_(ga_coverlay,GA_COVERLAY)
#define ga_doverlay_ F77_FUNC_(ga_doverlay,GA_DOVERLAY)
#define ga_ioverlay_ F77_FUNC_(ga_ioverlay,GA_IOVERLAY)
#define ga_soverlay_ F77_FUNC_(ga_soverlay,GA_SOVERLAY)
#define ga_zoverlay_ F77_FUNC_(ga_zoverlay,GA_ZOVERLAY)
#define nga_overlay_  F77_FUNC_(nga_overlay, NGA_OVERLAY)
#define nga_coverlay_ F77_FUNC_(nga_coverlay,NGA_COVERLAY)
#define nga_doverlay_ F77_FUNC_(nga_doverlay,NGA_DOVERLAY)
#define nga_ioverlay_ F77_FUNC_(nga_ioverlay,NGA_IOVERLAY)
#define nga_soverlay_ F77_FUNC_(nga_soverlay,NGA_SOVERLAY)
#define nga_zoverlay_ F77_FUNC_(nga_zoverlay,NGA_ZOVERLAY)
#define ga_pgroup_absolute_id_  F77_FUNC_(ga_pgroup_absolute_id, GA_PGROUP_ABSOLUTE_ID)
#define ga_cpgroup_absolute_id_ F77_FUNC_(ga_cpgroup_absolute_id,GA_CPGROUP_ABSOLUTE_ID)
#define ga_dpgroup_absolute_id_ F77_FUNC_(ga_dpgroup_absolute_id,GA_DPGROUP_ABSOLUTE_ID)
#define ga_ipgroup_absolute_id_ F77_FUNC_(ga_ipgroup_absolute_id,GA_IPGROUP_ABSOLUTE_ID)
#define ga_spgroup_absolute_id_ F77_FUNC_(ga_spgroup_absolute_id,GA_SPGROUP_ABSOLUTE_ID)
#define ga_zpgroup_absolute_id_ F77_FUNC_(ga_zpgroup_absolute_id,GA_ZPGROUP_ABSOLUTE_ID)
#define nga_pgroup_absolute_id_  F77_FUNC_(nga_pgroup_absolute_id, NGA_PGROUP_ABSOLUTE_ID)
#define nga_cpgroup_absolute_id_ F77_FUNC_(nga_cpgroup_absolute_id,NGA_CPGROUP_ABSOLUTE_ID)
#define nga_dpgroup_absolute_id_ F77_FUNC_(nga_dpgroup_absolute_id,NGA_DPGROUP_ABSOLUTE_ID)
#define nga_ipgroup_absolute_id_ F77_FUNC_(nga_ipgroup_absolute_id,NGA_IPGROUP_ABSOLUTE_ID)
#define nga_spgroup_absolute_id_ F77_FUNC_(nga_spgroup_absolute_id,NGA_SPGROUP_ABSOLUTE_ID)
#define nga_zpgroup_absolute_id_ F77_FUNC_(nga_zpgroup_absolute_id,NGA_ZPGROUP_ABSOLUTE_ID)
#define ga_pgroup_create_  F77_FUNC_(ga_pgroup_create, GA_PGROUP_CREATE)
#define ga_cpgroup_create_ F77_FUNC_(ga_cpgroup_create,GA_CPGROUP_CREATE)
#define ga_dpgroup_create_ F77_FUNC_(ga_dpgroup_create,GA_DPGROUP_CREATE)
#define ga_ipgroup_create_ F77_FUNC_(ga_ipgroup_create,GA_IPGROUP_CREATE)
#define ga_spgroup_create_ F77_FUNC_(ga_spgroup_create,GA_SPGROUP_CREATE)
#define ga_zpgroup_create_ F77_FUNC_(ga_zpgroup_create,GA_ZPGROUP_CREATE)
#define nga_pgroup_create_  F77_FUNC_(nga_pgroup_create, NGA_PGROUP_CREATE)
#define nga_cpgroup_create_ F77_FUNC_(nga_cpgroup_create,NGA_CPGROUP_CREATE)
#define nga_dpgroup_create_ F77_FUNC_(nga_dpgroup_create,NGA_DPGROUP_CREATE)
#define nga_ipgroup_create_ F77_FUNC_(nga_ipgroup_create,NGA_IPGROUP_CREATE)
#define nga_spgroup_create_ F77_FUNC_(nga_spgroup_create,NGA_SPGROUP_CREATE)
#define nga_zpgroup_create_ F77_FUNC_(nga_zpgroup_create,NGA_ZPGROUP_CREATE)
#define ga_pgroup_duplicate_  F77_FUNC_(ga_pgroup_duplicate, GA_PGROUP_DUPLICATE)
#define ga_cpgroup_duplicate_ F77_FUNC_(ga_cpgroup_duplicate,GA_CPGROUP_DUPLICATE)
#define ga_dpgroup_duplicate_ F77_FUNC_(ga_dpgroup_duplicate,GA_DPGROUP_DUPLICATE)
#define ga_ipgroup_duplicate_ F77_FUNC_(ga_ipgroup_duplicate,GA_IPGROUP_DUPLICATE)
#define ga_spgroup_duplicate_ F77_FUNC_(ga_spgroup_duplicate,GA_SPGROUP_DUPLICATE)
#define ga_zpgroup_duplicate_ F77_FUNC_(ga_zpgroup_duplicate,GA_ZPGROUP_DUPLICATE)
#define nga_pgroup_duplicate_  F77_FUNC_(nga_pgroup_duplicate, NGA_PGROUP_DUPLICATE)
#define nga_cpgroup_duplicate_ F77_FUNC_(nga_cpgroup_duplicate,NGA_CPGROUP_DUPLICATE)
#define nga_dpgroup_duplicate_ F77_FUNC_(nga_dpgroup_duplicate,NGA_DPGROUP_DUPLICATE)
#define nga_ipgroup_duplicate_ F77_FUNC_(nga_ipgroup_duplicate,NGA_IPGROUP_DUPLICATE)
#define nga_spgroup_duplicate_ F77_FUNC_(nga_spgroup_duplicate,NGA_SPGROUP_DUPLICATE)
#define nga_zpgroup_duplicate_ F77_FUNC_(nga_zpgroup_duplicate,NGA_ZPGROUP_DUPLICATE)
#define ga_pgroup_self_  F77_FUNC_(ga_pgroup_self, GA_PGROUP_SELF)
#define ga_cpgroup_self_ F77_FUNC_(ga_cpgroup_self,GA_CPGROUP_SELF)
#define ga_dpgroup_self_ F77_FUNC_(ga_dpgroup_self,GA_DPGROUP_SELF)
#define ga_ipgroup_self_ F77_FUNC_(ga_ipgroup_self,GA_IPGROUP_SELF)
#define ga_spgroup_self_ F77_FUNC_(ga_spgroup_self,GA_SPGROUP_SELF)
#define ga_zpgroup_self_ F77_FUNC_(ga_zpgroup_self,GA_ZPGROUP_SELF)
#define nga_pgroup_self_  F77_FUNC_(nga_pgroup_self, NGA_PGROUP_SELF)
#define nga_cpgroup_self_ F77_FUNC_(nga_cpgroup_self,NGA_CPGROUP_SELF)
#define nga_dpgroup_self_ F77_FUNC_(nga_dpgroup_self,NGA_DPGROUP_SELF)
#define nga_ipgroup_self_ F77_FUNC_(nga_ipgroup_self,NGA_IPGROUP_SELF)
#define nga_spgroup_self_ F77_FUNC_(nga_spgroup_self,NGA_SPGROUP_SELF)
#define nga_zpgroup_self_ F77_FUNC_(nga_zpgroup_self,NGA_ZPGROUP_SELF)
#define ga_pgroup_destroy_  F77_FUNC_(ga_pgroup_destroy, GA_PGROUP_DESTROY)
#define ga_cpgroup_destroy_ F77_FUNC_(ga_cpgroup_destroy,GA_CPGROUP_DESTROY)
#define ga_dpgroup_destroy_ F77_FUNC_(ga_dpgroup_destroy,GA_DPGROUP_DESTROY)
#define ga_ipgroup_destroy_ F77_FUNC_(ga_ipgroup_destroy,GA_IPGROUP_DESTROY)
#define ga_spgroup_destroy_ F77_FUNC_(ga_spgroup_destroy,GA_SPGROUP_DESTROY)
#define ga_zpgroup_destroy_ F77_FUNC_(ga_zpgroup_destroy,GA_ZPGROUP_DESTROY)
#define nga_pgroup_destroy_  F77_FUNC_(nga_pgroup_destroy, NGA_PGROUP_DESTROY)
#define nga_cpgroup_destroy_ F77_FUNC_(nga_cpgroup_destroy,NGA_CPGROUP_DESTROY)
#define nga_dpgroup_destroy_ F77_FUNC_(nga_dpgroup_destroy,NGA_DPGROUP_DESTROY)
#define nga_ipgroup_destroy_ F77_FUNC_(nga_ipgroup_destroy,NGA_IPGROUP_DESTROY)
#define nga_spgroup_destroy_ F77_FUNC_(nga_spgroup_destroy,NGA_SPGROUP_DESTROY)
#define nga_zpgroup_destroy_ F77_FUNC_(nga_zpgroup_destroy,NGA_ZPGROUP_DESTROY)
#define ga_pgroup_get_default_  F77_FUNC_(ga_pgroup_get_default, GA_PGROUP_GET_DEFAULT)
#define ga_cpgroup_get_default_ F77_FUNC_(ga_cpgroup_get_default,GA_CPGROUP_GET_DEFAULT)
#define ga_dpgroup_get_default_ F77_FUNC_(ga_dpgroup_get_default,GA_DPGROUP_GET_DEFAULT)
#define ga_ipgroup_get_default_ F77_FUNC_(ga_ipgroup_get_default,GA_IPGROUP_GET_DEFAULT)
#define ga_spgroup_get_default_ F77_FUNC_(ga_spgroup_get_default,GA_SPGROUP_GET_DEFAULT)
#define ga_zpgroup_get_default_ F77_FUNC_(ga_zpgroup_get_default,GA_ZPGROUP_GET_DEFAULT)
#define nga_pgroup_get_default_  F77_FUNC_(nga_pgroup_get_default, NGA_PGROUP_GET_DEFAULT)
#define nga_cpgroup_get_default_ F77_FUNC_(nga_cpgroup_get_default,NGA_CPGROUP_GET_DEFAULT)
#define nga_dpgroup_get_default_ F77_FUNC_(nga_dpgroup_get_default,NGA_DPGROUP_GET_DEFAULT)
#define nga_ipgroup_get_default_ F77_FUNC_(nga_ipgroup_get_default,NGA_IPGROUP_GET_DEFAULT)
#define nga_spgroup_get_default_ F77_FUNC_(nga_spgroup_get_default,NGA_SPGROUP_GET_DEFAULT)
#define nga_zpgroup_get_default_ F77_FUNC_(nga_zpgroup_get_default,NGA_ZPGROUP_GET_DEFAULT)
#define ga_pgroup_get_mirror_  F77_FUNC_(ga_pgroup_get_mirror, GA_PGROUP_GET_MIRROR)
#define ga_cpgroup_get_mirror_ F77_FUNC_(ga_cpgroup_get_mirror,GA_CPGROUP_GET_MIRROR)
#define ga_dpgroup_get_mirror_ F77_FUNC_(ga_dpgroup_get_mirror,GA_DPGROUP_GET_MIRROR)
#define ga_ipgroup_get_mirror_ F77_FUNC_(ga_ipgroup_get_mirror,GA_IPGROUP_GET_MIRROR)
#define ga_spgroup_get_mirror_ F77_FUNC_(ga_spgroup_get_mirror,GA_SPGROUP_GET_MIRROR)
#define ga_zpgroup_get_mirror_ F77_FUNC_(ga_zpgroup_get_mirror,GA_ZPGROUP_GET_MIRROR)
#define nga_pgroup_get_mirror_  F77_FUNC_(nga_pgroup_get_mirror, NGA_PGROUP_GET_MIRROR)
#define nga_cpgroup_get_mirror_ F77_FUNC_(nga_cpgroup_get_mirror,NGA_CPGROUP_GET_MIRROR)
#define nga_dpgroup_get_mirror_ F77_FUNC_(nga_dpgroup_get_mirror,NGA_DPGROUP_GET_MIRROR)
#define nga_ipgroup_get_mirror_ F77_FUNC_(nga_ipgroup_get_mirror,NGA_IPGROUP_GET_MIRROR)
#define nga_spgroup_get_mirror_ F77_FUNC_(nga_spgroup_get_mirror,NGA_SPGROUP_GET_MIRROR)
#define nga_zpgroup_get_mirror_ F77_FUNC_(nga_zpgroup_get_mirror,NGA_ZPGROUP_GET_MIRROR)
#define ga_pgroup_get_world_  F77_FUNC_(ga_pgroup_get_world, GA_PGROUP_GET_WORLD)
#define ga_cpgroup_get_world_ F77_FUNC_(ga_cpgroup_get_world,GA_CPGROUP_GET_WORLD)
#define ga_dpgroup_get_world_ F77_FUNC_(ga_dpgroup_get_world,GA_DPGROUP_GET_WORLD)
#define ga_ipgroup_get_world_ F77_FUNC_(ga_ipgroup_get_world,GA_IPGROUP_GET_WORLD)
#define ga_spgroup_get_world_ F77_FUNC_(ga_spgroup_get_world,GA_SPGROUP_GET_WORLD)
#define ga_zpgroup_get_world_ F77_FUNC_(ga_zpgroup_get_world,GA_ZPGROUP_GET_WORLD)
#define nga_pgroup_get_world_  F77_FUNC_(nga_pgroup_get_world, NGA_PGROUP_GET_WORLD)
#define nga_cpgroup_get_world_ F77_FUNC_(nga_cpgroup_get_world,NGA_CPGROUP_GET_WORLD)
#define nga_dpgroup_get_world_ F77_FUNC_(nga_dpgroup_get_world,NGA_DPGROUP_GET_WORLD)
#define nga_ipgroup_get_world_ F77_FUNC_(nga_ipgroup_get_world,NGA_IPGROUP_GET_WORLD)
#define nga_spgroup_get_world_ F77_FUNC_(nga_spgroup_get_world,NGA_SPGROUP_GET_WORLD)
#define nga_zpgroup_get_world_ F77_FUNC_(nga_zpgroup_get_world,NGA_ZPGROUP_GET_WORLD)
#define ga_pgroup_set_default_  F77_FUNC_(ga_pgroup_set_default, GA_PGROUP_SET_DEFAULT)
#define ga_cpgroup_set_default_ F77_FUNC_(ga_cpgroup_set_default,GA_CPGROUP_SET_DEFAULT)
#define ga_dpgroup_set_default_ F77_FUNC_(ga_dpgroup_set_default,GA_DPGROUP_SET_DEFAULT)
#define ga_ipgroup_set_default_ F77_FUNC_(ga_ipgroup_set_default,GA_IPGROUP_SET_DEFAULT)
#define ga_spgroup_set_default_ F77_FUNC_(ga_spgroup_set_default,GA_SPGROUP_SET_DEFAULT)
#define ga_zpgroup_set_default_ F77_FUNC_(ga_zpgroup_set_default,GA_ZPGROUP_SET_DEFAULT)
#define nga_pgroup_set_default_  F77_FUNC_(nga_pgroup_set_default, NGA_PGROUP_SET_DEFAULT)
#define nga_cpgroup_set_default_ F77_FUNC_(nga_cpgroup_set_default,NGA_CPGROUP_SET_DEFAULT)
#define nga_dpgroup_set_default_ F77_FUNC_(nga_dpgroup_set_default,NGA_DPGROUP_SET_DEFAULT)
#define nga_ipgroup_set_default_ F77_FUNC_(nga_ipgroup_set_default,NGA_IPGROUP_SET_DEFAULT)
#define nga_spgroup_set_default_ F77_FUNC_(nga_spgroup_set_default,NGA_SPGROUP_SET_DEFAULT)
#define nga_zpgroup_set_default_ F77_FUNC_(nga_zpgroup_set_default,NGA_ZPGROUP_SET_DEFAULT)
#define ga_pgroup_split_  F77_FUNC_(ga_pgroup_split, GA_PGROUP_SPLIT)
#define ga_cpgroup_split_ F77_FUNC_(ga_cpgroup_split,GA_CPGROUP_SPLIT)
#define ga_dpgroup_split_ F77_FUNC_(ga_dpgroup_split,GA_DPGROUP_SPLIT)
#define ga_ipgroup_split_ F77_FUNC_(ga_ipgroup_split,GA_IPGROUP_SPLIT)
#define ga_spgroup_split_ F77_FUNC_(ga_spgroup_split,GA_SPGROUP_SPLIT)
#define ga_zpgroup_split_ F77_FUNC_(ga_zpgroup_split,GA_ZPGROUP_SPLIT)
#define nga_pgroup_split_  F77_FUNC_(nga_pgroup_split, NGA_PGROUP_SPLIT)
#define nga_cpgroup_split_ F77_FUNC_(nga_cpgroup_split,NGA_CPGROUP_SPLIT)
#define nga_dpgroup_split_ F77_FUNC_(nga_dpgroup_split,NGA_DPGROUP_SPLIT)
#define nga_ipgroup_split_ F77_FUNC_(nga_ipgroup_split,NGA_IPGROUP_SPLIT)
#define nga_spgroup_split_ F77_FUNC_(nga_spgroup_split,NGA_SPGROUP_SPLIT)
#define nga_zpgroup_split_ F77_FUNC_(nga_zpgroup_split,NGA_ZPGROUP_SPLIT)
#define ga_pgroup_split_irreg_  F77_FUNC_(ga_pgroup_split_irreg, GA_PGROUP_SPLIT_IRREG)
#define ga_cpgroup_split_irreg_ F77_FUNC_(ga_cpgroup_split_irreg,GA_CPGROUP_SPLIT_IRREG)
#define ga_dpgroup_split_irreg_ F77_FUNC_(ga_dpgroup_split_irreg,GA_DPGROUP_SPLIT_IRREG)
#define ga_ipgroup_split_irreg_ F77_FUNC_(ga_ipgroup_split_irreg,GA_IPGROUP_SPLIT_IRREG)
#define ga_spgroup_split_irreg_ F77_FUNC_(ga_spgroup_split_irreg,GA_SPGROUP_SPLIT_IRREG)
#define ga_zpgroup_split_irreg_ F77_FUNC_(ga_zpgroup_split_irreg,GA_ZPGROUP_SPLIT_IRREG)
#define nga_pgroup_split_irreg_  F77_FUNC_(nga_pgroup_split_irreg, NGA_PGROUP_SPLIT_IRREG)
#define nga_cpgroup_split_irreg_ F77_FUNC_(nga_cpgroup_split_irreg,NGA_CPGROUP_SPLIT_IRREG)
#define nga_dpgroup_split_irreg_ F77_FUNC_(nga_dpgroup_split_irreg,NGA_DPGROUP_SPLIT_IRREG)
#define nga_ipgroup_split_irreg_ F77_FUNC_(nga_ipgroup_split_irreg,NGA_IPGROUP_SPLIT_IRREG)
#define nga_spgroup_split_irreg_ F77_FUNC_(nga_spgroup_split_irreg,NGA_SPGROUP_SPLIT_IRREG)
#define nga_zpgroup_split_irreg_ F77_FUNC_(nga_zpgroup_split_irreg,NGA_ZPGROUP_SPLIT_IRREG)
#define ga_pgroup_nnodes_  F77_FUNC_(ga_pgroup_nnodes, GA_PGROUP_NNODES)
#define ga_cpgroup_nnodes_ F77_FUNC_(ga_cpgroup_nnodes,GA_CPGROUP_NNODES)
#define ga_dpgroup_nnodes_ F77_FUNC_(ga_dpgroup_nnodes,GA_DPGROUP_NNODES)
#define ga_ipgroup_nnodes_ F77_FUNC_(ga_ipgroup_nnodes,GA_IPGROUP_NNODES)
#define ga_spgroup_nnodes_ F77_FUNC_(ga_spgroup_nnodes,GA_SPGROUP_NNODES)
#define ga_zpgroup_nnodes_ F77_FUNC_(ga_zpgroup_nnodes,GA_ZPGROUP_NNODES)
#define nga_pgroup_nnodes_  F77_FUNC_(nga_pgroup_nnodes, NGA_PGROUP_NNODES)
#define nga_cpgroup_nnodes_ F77_FUNC_(nga_cpgroup_nnodes,NGA_CPGROUP_NNODES)
#define nga_dpgroup_nnodes_ F77_FUNC_(nga_dpgroup_nnodes,NGA_DPGROUP_NNODES)
#define nga_ipgroup_nnodes_ F77_FUNC_(nga_ipgroup_nnodes,NGA_IPGROUP_NNODES)
#define nga_spgroup_nnodes_ F77_FUNC_(nga_spgroup_nnodes,NGA_SPGROUP_NNODES)
#define nga_zpgroup_nnodes_ F77_FUNC_(nga_zpgroup_nnodes,NGA_ZPGROUP_NNODES)
#define ga_pgroup_nodeid_  F77_FUNC_(ga_pgroup_nodeid, GA_PGROUP_NODEID)
#define ga_cpgroup_nodeid_ F77_FUNC_(ga_cpgroup_nodeid,GA_CPGROUP_NODEID)
#define ga_dpgroup_nodeid_ F77_FUNC_(ga_dpgroup_nodeid,GA_DPGROUP_NODEID)
#define ga_ipgroup_nodeid_ F77_FUNC_(ga_ipgroup_nodeid,GA_IPGROUP_NODEID)
#define ga_spgroup_nodeid_ F77_FUNC_(ga_spgroup_nodeid,GA_SPGROUP_NODEID)
#define ga_zpgroup_nodeid_ F77_FUNC_(ga_zpgroup_nodeid,GA_ZPGROUP_NODEID)
#define nga_pgroup_nodeid_  F77_FUNC_(nga_pgroup_nodeid, NGA_PGROUP_NODEID)
#define nga_cpgroup_nodeid_ F77_FUNC_(nga_cpgroup_nodeid,NGA_CPGROUP_NODEID)
#define nga_dpgroup_nodeid_ F77_FUNC_(nga_dpgroup_nodeid,NGA_DPGROUP_NODEID)
#define nga_ipgroup_nodeid_ F77_FUNC_(nga_ipgroup_nodeid,NGA_IPGROUP_NODEID)
#define nga_spgroup_nodeid_ F77_FUNC_(nga_spgroup_nodeid,NGA_SPGROUP_NODEID)
#define nga_zpgroup_nodeid_ F77_FUNC_(nga_zpgroup_nodeid,NGA_ZPGROUP_NODEID)
#define ga_proc_topology_  F77_FUNC_(ga_proc_topology, GA_PROC_TOPOLOGY)
#define ga_cproc_topology_ F77_FUNC_(ga_cproc_topology,GA_CPROC_TOPOLOGY)
#define ga_dproc_topology_ F77_FUNC_(ga_dproc_topology,GA_DPROC_TOPOLOGY)
#define ga_iproc_topology_ F77_FUNC_(ga_iproc_topology,GA_IPROC_TOPOLOGY)
#define ga_sproc_topology_ F77_FUNC_(ga_sproc_topology,GA_SPROC_TOPOLOGY)
#define ga_zproc_topology_ F77_FUNC_(ga_zproc_topology,GA_ZPROC_TOPOLOGY)
#define nga_proc_topology_  F77_FUNC_(nga_proc_topology, NGA_PROC_TOPOLOGY)
#define nga_cproc_topology_ F77_FUNC_(nga_cproc_topology,NGA_CPROC_TOPOLOGY)
#define nga_dproc_topology_ F77_FUNC_(nga_dproc_topology,NGA_DPROC_TOPOLOGY)
#define nga_iproc_topology_ F77_FUNC_(nga_iproc_topology,NGA_IPROC_TOPOLOGY)
#define nga_sproc_topology_ F77_FUNC_(nga_sproc_topology,NGA_SPROC_TOPOLOGY)
#define nga_zproc_topology_ F77_FUNC_(nga_zproc_topology,NGA_ZPROC_TOPOLOGY)
#define ga_randomize_  F77_FUNC_(ga_randomize, GA_RANDOMIZE)
#define ga_crandomize_ F77_FUNC_(ga_crandomize,GA_CRANDOMIZE)
#define ga_drandomize_ F77_FUNC_(ga_drandomize,GA_DRANDOMIZE)
#define ga_irandomize_ F77_FUNC_(ga_irandomize,GA_IRANDOMIZE)
#define ga_srandomize_ F77_FUNC_(ga_srandomize,GA_SRANDOMIZE)
#define ga_zrandomize_ F77_FUNC_(ga_zrandomize,GA_ZRANDOMIZE)
#define nga_randomize_  F77_FUNC_(nga_randomize, NGA_RANDOMIZE)
#define nga_crandomize_ F77_FUNC_(nga_crandomize,NGA_CRANDOMIZE)
#define nga_drandomize_ F77_FUNC_(nga_drandomize,NGA_DRANDOMIZE)
#define nga_irandomize_ F77_FUNC_(nga_irandomize,NGA_IRANDOMIZE)
#define nga_srandomize_ F77_FUNC_(nga_srandomize,NGA_SRANDOMIZE)
#define nga_zrandomize_ F77_FUNC_(nga_zrandomize,NGA_ZRANDOMIZE)
#define ga_get_pgroup_  F77_FUNC_(ga_get_pgroup, GA_GET_PGROUP)
#define ga_cget_pgroup_ F77_FUNC_(ga_cget_pgroup,GA_CGET_PGROUP)
#define ga_dget_pgroup_ F77_FUNC_(ga_dget_pgroup,GA_DGET_PGROUP)
#define ga_iget_pgroup_ F77_FUNC_(ga_iget_pgroup,GA_IGET_PGROUP)
#define ga_sget_pgroup_ F77_FUNC_(ga_sget_pgroup,GA_SGET_PGROUP)
#define ga_zget_pgroup_ F77_FUNC_(ga_zget_pgroup,GA_ZGET_PGROUP)
#define nga_get_pgroup_  F77_FUNC_(nga_get_pgroup, NGA_GET_PGROUP)
#define nga_cget_pgroup_ F77_FUNC_(nga_cget_pgroup,NGA_CGET_PGROUP)
#define nga_dget_pgroup_ F77_FUNC_(nga_dget_pgroup,NGA_DGET_PGROUP)
#define nga_iget_pgroup_ F77_FUNC_(nga_iget_pgroup,NGA_IGET_PGROUP)
#define nga_sget_pgroup_ F77_FUNC_(nga_sget_pgroup,NGA_SGET_PGROUP)
#define nga_zget_pgroup_ F77_FUNC_(nga_zget_pgroup,NGA_ZGET_PGROUP)
#define ga_get_pgroup_size_  F77_FUNC_(ga_get_pgroup_size, GA_GET_PGROUP_SIZE)
#define ga_cget_pgroup_size_ F77_FUNC_(ga_cget_pgroup_size,GA_CGET_PGROUP_SIZE)
#define ga_dget_pgroup_size_ F77_FUNC_(ga_dget_pgroup_size,GA_DGET_PGROUP_SIZE)
#define ga_iget_pgroup_size_ F77_FUNC_(ga_iget_pgroup_size,GA_IGET_PGROUP_SIZE)
#define ga_sget_pgroup_size_ F77_FUNC_(ga_sget_pgroup_size,GA_SGET_PGROUP_SIZE)
#define ga_zget_pgroup_size_ F77_FUNC_(ga_zget_pgroup_size,GA_ZGET_PGROUP_SIZE)
#define nga_get_pgroup_size_  F77_FUNC_(nga_get_pgroup_size, NGA_GET_PGROUP_SIZE)
#define nga_cget_pgroup_size_ F77_FUNC_(nga_cget_pgroup_size,NGA_CGET_PGROUP_SIZE)
#define nga_dget_pgroup_size_ F77_FUNC_(nga_dget_pgroup_size,NGA_DGET_PGROUP_SIZE)
#define nga_iget_pgroup_size_ F77_FUNC_(nga_iget_pgroup_size,NGA_IGET_PGROUP_SIZE)
#define nga_sget_pgroup_size_ F77_FUNC_(nga_sget_pgroup_size,NGA_SGET_PGROUP_SIZE)
#define nga_zget_pgroup_size_ F77_FUNC_(nga_zget_pgroup_size,NGA_ZGET_PGROUP_SIZE)
#define ga_set_array_name_  F77_FUNC_(ga_set_array_name, GA_SET_ARRAY_NAME)
#define ga_cset_array_name_ F77_FUNC_(ga_cset_array_name,GA_CSET_ARRAY_NAME)
#define ga_dset_array_name_ F77_FUNC_(ga_dset_array_name,GA_DSET_ARRAY_NAME)
#define ga_iset_array_name_ F77_FUNC_(ga_iset_array_name,GA_ISET_ARRAY_NAME)
#define ga_sset_array_name_ F77_FUNC_(ga_sset_array_name,GA_SSET_ARRAY_NAME)
#define ga_zset_array_name_ F77_FUNC_(ga_zset_array_name,GA_ZSET_ARRAY_NAME)
#define nga_set_array_name_  F77_FUNC_(nga_set_array_name, NGA_SET_ARRAY_NAME)
#define nga_cset_array_name_ F77_FUNC_(nga_cset_array_name,NGA_CSET_ARRAY_NAME)
#define nga_dset_array_name_ F77_FUNC_(nga_dset_array_name,NGA_DSET_ARRAY_NAME)
#define nga_iset_array_name_ F77_FUNC_(nga_iset_array_name,NGA_ISET_ARRAY_NAME)
#define nga_sset_array_name_ F77_FUNC_(nga_sset_array_name,NGA_SSET_ARRAY_NAME)
#define nga_zset_array_name_ F77_FUNC_(nga_zset_array_name,NGA_ZSET_ARRAY_NAME)
#define ga_get_array_name_  F77_FUNC_(ga_get_array_name, GA_GET_ARRAY_NAME)
#define ga_cget_array_name_ F77_FUNC_(ga_cget_array_name,GA_CGET_ARRAY_NAME)
#define ga_dget_array_name_ F77_FUNC_(ga_dget_array_name,GA_DGET_ARRAY_NAME)
#define ga_iget_array_name_ F77_FUNC_(ga_iget_array_name,GA_IGET_ARRAY_NAME)
#define ga_sget_array_name_ F77_FUNC_(ga_sget_array_name,GA_SGET_ARRAY_NAME)
#define ga_zget_array_name_ F77_FUNC_(ga_zget_array_name,GA_ZGET_ARRAY_NAME)
#define nga_get_array_name_  F77_FUNC_(nga_get_array_name, NGA_GET_ARRAY_NAME)
#define nga_cget_array_name_ F77_FUNC_(nga_cget_array_name,NGA_CGET_ARRAY_NAME)
#define nga_dget_array_name_ F77_FUNC_(nga_dget_array_name,NGA_DGET_ARRAY_NAME)
#define nga_iget_array_name_ F77_FUNC_(nga_iget_array_name,NGA_IGET_ARRAY_NAME)
#define nga_sget_array_name_ F77_FUNC_(nga_sget_array_name,NGA_SGET_ARRAY_NAME)
#define nga_zget_array_name_ F77_FUNC_(nga_zget_array_name,NGA_ZGET_ARRAY_NAME)
#define ga_set_block_cyclic_  F77_FUNC_(ga_set_block_cyclic, GA_SET_BLOCK_CYCLIC)
#define ga_cset_block_cyclic_ F77_FUNC_(ga_cset_block_cyclic,GA_CSET_BLOCK_CYCLIC)
#define ga_dset_block_cyclic_ F77_FUNC_(ga_dset_block_cyclic,GA_DSET_BLOCK_CYCLIC)
#define ga_iset_block_cyclic_ F77_FUNC_(ga_iset_block_cyclic,GA_ISET_BLOCK_CYCLIC)
#define ga_sset_block_cyclic_ F77_FUNC_(ga_sset_block_cyclic,GA_SSET_BLOCK_CYCLIC)
#define ga_zset_block_cyclic_ F77_FUNC_(ga_zset_block_cyclic,GA_ZSET_BLOCK_CYCLIC)
#define nga_set_block_cyclic_  F77_FUNC_(nga_set_block_cyclic, NGA_SET_BLOCK_CYCLIC)
#define nga_cset_block_cyclic_ F77_FUNC_(nga_cset_block_cyclic,NGA_CSET_BLOCK_CYCLIC)
#define nga_dset_block_cyclic_ F77_FUNC_(nga_dset_block_cyclic,NGA_DSET_BLOCK_CYCLIC)
#define nga_iset_block_cyclic_ F77_FUNC_(nga_iset_block_cyclic,NGA_ISET_BLOCK_CYCLIC)
#define nga_sset_block_cyclic_ F77_FUNC_(nga_sset_block_cyclic,NGA_SSET_BLOCK_CYCLIC)
#define nga_zset_block_cyclic_ F77_FUNC_(nga_zset_block_cyclic,NGA_ZSET_BLOCK_CYCLIC)
#define ga_set_block_cyclic_proc_grid_  F77_FUNC_(ga_set_block_cyclic_proc_grid, GA_SET_BLOCK_CYCLIC_PROC_GRID)
#define ga_cset_block_cyclic_proc_grid_ F77_FUNC_(ga_cset_block_cyclic_proc_grid,GA_CSET_BLOCK_CYCLIC_PROC_GRID)
#define ga_dset_block_cyclic_proc_grid_ F77_FUNC_(ga_dset_block_cyclic_proc_grid,GA_DSET_BLOCK_CYCLIC_PROC_GRID)
#define ga_iset_block_cyclic_proc_grid_ F77_FUNC_(ga_iset_block_cyclic_proc_grid,GA_ISET_BLOCK_CYCLIC_PROC_GRID)
#define ga_sset_block_cyclic_proc_grid_ F77_FUNC_(ga_sset_block_cyclic_proc_grid,GA_SSET_BLOCK_CYCLIC_PROC_GRID)
#define ga_zset_block_cyclic_proc_grid_ F77_FUNC_(ga_zset_block_cyclic_proc_grid,GA_ZSET_BLOCK_CYCLIC_PROC_GRID)
#define nga_set_block_cyclic_proc_grid_  F77_FUNC_(nga_set_block_cyclic_proc_grid, NGA_SET_BLOCK_CYCLIC_PROC_GRID)
#define nga_cset_block_cyclic_proc_grid_ F77_FUNC_(nga_cset_block_cyclic_proc_grid,NGA_CSET_BLOCK_CYCLIC_PROC_GRID)
#define nga_dset_block_cyclic_proc_grid_ F77_FUNC_(nga_dset_block_cyclic_proc_grid,NGA_DSET_BLOCK_CYCLIC_PROC_GRID)
#define nga_iset_block_cyclic_proc_grid_ F77_FUNC_(nga_iset_block_cyclic_proc_grid,NGA_ISET_BLOCK_CYCLIC_PROC_GRID)
#define nga_sset_block_cyclic_proc_grid_ F77_FUNC_(nga_sset_block_cyclic_proc_grid,NGA_SSET_BLOCK_CYCLIC_PROC_GRID)
#define nga_zset_block_cyclic_proc_grid_ F77_FUNC_(nga_zset_block_cyclic_proc_grid,NGA_ZSET_BLOCK_CYCLIC_PROC_GRID)
#define ga_set_tiled_proc_grid_  F77_FUNC_(ga_set_tiled_proc_grid, GA_SET_TILED_PROC_GRID)
#define ga_cset_tiled_proc_grid_ F77_FUNC_(ga_cset_tiled_proc_grid,GA_CSET_TILED_PROC_GRID)
#define ga_dset_tiled_proc_grid_ F77_FUNC_(ga_dset_tiled_proc_grid,GA_DSET_TILED_PROC_GRID)
#define ga_iset_tiled_proc_grid_ F77_FUNC_(ga_iset_tiled_proc_grid,GA_ISET_TILED_PROC_GRID)
#define ga_sset_tiled_proc_grid_ F77_FUNC_(ga_sset_tiled_proc_grid,GA_SSET_TILED_PROC_GRID)
#define ga_zset_tiled_proc_grid_ F77_FUNC_(ga_zset_tiled_proc_grid,GA_ZSET_TILED_PROC_GRID)
#define nga_set_tiled_proc_grid_  F77_FUNC_(nga_set_tiled_proc_grid, NGA_SET_TILED_PROC_GRID)
#define nga_cset_tiled_proc_grid_ F77_FUNC_(nga_cset_tiled_proc_grid,NGA_CSET_TILED_PROC_GRID)
#define nga_dset_tiled_proc_grid_ F77_FUNC_(nga_dset_tiled_proc_grid,NGA_DSET_TILED_PROC_GRID)
#define nga_iset_tiled_proc_grid_ F77_FUNC_(nga_iset_tiled_proc_grid,NGA_ISET_TILED_PROC_GRID)
#define nga_sset_tiled_proc_grid_ F77_FUNC_(nga_sset_tiled_proc_grid,NGA_SSET_TILED_PROC_GRID)
#define nga_zset_tiled_proc_grid_ F77_FUNC_(nga_zset_tiled_proc_grid,NGA_ZSET_TILED_PROC_GRID)
#define ga_set_tiled_irreg_proc_grid_  F77_FUNC_(ga_set_tiled_irreg_proc_grid, GA_SET_TILED_PROC_GRID)
#define ga_cset_tiled_irreg_proc_grid_ F77_FUNC_(ga_cset_tiled_irreg_proc_grid,GA_CSET_TILED_PROC_GRID)
#define ga_dset_tiled_irreg_proc_grid_ F77_FUNC_(ga_dset_tiled_irreg_proc_grid,GA_DSET_TILED_PROC_GRID)
#define ga_iset_tiled_irreg_proc_grid_ F77_FUNC_(ga_iset_tiled_irreg_proc_grid,GA_ISET_TILED_PROC_GRID)
#define ga_sset_tiled_irreg_proc_grid_ F77_FUNC_(ga_sset_tiled_irreg_proc_grid,GA_SSET_TILED_PROC_GRID)
#define ga_zset_tiled_irreg_proc_grid_ F77_FUNC_(ga_zset_tiled_irreg_proc_grid,GA_ZSET_TILED_PROC_GRID)
#define nga_set_tiled_irreg_proc_grid_  F77_FUNC_(nga_set_tiled_irreg_proc_grid, NGA_SET_TILED_PROC_GRID)
#define nga_cset_tiled_irreg_proc_grid_ F77_FUNC_(nga_cset_tiled_irreg_proc_grid,NGA_CSET_TILED_PROC_GRID)
#define nga_dset_tiled_irreg_proc_grid_ F77_FUNC_(nga_dset_tiled_irreg_proc_grid,NGA_DSET_TILED_PROC_GRID)
#define nga_iset_tiled_irreg_proc_grid_ F77_FUNC_(nga_iset_tiled_irreg_proc_grid,NGA_ISET_TILED_PROC_GRID)
#define nga_sset_tiled_irreg_proc_grid_ F77_FUNC_(nga_sset_tiled_irreg_proc_grid,NGA_SSET_TILED_PROC_GRID)
#define nga_zset_tiled_irreg_proc_grid_ F77_FUNC_(nga_zset_tiled_irreg_proc_grid,NGA_ZSET_TILED_PROC_GRID)
#define ga_set_chunk_  F77_FUNC_(ga_set_chunk, GA_SET_CHUNK)
#define ga_cset_chunk_ F77_FUNC_(ga_cset_chunk,GA_CSET_CHUNK)
#define ga_dset_chunk_ F77_FUNC_(ga_dset_chunk,GA_DSET_CHUNK)
#define ga_iset_chunk_ F77_FUNC_(ga_iset_chunk,GA_ISET_CHUNK)
#define ga_sset_chunk_ F77_FUNC_(ga_sset_chunk,GA_SSET_CHUNK)
#define ga_zset_chunk_ F77_FUNC_(ga_zset_chunk,GA_ZSET_CHUNK)
#define nga_set_chunk_  F77_FUNC_(nga_set_chunk, NGA_SET_CHUNK)
#define nga_cset_chunk_ F77_FUNC_(nga_cset_chunk,NGA_CSET_CHUNK)
#define nga_dset_chunk_ F77_FUNC_(nga_dset_chunk,NGA_DSET_CHUNK)
#define nga_iset_chunk_ F77_FUNC_(nga_iset_chunk,NGA_ISET_CHUNK)
#define nga_sset_chunk_ F77_FUNC_(nga_sset_chunk,NGA_SSET_CHUNK)
#define nga_zset_chunk_ F77_FUNC_(nga_zset_chunk,NGA_ZSET_CHUNK)
#define ga_set_data_  F77_FUNC_(ga_set_data, GA_SET_DATA)
#define ga_cset_data_ F77_FUNC_(ga_cset_data,GA_CSET_DATA)
#define ga_dset_data_ F77_FUNC_(ga_dset_data,GA_DSET_DATA)
#define ga_iset_data_ F77_FUNC_(ga_iset_data,GA_ISET_DATA)
#define ga_sset_data_ F77_FUNC_(ga_sset_data,GA_SSET_DATA)
#define ga_zset_data_ F77_FUNC_(ga_zset_data,GA_ZSET_DATA)
#define nga_set_data_  F77_FUNC_(nga_set_data, NGA_SET_DATA)
#define nga_cset_data_ F77_FUNC_(nga_cset_data,NGA_CSET_DATA)
#define nga_dset_data_ F77_FUNC_(nga_dset_data,NGA_DSET_DATA)
#define nga_iset_data_ F77_FUNC_(nga_iset_data,NGA_ISET_DATA)
#define nga_sset_data_ F77_FUNC_(nga_sset_data,NGA_SSET_DATA)
#define nga_zset_data_ F77_FUNC_(nga_zset_data,NGA_ZSET_DATA)
#define ga_set_debug_  F77_FUNC_(ga_set_debug, GA_SET_DEBUG)
#define ga_cset_debug_ F77_FUNC_(ga_cset_debug,GA_CSET_DEBUG)
#define ga_dset_debug_ F77_FUNC_(ga_dset_debug,GA_DSET_DEBUG)
#define ga_iset_debug_ F77_FUNC_(ga_iset_debug,GA_ISET_DEBUG)
#define ga_sset_debug_ F77_FUNC_(ga_sset_debug,GA_SSET_DEBUG)
#define ga_zset_debug_ F77_FUNC_(ga_zset_debug,GA_ZSET_DEBUG)
#define nga_set_debug_  F77_FUNC_(nga_set_debug, NGA_SET_DEBUG)
#define nga_cset_debug_ F77_FUNC_(nga_cset_debug,NGA_CSET_DEBUG)
#define nga_dset_debug_ F77_FUNC_(nga_dset_debug,NGA_DSET_DEBUG)
#define nga_iset_debug_ F77_FUNC_(nga_iset_debug,NGA_ISET_DEBUG)
#define nga_sset_debug_ F77_FUNC_(nga_sset_debug,NGA_SSET_DEBUG)
#define nga_zset_debug_ F77_FUNC_(nga_zset_debug,NGA_ZSET_DEBUG)
#define ga_set_ghosts_  F77_FUNC_(ga_set_ghosts, GA_SET_GHOSTS)
#define ga_cset_ghosts_ F77_FUNC_(ga_cset_ghosts,GA_CSET_GHOSTS)
#define ga_dset_ghosts_ F77_FUNC_(ga_dset_ghosts,GA_DSET_GHOSTS)
#define ga_iset_ghosts_ F77_FUNC_(ga_iset_ghosts,GA_ISET_GHOSTS)
#define ga_sset_ghosts_ F77_FUNC_(ga_sset_ghosts,GA_SSET_GHOSTS)
#define ga_zset_ghosts_ F77_FUNC_(ga_zset_ghosts,GA_ZSET_GHOSTS)
#define nga_set_ghosts_  F77_FUNC_(nga_set_ghosts, NGA_SET_GHOSTS)
#define nga_cset_ghosts_ F77_FUNC_(nga_cset_ghosts,NGA_CSET_GHOSTS)
#define nga_dset_ghosts_ F77_FUNC_(nga_dset_ghosts,NGA_DSET_GHOSTS)
#define nga_iset_ghosts_ F77_FUNC_(nga_iset_ghosts,NGA_ISET_GHOSTS)
#define nga_sset_ghosts_ F77_FUNC_(nga_sset_ghosts,NGA_SSET_GHOSTS)
#define nga_zset_ghosts_ F77_FUNC_(nga_zset_ghosts,NGA_ZSET_GHOSTS)
#define ga_set_irreg_distr_  F77_FUNC_(ga_set_irreg_distr, GA_SET_IRREG_DISTR)
#define ga_cset_irreg_distr_ F77_FUNC_(ga_cset_irreg_distr,GA_CSET_IRREG_DISTR)
#define ga_dset_irreg_distr_ F77_FUNC_(ga_dset_irreg_distr,GA_DSET_IRREG_DISTR)
#define ga_iset_irreg_distr_ F77_FUNC_(ga_iset_irreg_distr,GA_ISET_IRREG_DISTR)
#define ga_sset_irreg_distr_ F77_FUNC_(ga_sset_irreg_distr,GA_SSET_IRREG_DISTR)
#define ga_zset_irreg_distr_ F77_FUNC_(ga_zset_irreg_distr,GA_ZSET_IRREG_DISTR)
#define nga_set_irreg_distr_  F77_FUNC_(nga_set_irreg_distr, NGA_SET_IRREG_DISTR)
#define nga_cset_irreg_distr_ F77_FUNC_(nga_cset_irreg_distr,NGA_CSET_IRREG_DISTR)
#define nga_dset_irreg_distr_ F77_FUNC_(nga_dset_irreg_distr,NGA_DSET_IRREG_DISTR)
#define nga_iset_irreg_distr_ F77_FUNC_(nga_iset_irreg_distr,NGA_ISET_IRREG_DISTR)
#define nga_sset_irreg_distr_ F77_FUNC_(nga_sset_irreg_distr,NGA_SSET_IRREG_DISTR)
#define nga_zset_irreg_distr_ F77_FUNC_(nga_zset_irreg_distr,NGA_ZSET_IRREG_DISTR)
#define ga_set_irreg_flag_  F77_FUNC_(ga_set_irreg_flag, GA_SET_IRREG_FLAG)
#define ga_cset_irreg_flag_ F77_FUNC_(ga_cset_irreg_flag,GA_CSET_IRREG_FLAG)
#define ga_dset_irreg_flag_ F77_FUNC_(ga_dset_irreg_flag,GA_DSET_IRREG_FLAG)
#define ga_iset_irreg_flag_ F77_FUNC_(ga_iset_irreg_flag,GA_ISET_IRREG_FLAG)
#define ga_sset_irreg_flag_ F77_FUNC_(ga_sset_irreg_flag,GA_SSET_IRREG_FLAG)
#define ga_zset_irreg_flag_ F77_FUNC_(ga_zset_irreg_flag,GA_ZSET_IRREG_FLAG)
#define nga_set_irreg_flag_  F77_FUNC_(nga_set_irreg_flag, NGA_SET_IRREG_FLAG)
#define nga_cset_irreg_flag_ F77_FUNC_(nga_cset_irreg_flag,NGA_CSET_IRREG_FLAG)
#define nga_dset_irreg_flag_ F77_FUNC_(nga_dset_irreg_flag,NGA_DSET_IRREG_FLAG)
#define nga_iset_irreg_flag_ F77_FUNC_(nga_iset_irreg_flag,NGA_ISET_IRREG_FLAG)
#define nga_sset_irreg_flag_ F77_FUNC_(nga_sset_irreg_flag,NGA_SSET_IRREG_FLAG)
#define nga_zset_irreg_flag_ F77_FUNC_(nga_zset_irreg_flag,NGA_ZSET_IRREG_FLAG)
#define ga_set_memory_limit_  F77_FUNC_(ga_set_memory_limit, GA_SET_MEMORY_LIMIT)
#define ga_cset_memory_limit_ F77_FUNC_(ga_cset_memory_limit,GA_CSET_MEMORY_LIMIT)
#define ga_dset_memory_limit_ F77_FUNC_(ga_dset_memory_limit,GA_DSET_MEMORY_LIMIT)
#define ga_iset_memory_limit_ F77_FUNC_(ga_iset_memory_limit,GA_ISET_MEMORY_LIMIT)
#define ga_sset_memory_limit_ F77_FUNC_(ga_sset_memory_limit,GA_SSET_MEMORY_LIMIT)
#define ga_zset_memory_limit_ F77_FUNC_(ga_zset_memory_limit,GA_ZSET_MEMORY_LIMIT)
#define nga_set_memory_limit_  F77_FUNC_(nga_set_memory_limit, NGA_SET_MEMORY_LIMIT)
#define nga_cset_memory_limit_ F77_FUNC_(nga_cset_memory_limit,NGA_CSET_MEMORY_LIMIT)
#define nga_dset_memory_limit_ F77_FUNC_(nga_dset_memory_limit,NGA_DSET_MEMORY_LIMIT)
#define nga_iset_memory_limit_ F77_FUNC_(nga_iset_memory_limit,NGA_ISET_MEMORY_LIMIT)
#define nga_sset_memory_limit_ F77_FUNC_(nga_sset_memory_limit,NGA_SSET_MEMORY_LIMIT)
#define nga_zset_memory_limit_ F77_FUNC_(nga_zset_memory_limit,NGA_ZSET_MEMORY_LIMIT)
#define ga_set_pgroup_  F77_FUNC_(ga_set_pgroup, GA_SET_PGROUP)
#define ga_cset_pgroup_ F77_FUNC_(ga_cset_pgroup,GA_CSET_PGROUP)
#define ga_dset_pgroup_ F77_FUNC_(ga_dset_pgroup,GA_DSET_PGROUP)
#define ga_iset_pgroup_ F77_FUNC_(ga_iset_pgroup,GA_ISET_PGROUP)
#define ga_sset_pgroup_ F77_FUNC_(ga_sset_pgroup,GA_SSET_PGROUP)
#define ga_zset_pgroup_ F77_FUNC_(ga_zset_pgroup,GA_ZSET_PGROUP)
#define nga_set_pgroup_  F77_FUNC_(nga_set_pgroup, NGA_SET_PGROUP)
#define nga_cset_pgroup_ F77_FUNC_(nga_cset_pgroup,NGA_CSET_PGROUP)
#define nga_dset_pgroup_ F77_FUNC_(nga_dset_pgroup,NGA_DSET_PGROUP)
#define nga_iset_pgroup_ F77_FUNC_(nga_iset_pgroup,NGA_ISET_PGROUP)
#define nga_sset_pgroup_ F77_FUNC_(nga_sset_pgroup,NGA_SSET_PGROUP)
#define nga_zset_pgroup_ F77_FUNC_(nga_zset_pgroup,NGA_ZSET_PGROUP)
#define ga_set_restricted_  F77_FUNC_(ga_set_restricted, GA_SET_RESTRICTED)
#define ga_cset_restricted_ F77_FUNC_(ga_cset_restricted,GA_CSET_RESTRICTED)
#define ga_dset_restricted_ F77_FUNC_(ga_dset_restricted,GA_DSET_RESTRICTED)
#define ga_iset_restricted_ F77_FUNC_(ga_iset_restricted,GA_ISET_RESTRICTED)
#define ga_sset_restricted_ F77_FUNC_(ga_sset_restricted,GA_SSET_RESTRICTED)
#define ga_zset_restricted_ F77_FUNC_(ga_zset_restricted,GA_ZSET_RESTRICTED)
#define nga_set_restricted_  F77_FUNC_(nga_set_restricted, NGA_SET_RESTRICTED)
#define nga_cset_restricted_ F77_FUNC_(nga_cset_restricted,NGA_CSET_RESTRICTED)
#define nga_dset_restricted_ F77_FUNC_(nga_dset_restricted,NGA_DSET_RESTRICTED)
#define nga_iset_restricted_ F77_FUNC_(nga_iset_restricted,NGA_ISET_RESTRICTED)
#define nga_sset_restricted_ F77_FUNC_(nga_sset_restricted,NGA_SSET_RESTRICTED)
#define nga_zset_restricted_ F77_FUNC_(nga_zset_restricted,NGA_ZSET_RESTRICTED)
#define ga_set_restricted_range_  F77_FUNC_(ga_set_restricted_range, GA_SET_RESTRICTED_RANGE)
#define ga_cset_restricted_range_ F77_FUNC_(ga_cset_restricted_range,GA_CSET_RESTRICTED_RANGE)
#define ga_dset_restricted_range_ F77_FUNC_(ga_dset_restricted_range,GA_DSET_RESTRICTED_RANGE)
#define ga_iset_restricted_range_ F77_FUNC_(ga_iset_restricted_range,GA_ISET_RESTRICTED_RANGE)
#define ga_sset_restricted_range_ F77_FUNC_(ga_sset_restricted_range,GA_SSET_RESTRICTED_RANGE)
#define ga_zset_restricted_range_ F77_FUNC_(ga_zset_restricted_range,GA_ZSET_RESTRICTED_RANGE)
#define nga_set_restricted_range_  F77_FUNC_(nga_set_restricted_range, NGA_SET_RESTRICTED_RANGE)
#define nga_cset_restricted_range_ F77_FUNC_(nga_cset_restricted_range,NGA_CSET_RESTRICTED_RANGE)
#define nga_dset_restricted_range_ F77_FUNC_(nga_dset_restricted_range,NGA_DSET_RESTRICTED_RANGE)
#define nga_iset_restricted_range_ F77_FUNC_(nga_iset_restricted_range,NGA_ISET_RESTRICTED_RANGE)
#define nga_sset_restricted_range_ F77_FUNC_(nga_sset_restricted_range,NGA_SSET_RESTRICTED_RANGE)
#define nga_zset_restricted_range_ F77_FUNC_(nga_zset_restricted_range,NGA_ZSET_RESTRICTED_RANGE)
#define ga_set_property_  F77_FUNC_(ga_set_property, GA_SET_PROPERTY)
#define ga_cset_property_  F77_FUNC_(ga_cset_property, GA_CSET_PROPERTY)
#define ga_dset_property_  F77_FUNC_(ga_dset_property, GA_DSET_PROPERTY)
#define ga_iset_property_  F77_FUNC_(ga_iset_property, GA_ISET_PROPERTY)
#define ga_sset_property_  F77_FUNC_(ga_sset_property, GA_SSET_PROPERTY)
#define ga_zset_property_  F77_FUNC_(ga_zset_property, GA_ZSET_PROPERTY)
#define nga_set_property_  F77_FUNC_(nga_set_property, NGA_SET_PROPERTY)
#define nga_cset_property_  F77_FUNC_(nga_cset_property, NGA_CSET_PROPERTY)
#define nga_dset_property_  F77_FUNC_(nga_dset_property, NGA_DSET_PROPERTY)
#define nga_iset_property_  F77_FUNC_(nga_iset_property, NGA_ISET_PROPERTY)
#define nga_sset_property_  F77_FUNC_(nga_sset_property, NGA_SSET_PROPERTY)
#define nga_zset_property_  F77_FUNC_(nga_zset_property, NGA_ZSET_PROPERTY)
#define ga_unset_property_  F77_FUNC_(ga_unset_property, GA_UNSET_PROPERTY)
#define ga_cunset_property_  F77_FUNC_(ga_cunset_property, GA_CUNSET_PROPERTY)
#define ga_dunset_property_  F77_FUNC_(ga_dunset_property, GA_DUNSET_PROPERTY)
#define ga_iunset_property_  F77_FUNC_(ga_iunset_property, GA_IUNSET_PROPERTY)
#define ga_sunset_property_  F77_FUNC_(ga_sunset_property, GA_SUNSET_PROPERTY)
#define ga_zunset_property_  F77_FUNC_(ga_zunset_property, GA_ZUNSET_PROPERTY)
#define nga_unset_property_  F77_FUNC_(nga_unset_property, NGA_UNSET_PROPERTY)
#define nga_cunset_property_  F77_FUNC_(nga_cunset_property, NGA_CUNSET_PROPERTY)
#define nga_dunset_property_  F77_FUNC_(nga_dunset_property, NGA_DUNSET_PROPERTY)
#define nga_iunset_property_  F77_FUNC_(nga_iunset_property, NGA_IUNSET_PROPERTY)
#define nga_sunset_property_  F77_FUNC_(nga_sunset_property, NGA_SUNSET_PROPERTY)
#define nga_zunset_property_  F77_FUNC_(nga_zunset_property, NGA_ZUNSET_PROPERTY)
#define ga_set_memory_dev_  F77_FUNC_(ga_set_memory_dev, GA_SET_MEMORY_DEV)
#define ga_cset_memory_dev_  F77_FUNC_(ga_cset_memory_dev, GA_CSET_MEMORY_DEV)
#define ga_dset_memory_dev_  F77_FUNC_(ga_dset_memory_dev, GA_DSET_MEMORY_DEV)
#define ga_iset_memory_dev_  F77_FUNC_(ga_iset_memory_dev, GA_ISET_MEMORY_DEV)
#define ga_sset_memory_dev_  F77_FUNC_(ga_sset_memory_dev, GA_SSET_MEMORY_DEV)
#define ga_zset_memory_dev_  F77_FUNC_(ga_zset_memory_dev, GA_ZSET_MEMORY_DEV)
#define nga_set_memory_dev_  F77_FUNC_(nga_set_memory_dev, NGA_SET_MEMORY_DEV)
#define nga_cset_memory_dev_  F77_FUNC_(nga_cset_memory_dev, NGA_CSET_MEMORY_DEV)
#define nga_dset_memory_dev_  F77_FUNC_(nga_dset_memory_dev, NGA_DSET_MEMORY_DEV)
#define nga_iset_memory_dev_  F77_FUNC_(nga_iset_memory_dev, NGA_ISET_MEMORY_DEV)
#define nga_sset_memory_dev_  F77_FUNC_(nga_sset_memory_dev, NGA_SSET_MEMORY_DEV)
#define nga_zset_memory_dev_  F77_FUNC_(nga_zset_memory_dev, NGA_ZSET_MEMORY_DEV)
#define ga_terminate_  F77_FUNC_(ga_terminate, GA_TERMINATE)
#define ga_cterminate_ F77_FUNC_(ga_cterminate,GA_CTERMINATE)
#define ga_dterminate_ F77_FUNC_(ga_dterminate,GA_DTERMINATE)
#define ga_iterminate_ F77_FUNC_(ga_iterminate,GA_ITERMINATE)
#define ga_sterminate_ F77_FUNC_(ga_sterminate,GA_STERMINATE)
#define ga_zterminate_ F77_FUNC_(ga_zterminate,GA_ZTERMINATE)
#define nga_terminate_  F77_FUNC_(nga_terminate, NGA_TERMINATE)
#define nga_cterminate_ F77_FUNC_(nga_cterminate,NGA_CTERMINATE)
#define nga_dterminate_ F77_FUNC_(nga_dterminate,NGA_DTERMINATE)
#define nga_iterminate_ F77_FUNC_(nga_iterminate,NGA_ITERMINATE)
#define nga_sterminate_ F77_FUNC_(nga_sterminate,NGA_STERMINATE)
#define nga_zterminate_ F77_FUNC_(nga_zterminate,NGA_ZTERMINATE)
#define ga_total_blocks_  F77_FUNC_(ga_total_blocks, GA_TOTAL_BLOCKS)
#define ga_ctotal_blocks_ F77_FUNC_(ga_ctotal_blocks,GA_CTOTAL_BLOCKS)
#define ga_dtotal_blocks_ F77_FUNC_(ga_dtotal_blocks,GA_DTOTAL_BLOCKS)
#define ga_itotal_blocks_ F77_FUNC_(ga_itotal_blocks,GA_ITOTAL_BLOCKS)
#define ga_stotal_blocks_ F77_FUNC_(ga_stotal_blocks,GA_STOTAL_BLOCKS)
#define ga_ztotal_blocks_ F77_FUNC_(ga_ztotal_blocks,GA_ZTOTAL_BLOCKS)
#define nga_total_blocks_  F77_FUNC_(nga_total_blocks, NGA_TOTAL_BLOCKS)
#define nga_ctotal_blocks_ F77_FUNC_(nga_ctotal_blocks,NGA_CTOTAL_BLOCKS)
#define nga_dtotal_blocks_ F77_FUNC_(nga_dtotal_blocks,NGA_DTOTAL_BLOCKS)
#define nga_itotal_blocks_ F77_FUNC_(nga_itotal_blocks,NGA_ITOTAL_BLOCKS)
#define nga_stotal_blocks_ F77_FUNC_(nga_stotal_blocks,NGA_STOTAL_BLOCKS)
#define nga_ztotal_blocks_ F77_FUNC_(nga_ztotal_blocks,NGA_ZTOTAL_BLOCKS)
#define ga_unlock_  F77_FUNC_(ga_unlock, GA_UNLOCK)
#define ga_cunlock_ F77_FUNC_(ga_cunlock,GA_CUNLOCK)
#define ga_dunlock_ F77_FUNC_(ga_dunlock,GA_DUNLOCK)
#define ga_iunlock_ F77_FUNC_(ga_iunlock,GA_IUNLOCK)
#define ga_sunlock_ F77_FUNC_(ga_sunlock,GA_SUNLOCK)
#define ga_zunlock_ F77_FUNC_(ga_zunlock,GA_ZUNLOCK)
#define nga_unlock_  F77_FUNC_(nga_unlock, NGA_UNLOCK)
#define nga_cunlock_ F77_FUNC_(nga_cunlock,NGA_CUNLOCK)
#define nga_dunlock_ F77_FUNC_(nga_dunlock,NGA_DUNLOCK)
#define nga_iunlock_ F77_FUNC_(nga_iunlock,NGA_IUNLOCK)
#define nga_sunlock_ F77_FUNC_(nga_sunlock,NGA_SUNLOCK)
#define nga_zunlock_ F77_FUNC_(nga_zunlock,NGA_ZUNLOCK)
#define ga_uses_ma_  F77_FUNC_(ga_uses_ma, GA_USES_MA)
#define ga_cuses_ma_ F77_FUNC_(ga_cuses_ma,GA_CUSES_MA)
#define ga_duses_ma_ F77_FUNC_(ga_duses_ma,GA_DUSES_MA)
#define ga_iuses_ma_ F77_FUNC_(ga_iuses_ma,GA_IUSES_MA)
#define ga_suses_ma_ F77_FUNC_(ga_suses_ma,GA_SUSES_MA)
#define ga_zuses_ma_ F77_FUNC_(ga_zuses_ma,GA_ZUSES_MA)
#define nga_uses_ma_  F77_FUNC_(nga_uses_ma, NGA_USES_MA)
#define nga_cuses_ma_ F77_FUNC_(nga_cuses_ma,NGA_CUSES_MA)
#define nga_duses_ma_ F77_FUNC_(nga_duses_ma,NGA_DUSES_MA)
#define nga_iuses_ma_ F77_FUNC_(nga_iuses_ma,NGA_IUSES_MA)
#define nga_suses_ma_ F77_FUNC_(nga_suses_ma,NGA_SUSES_MA)
#define nga_zuses_ma_ F77_FUNC_(nga_zuses_ma,NGA_ZUSES_MA)
#define ga_uses_proc_grid_  F77_FUNC_(ga_uses_proc_grid, GA_USES_PROC_GRID)
#define ga_cuses_proc_grid_ F77_FUNC_(ga_cuses_proc_grid,GA_CUSES_PROC_GRID)
#define ga_duses_proc_grid_ F77_FUNC_(ga_duses_proc_grid,GA_DUSES_PROC_GRID)
#define ga_iuses_proc_grid_ F77_FUNC_(ga_iuses_proc_grid,GA_IUSES_PROC_GRID)
#define ga_suses_proc_grid_ F77_FUNC_(ga_suses_proc_grid,GA_SUSES_PROC_GRID)
#define ga_zuses_proc_grid_ F77_FUNC_(ga_zuses_proc_grid,GA_ZUSES_PROC_GRID)
#define nga_uses_proc_grid_  F77_FUNC_(nga_uses_proc_grid, NGA_USES_PROC_GRID)
#define nga_cuses_proc_grid_ F77_FUNC_(nga_cuses_proc_grid,NGA_CUSES_PROC_GRID)
#define nga_duses_proc_grid_ F77_FUNC_(nga_duses_proc_grid,NGA_DUSES_PROC_GRID)
#define nga_iuses_proc_grid_ F77_FUNC_(nga_iuses_proc_grid,NGA_IUSES_PROC_GRID)
#define nga_suses_proc_grid_ F77_FUNC_(nga_suses_proc_grid,NGA_SUSES_PROC_GRID)
#define nga_zuses_proc_grid_ F77_FUNC_(nga_zuses_proc_grid,NGA_ZUSES_PROC_GRID)
#define ga_valid_handle_  F77_FUNC_(ga_valid_handle, GA_VALID_HANDLE)
#define ga_cvalid_handle_ F77_FUNC_(ga_cvalid_handle,GA_CVALID_HANDLE)
#define ga_dvalid_handle_ F77_FUNC_(ga_dvalid_handle,GA_DVALID_HANDLE)
#define ga_ivalid_handle_ F77_FUNC_(ga_ivalid_handle,GA_IVALID_HANDLE)
#define ga_svalid_handle_ F77_FUNC_(ga_svalid_handle,GA_SVALID_HANDLE)
#define ga_zvalid_handle_ F77_FUNC_(ga_zvalid_handle,GA_ZVALID_HANDLE)
#define nga_valid_handle_  F77_FUNC_(nga_valid_handle, NGA_VALID_HANDLE)
#define nga_cvalid_handle_ F77_FUNC_(nga_cvalid_handle,NGA_CVALID_HANDLE)
#define nga_dvalid_handle_ F77_FUNC_(nga_dvalid_handle,NGA_DVALID_HANDLE)
#define nga_ivalid_handle_ F77_FUNC_(nga_ivalid_handle,NGA_IVALID_HANDLE)
#define nga_svalid_handle_ F77_FUNC_(nga_svalid_handle,NGA_SVALID_HANDLE)
#define nga_zvalid_handle_ F77_FUNC_(nga_zvalid_handle,NGA_ZVALID_HANDLE)
#define ga_verify_handle_  F77_FUNC_(ga_verify_handle, GA_VERIFY_HANDLE)
#define ga_cverify_handle_ F77_FUNC_(ga_cverify_handle,GA_CVERIFY_HANDLE)
#define ga_dverify_handle_ F77_FUNC_(ga_dverify_handle,GA_DVERIFY_HANDLE)
#define ga_iverify_handle_ F77_FUNC_(ga_iverify_handle,GA_IVERIFY_HANDLE)
#define ga_sverify_handle_ F77_FUNC_(ga_sverify_handle,GA_SVERIFY_HANDLE)
#define ga_zverify_handle_ F77_FUNC_(ga_zverify_handle,GA_ZVERIFY_HANDLE)
#define nga_verify_handle_  F77_FUNC_(nga_verify_handle, NGA_VERIFY_HANDLE)
#define nga_cverify_handle_ F77_FUNC_(nga_cverify_handle,NGA_CVERIFY_HANDLE)
#define nga_dverify_handle_ F77_FUNC_(nga_dverify_handle,NGA_DVERIFY_HANDLE)
#define nga_iverify_handle_ F77_FUNC_(nga_iverify_handle,NGA_IVERIFY_HANDLE)
#define nga_sverify_handle_ F77_FUNC_(nga_sverify_handle,NGA_SVERIFY_HANDLE)
#define nga_zverify_handle_ F77_FUNC_(nga_zverify_handle,NGA_ZVERIFY_HANDLE)
#define ga_check_handle_  F77_FUNC_(ga_check_handle, GA_CHECK_HANDLE)
#define ga_ccheck_handle_ F77_FUNC_(ga_ccheck_handle,GA_CCHECK_HANDLE)
#define ga_dcheck_handle_ F77_FUNC_(ga_dcheck_handle,GA_DCHECK_HANDLE)
#define ga_icheck_handle_ F77_FUNC_(ga_icheck_handle,GA_ICHECK_HANDLE)
#define ga_scheck_handle_ F77_FUNC_(ga_scheck_handle,GA_SCHECK_HANDLE)
#define ga_zcheck_handle_ F77_FUNC_(ga_zcheck_handle,GA_ZCHECK_HANDLE)
#define nga_check_handle_  F77_FUNC_(nga_check_handle, NGA_CHECK_HANDLE)
#define nga_ccheck_handle_ F77_FUNC_(nga_ccheck_handle,NGA_CCHECK_HANDLE)
#define nga_dcheck_handle_ F77_FUNC_(nga_dcheck_handle,NGA_DCHECK_HANDLE)
#define nga_icheck_handle_ F77_FUNC_(nga_icheck_handle,NGA_ICHECK_HANDLE)
#define nga_scheck_handle_ F77_FUNC_(nga_scheck_handle,NGA_SCHECK_HANDLE)
#define nga_zcheck_handle_ F77_FUNC_(nga_zcheck_handle,NGA_ZCHECK_HANDLE)
#define ga_acc_  F77_FUNC_(ga_acc, GA_ACC)
#define ga_cacc_ F77_FUNC_(ga_cacc,GA_CACC)
#define ga_dacc_ F77_FUNC_(ga_dacc,GA_DACC)
#define ga_iacc_ F77_FUNC_(ga_iacc,GA_IACC)
#define ga_sacc_ F77_FUNC_(ga_sacc,GA_SACC)
#define ga_zacc_ F77_FUNC_(ga_zacc,GA_ZACC)
#define nga_acc_  F77_FUNC_(nga_acc, NGA_ACC)
#define nga_cacc_ F77_FUNC_(nga_cacc,NGA_CACC)
#define nga_dacc_ F77_FUNC_(nga_dacc,NGA_DACC)
#define nga_iacc_ F77_FUNC_(nga_iacc,NGA_IACC)
#define nga_sacc_ F77_FUNC_(nga_sacc,NGA_SACC)
#define nga_zacc_ F77_FUNC_(nga_zacc,NGA_ZACC)
#define ga_access_idx_  F77_FUNC_(ga_access_idx, GA_ACCESS_IDX)
#define ga_caccess_idx_ F77_FUNC_(ga_caccess_idx,GA_CACCESS_IDX)
#define ga_daccess_idx_ F77_FUNC_(ga_daccess_idx,GA_DACCESS_IDX)
#define ga_iaccess_idx_ F77_FUNC_(ga_iaccess_idx,GA_IACCESS_IDX)
#define ga_saccess_idx_ F77_FUNC_(ga_saccess_idx,GA_SACCESS_IDX)
#define ga_zaccess_idx_ F77_FUNC_(ga_zaccess_idx,GA_ZACCESS_IDX)
#define nga_access_idx_  F77_FUNC_(nga_access_idx, NGA_ACCESS_IDX)
#define nga_caccess_idx_ F77_FUNC_(nga_caccess_idx,NGA_CACCESS_IDX)
#define nga_daccess_idx_ F77_FUNC_(nga_daccess_idx,NGA_DACCESS_IDX)
#define nga_iaccess_idx_ F77_FUNC_(nga_iaccess_idx,NGA_IACCESS_IDX)
#define nga_saccess_idx_ F77_FUNC_(nga_saccess_idx,NGA_SACCESS_IDX)
#define nga_zaccess_idx_ F77_FUNC_(nga_zaccess_idx,NGA_ZACCESS_IDX)
#define ga_access_ptr_  F77_FUNC_(ga_access_ptr, GA_ACCESS_PTR)
#define ga_caccess_ptr_ F77_FUNC_(ga_caccess_ptr,GA_CACCESS_PTR)
#define ga_daccess_ptr_ F77_FUNC_(ga_daccess_ptr,GA_DACCESS_PTR)
#define ga_iaccess_ptr_ F77_FUNC_(ga_iaccess_ptr,GA_IACCESS_PTR)
#define ga_saccess_ptr_ F77_FUNC_(ga_saccess_ptr,GA_SACCESS_PTR)
#define ga_zaccess_ptr_ F77_FUNC_(ga_zaccess_ptr,GA_ZACCESS_PTR)
#define nga_access_ptr_  F77_FUNC_(nga_access_ptr, NGA_ACCESS_PTR)
#define nga_caccess_ptr_ F77_FUNC_(nga_caccess_ptr,NGA_CACCESS_PTR)
#define nga_daccess_ptr_ F77_FUNC_(nga_daccess_ptr,NGA_DACCESS_PTR)
#define nga_iaccess_ptr_ F77_FUNC_(nga_iaccess_ptr,NGA_IACCESS_PTR)
#define nga_saccess_ptr_ F77_FUNC_(nga_saccess_ptr,NGA_SACCESS_PTR)
#define nga_zaccess_ptr_ F77_FUNC_(nga_zaccess_ptr,NGA_ZACCESS_PTR)
#define ga_access_block_idx_  F77_FUNC_(ga_access_block_idx, GA_ACCESS_BLOCK_IDX)
#define ga_caccess_block_idx_ F77_FUNC_(ga_caccess_block_idx,GA_CACCESS_BLOCK_IDX)
#define ga_daccess_block_idx_ F77_FUNC_(ga_daccess_block_idx,GA_DACCESS_BLOCK_IDX)
#define ga_iaccess_block_idx_ F77_FUNC_(ga_iaccess_block_idx,GA_IACCESS_BLOCK_IDX)
#define ga_saccess_block_idx_ F77_FUNC_(ga_saccess_block_idx,GA_SACCESS_BLOCK_IDX)
#define ga_zaccess_block_idx_ F77_FUNC_(ga_zaccess_block_idx,GA_ZACCESS_BLOCK_IDX)
#define nga_access_block_idx_  F77_FUNC_(nga_access_block_idx, NGA_ACCESS_BLOCK_IDX)
#define nga_caccess_block_idx_ F77_FUNC_(nga_caccess_block_idx,NGA_CACCESS_BLOCK_IDX)
#define nga_daccess_block_idx_ F77_FUNC_(nga_daccess_block_idx,NGA_DACCESS_BLOCK_IDX)
#define nga_iaccess_block_idx_ F77_FUNC_(nga_iaccess_block_idx,NGA_IACCESS_BLOCK_IDX)
#define nga_saccess_block_idx_ F77_FUNC_(nga_saccess_block_idx,NGA_SACCESS_BLOCK_IDX)
#define nga_zaccess_block_idx_ F77_FUNC_(nga_zaccess_block_idx,NGA_ZACCESS_BLOCK_IDX)
#define ga_access_block_ptr_  F77_FUNC_(ga_access_block_ptr, GA_ACCESS_BLOCK_PTR)
#define ga_caccess_block_ptr_ F77_FUNC_(ga_caccess_block_ptr,GA_CACCESS_BLOCK_PTR)
#define ga_daccess_block_ptr_ F77_FUNC_(ga_daccess_block_ptr,GA_DACCESS_BLOCK_PTR)
#define ga_iaccess_block_ptr_ F77_FUNC_(ga_iaccess_block_ptr,GA_IACCESS_BLOCK_PTR)
#define ga_saccess_block_ptr_ F77_FUNC_(ga_saccess_block_ptr,GA_SACCESS_BLOCK_PTR)
#define ga_zaccess_block_ptr_ F77_FUNC_(ga_zaccess_block_ptr,GA_ZACCESS_BLOCK_PTR)
#define nga_access_block_ptr_  F77_FUNC_(nga_access_block_ptr, NGA_ACCESS_BLOCK_PTR)
#define nga_caccess_block_ptr_ F77_FUNC_(nga_caccess_block_ptr,NGA_CACCESS_BLOCK_PTR)
#define nga_daccess_block_ptr_ F77_FUNC_(nga_daccess_block_ptr,NGA_DACCESS_BLOCK_PTR)
#define nga_iaccess_block_ptr_ F77_FUNC_(nga_iaccess_block_ptr,NGA_IACCESS_BLOCK_PTR)
#define nga_saccess_block_ptr_ F77_FUNC_(nga_saccess_block_ptr,NGA_SACCESS_BLOCK_PTR)
#define nga_zaccess_block_ptr_ F77_FUNC_(nga_zaccess_block_ptr,NGA_ZACCESS_BLOCK_PTR)
#define ga_access_block_grid_idx_  F77_FUNC_(ga_access_block_grid_idx, GA_ACCESS_BLOCK_GRID_IDX)
#define ga_caccess_block_grid_idx_ F77_FUNC_(ga_caccess_block_grid_idx,GA_CACCESS_BLOCK_GRID_IDX)
#define ga_daccess_block_grid_idx_ F77_FUNC_(ga_daccess_block_grid_idx,GA_DACCESS_BLOCK_GRID_IDX)
#define ga_iaccess_block_grid_idx_ F77_FUNC_(ga_iaccess_block_grid_idx,GA_IACCESS_BLOCK_GRID_IDX)
#define ga_saccess_block_grid_idx_ F77_FUNC_(ga_saccess_block_grid_idx,GA_SACCESS_BLOCK_GRID_IDX)
#define ga_zaccess_block_grid_idx_ F77_FUNC_(ga_zaccess_block_grid_idx,GA_ZACCESS_BLOCK_GRID_IDX)
#define nga_access_block_grid_idx_  F77_FUNC_(nga_access_block_grid_idx, NGA_ACCESS_BLOCK_GRID_IDX)
#define nga_caccess_block_grid_idx_ F77_FUNC_(nga_caccess_block_grid_idx,NGA_CACCESS_BLOCK_GRID_IDX)
#define nga_daccess_block_grid_idx_ F77_FUNC_(nga_daccess_block_grid_idx,NGA_DACCESS_BLOCK_GRID_IDX)
#define nga_iaccess_block_grid_idx_ F77_FUNC_(nga_iaccess_block_grid_idx,NGA_IACCESS_BLOCK_GRID_IDX)
#define nga_saccess_block_grid_idx_ F77_FUNC_(nga_saccess_block_grid_idx,NGA_SACCESS_BLOCK_GRID_IDX)
#define nga_zaccess_block_grid_idx_ F77_FUNC_(nga_zaccess_block_grid_idx,NGA_ZACCESS_BLOCK_GRID_IDX)
#define ga_access_block_grid_ptr_  F77_FUNC_(ga_access_block_grid_ptr, GA_ACCESS_BLOCK_GRID_PTR)
#define ga_caccess_block_grid_ptr_ F77_FUNC_(ga_caccess_block_grid_ptr,GA_CACCESS_BLOCK_GRID_PTR)
#define ga_daccess_block_grid_ptr_ F77_FUNC_(ga_daccess_block_grid_ptr,GA_DACCESS_BLOCK_GRID_PTR)
#define ga_iaccess_block_grid_ptr_ F77_FUNC_(ga_iaccess_block_grid_ptr,GA_IACCESS_BLOCK_GRID_PTR)
#define ga_saccess_block_grid_ptr_ F77_FUNC_(ga_saccess_block_grid_ptr,GA_SACCESS_BLOCK_GRID_PTR)
#define ga_zaccess_block_grid_ptr_ F77_FUNC_(ga_zaccess_block_grid_ptr,GA_ZACCESS_BLOCK_GRID_PTR)
#define nga_access_block_grid_ptr_  F77_FUNC_(nga_access_block_grid_ptr, NGA_ACCESS_BLOCK_GRID_PTR)
#define nga_caccess_block_grid_ptr_ F77_FUNC_(nga_caccess_block_grid_ptr,NGA_CACCESS_BLOCK_GRID_PTR)
#define nga_daccess_block_grid_ptr_ F77_FUNC_(nga_daccess_block_grid_ptr,NGA_DACCESS_BLOCK_GRID_PTR)
#define nga_iaccess_block_grid_ptr_ F77_FUNC_(nga_iaccess_block_grid_ptr,NGA_IACCESS_BLOCK_GRID_PTR)
#define nga_saccess_block_grid_ptr_ F77_FUNC_(nga_saccess_block_grid_ptr,NGA_SACCESS_BLOCK_GRID_PTR)
#define nga_zaccess_block_grid_ptr_ F77_FUNC_(nga_zaccess_block_grid_ptr,NGA_ZACCESS_BLOCK_GRID_PTR)
#define ga_access_block_segment_idx_  F77_FUNC_(ga_access_block_segment_idx, GA_ACCESS_BLOCK_SEGMENT_IDX)
#define ga_caccess_block_segment_idx_ F77_FUNC_(ga_caccess_block_segment_idx,GA_CACCESS_BLOCK_SEGMENT_IDX)
#define ga_daccess_block_segment_idx_ F77_FUNC_(ga_daccess_block_segment_idx,GA_DACCESS_BLOCK_SEGMENT_IDX)
#define ga_iaccess_block_segment_idx_ F77_FUNC_(ga_iaccess_block_segment_idx,GA_IACCESS_BLOCK_SEGMENT_IDX)
#define ga_saccess_block_segment_idx_ F77_FUNC_(ga_saccess_block_segment_idx,GA_SACCESS_BLOCK_SEGMENT_IDX)
#define ga_zaccess_block_segment_idx_ F77_FUNC_(ga_zaccess_block_segment_idx,GA_ZACCESS_BLOCK_SEGMENT_IDX)
#define nga_access_block_segment_idx_  F77_FUNC_(nga_access_block_segment_idx, NGA_ACCESS_BLOCK_SEGMENT_IDX)
#define nga_caccess_block_segment_idx_ F77_FUNC_(nga_caccess_block_segment_idx,NGA_CACCESS_BLOCK_SEGMENT_IDX)
#define nga_daccess_block_segment_idx_ F77_FUNC_(nga_daccess_block_segment_idx,NGA_DACCESS_BLOCK_SEGMENT_IDX)
#define nga_iaccess_block_segment_idx_ F77_FUNC_(nga_iaccess_block_segment_idx,NGA_IACCESS_BLOCK_SEGMENT_IDX)
#define nga_saccess_block_segment_idx_ F77_FUNC_(nga_saccess_block_segment_idx,NGA_SACCESS_BLOCK_SEGMENT_IDX)
#define nga_zaccess_block_segment_idx_ F77_FUNC_(nga_zaccess_block_segment_idx,NGA_ZACCESS_BLOCK_SEGMENT_IDX)
#define ga_access_block_segment_ptr_  F77_FUNC_(ga_access_block_segment_ptr, GA_ACCESS_BLOCK_SEGMENT_PTR)
#define ga_caccess_block_segment_ptr_ F77_FUNC_(ga_caccess_block_segment_ptr,GA_CACCESS_BLOCK_SEGMENT_PTR)
#define ga_daccess_block_segment_ptr_ F77_FUNC_(ga_daccess_block_segment_ptr,GA_DACCESS_BLOCK_SEGMENT_PTR)
#define ga_iaccess_block_segment_ptr_ F77_FUNC_(ga_iaccess_block_segment_ptr,GA_IACCESS_BLOCK_SEGMENT_PTR)
#define ga_saccess_block_segment_ptr_ F77_FUNC_(ga_saccess_block_segment_ptr,GA_SACCESS_BLOCK_SEGMENT_PTR)
#define ga_zaccess_block_segment_ptr_ F77_FUNC_(ga_zaccess_block_segment_ptr,GA_ZACCESS_BLOCK_SEGMENT_PTR)
#define nga_access_block_segment_ptr_  F77_FUNC_(nga_access_block_segment_ptr, NGA_ACCESS_BLOCK_SEGMENT_PTR)
#define nga_caccess_block_segment_ptr_ F77_FUNC_(nga_caccess_block_segment_ptr,NGA_CACCESS_BLOCK_SEGMENT_PTR)
#define nga_daccess_block_segment_ptr_ F77_FUNC_(nga_daccess_block_segment_ptr,NGA_DACCESS_BLOCK_SEGMENT_PTR)
#define nga_iaccess_block_segment_ptr_ F77_FUNC_(nga_iaccess_block_segment_ptr,NGA_IACCESS_BLOCK_SEGMENT_PTR)
#define nga_saccess_block_segment_ptr_ F77_FUNC_(nga_saccess_block_segment_ptr,NGA_SACCESS_BLOCK_SEGMENT_PTR)
#define nga_zaccess_block_segment_ptr_ F77_FUNC_(nga_zaccess_block_segment_ptr,NGA_ZACCESS_BLOCK_SEGMENT_PTR)
#define ga_alloc_gatscat_buf_  F77_FUNC_(ga_alloc_gatscat_buf, GA_ALLOC_GATSCAT_BUF)
#define ga_fence_  F77_FUNC_(ga_fence, GA_FENCE)
#define ga_cfence_ F77_FUNC_(ga_cfence,GA_CFENCE)
#define ga_dfence_ F77_FUNC_(ga_dfence,GA_DFENCE)
#define ga_ifence_ F77_FUNC_(ga_ifence,GA_IFENCE)
#define ga_sfence_ F77_FUNC_(ga_sfence,GA_SFENCE)
#define ga_zfence_ F77_FUNC_(ga_zfence,GA_ZFENCE)
#define nga_fence_  F77_FUNC_(nga_fence, NGA_FENCE)
#define nga_cfence_ F77_FUNC_(nga_cfence,NGA_CFENCE)
#define nga_dfence_ F77_FUNC_(nga_dfence,NGA_DFENCE)
#define nga_ifence_ F77_FUNC_(nga_ifence,NGA_IFENCE)
#define nga_sfence_ F77_FUNC_(nga_sfence,NGA_SFENCE)
#define nga_zfence_ F77_FUNC_(nga_zfence,NGA_ZFENCE)
#define ga_free_gatscat_buf_  F77_FUNC_(ga_free_gatscat_buf, GA_FREE_GATSCAT_BUF)
#define ga_gather2d_  F77_FUNC_(ga_gather2d, GA_GATHER2D)
#define ga_cgather2d_ F77_FUNC_(ga_cgather2d,GA_CGATHER2D)
#define ga_dgather2d_ F77_FUNC_(ga_dgather2d,GA_DGATHER2D)
#define ga_igather2d_ F77_FUNC_(ga_igather2d,GA_IGATHER2D)
#define ga_sgather2d_ F77_FUNC_(ga_sgather2d,GA_SGATHER2D)
#define ga_zgather2d_ F77_FUNC_(ga_zgather2d,GA_ZGATHER2D)
#define nga_gather2d_  F77_FUNC_(nga_gather2d, NGA_GATHER2D)
#define nga_cgather2d_ F77_FUNC_(nga_cgather2d,NGA_CGATHER2D)
#define nga_dgather2d_ F77_FUNC_(nga_dgather2d,NGA_DGATHER2D)
#define nga_igather2d_ F77_FUNC_(nga_igather2d,NGA_IGATHER2D)
#define nga_sgather2d_ F77_FUNC_(nga_sgather2d,NGA_SGATHER2D)
#define nga_zgather2d_ F77_FUNC_(nga_zgather2d,NGA_ZGATHER2D)
#define ga_gather_  F77_FUNC_(ga_gather, GA_GATHER)
#define ga_cgather_ F77_FUNC_(ga_cgather,GA_CGATHER)
#define ga_dgather_ F77_FUNC_(ga_dgather,GA_DGATHER)
#define ga_igather_ F77_FUNC_(ga_igather,GA_IGATHER)
#define ga_sgather_ F77_FUNC_(ga_sgather,GA_SGATHER)
#define ga_zgather_ F77_FUNC_(ga_zgather,GA_ZGATHER)
#define nga_gather_  F77_FUNC_(nga_gather, NGA_GATHER)
#define nga_cgather_ F77_FUNC_(nga_cgather,NGA_CGATHER)
#define nga_dgather_ F77_FUNC_(nga_dgather,NGA_DGATHER)
#define nga_igather_ F77_FUNC_(nga_igather,NGA_IGATHER)
#define nga_sgather_ F77_FUNC_(nga_sgather,NGA_SGATHER)
#define nga_zgather_ F77_FUNC_(nga_zgather,NGA_ZGATHER)
#define ga_get_  F77_FUNC_(ga_get, GA_GET)
#define ga_cget_ F77_FUNC_(ga_cget,GA_CGET)
#define ga_dget_ F77_FUNC_(ga_dget,GA_DGET)
#define ga_iget_ F77_FUNC_(ga_iget,GA_IGET)
#define ga_sget_ F77_FUNC_(ga_sget,GA_SGET)
#define ga_zget_ F77_FUNC_(ga_zget,GA_ZGET)
#define nga_get_  F77_FUNC_(nga_get, NGA_GET)
#define nga_cget_ F77_FUNC_(nga_cget,NGA_CGET)
#define nga_dget_ F77_FUNC_(nga_dget,NGA_DGET)
#define nga_iget_ F77_FUNC_(nga_iget,NGA_IGET)
#define nga_sget_ F77_FUNC_(nga_sget,NGA_SGET)
#define nga_zget_ F77_FUNC_(nga_zget,NGA_ZGET)
#define ga_init_fence_  F77_FUNC_(ga_init_fence, GA_INIT_FENCE)
#define ga_cinit_fence_ F77_FUNC_(ga_cinit_fence,GA_CINIT_FENCE)
#define ga_dinit_fence_ F77_FUNC_(ga_dinit_fence,GA_DINIT_FENCE)
#define ga_iinit_fence_ F77_FUNC_(ga_iinit_fence,GA_IINIT_FENCE)
#define ga_sinit_fence_ F77_FUNC_(ga_sinit_fence,GA_SINIT_FENCE)
#define ga_zinit_fence_ F77_FUNC_(ga_zinit_fence,GA_ZINIT_FENCE)
#define nga_init_fence_  F77_FUNC_(nga_init_fence, NGA_INIT_FENCE)
#define nga_cinit_fence_ F77_FUNC_(nga_cinit_fence,NGA_CINIT_FENCE)
#define nga_dinit_fence_ F77_FUNC_(nga_dinit_fence,NGA_DINIT_FENCE)
#define nga_iinit_fence_ F77_FUNC_(nga_iinit_fence,NGA_IINIT_FENCE)
#define nga_sinit_fence_ F77_FUNC_(nga_sinit_fence,NGA_SINIT_FENCE)
#define nga_zinit_fence_ F77_FUNC_(nga_zinit_fence,NGA_ZINIT_FENCE)
#define ga_nbacc_  F77_FUNC_(ga_nbacc, GA_NBACC)
#define ga_cnbacc_ F77_FUNC_(ga_cnbacc,GA_CNBACC)
#define ga_dnbacc_ F77_FUNC_(ga_dnbacc,GA_DNBACC)
#define ga_inbacc_ F77_FUNC_(ga_inbacc,GA_INBACC)
#define ga_snbacc_ F77_FUNC_(ga_snbacc,GA_SNBACC)
#define ga_znbacc_ F77_FUNC_(ga_znbacc,GA_ZNBACC)
#define nga_nbacc_  F77_FUNC_(nga_nbacc, NGA_NBACC)
#define nga_cnbacc_ F77_FUNC_(nga_cnbacc,NGA_CNBACC)
#define nga_dnbacc_ F77_FUNC_(nga_dnbacc,NGA_DNBACC)
#define nga_inbacc_ F77_FUNC_(nga_inbacc,NGA_INBACC)
#define nga_snbacc_ F77_FUNC_(nga_snbacc,NGA_SNBACC)
#define nga_znbacc_ F77_FUNC_(nga_znbacc,NGA_ZNBACC)
#define ga_nbget_  F77_FUNC_(ga_nbget, GA_NBGET)
#define ga_cnbget_ F77_FUNC_(ga_cnbget,GA_CNBGET)
#define ga_dnbget_ F77_FUNC_(ga_dnbget,GA_DNBGET)
#define ga_inbget_ F77_FUNC_(ga_inbget,GA_INBGET)
#define ga_snbget_ F77_FUNC_(ga_snbget,GA_SNBGET)
#define ga_znbget_ F77_FUNC_(ga_znbget,GA_ZNBGET)
#define nga_nbget_  F77_FUNC_(nga_nbget, NGA_NBGET)
#define nga_cnbget_ F77_FUNC_(nga_cnbget,NGA_CNBGET)
#define nga_dnbget_ F77_FUNC_(nga_dnbget,NGA_DNBGET)
#define nga_inbget_ F77_FUNC_(nga_inbget,NGA_INBGET)
#define nga_snbget_ F77_FUNC_(nga_snbget,NGA_SNBGET)
#define nga_znbget_ F77_FUNC_(nga_znbget,NGA_ZNBGET)
#define ga_nbput_  F77_FUNC_(ga_nbput, GA_NBPUT)
#define ga_cnbput_ F77_FUNC_(ga_cnbput,GA_CNBPUT)
#define ga_dnbput_ F77_FUNC_(ga_dnbput,GA_DNBPUT)
#define ga_inbput_ F77_FUNC_(ga_inbput,GA_INBPUT)
#define ga_snbput_ F77_FUNC_(ga_snbput,GA_SNBPUT)
#define ga_znbput_ F77_FUNC_(ga_znbput,GA_ZNBPUT)
#define nga_nbput_  F77_FUNC_(nga_nbput, NGA_NBPUT)
#define nga_cnbput_ F77_FUNC_(nga_cnbput,NGA_CNBPUT)
#define nga_dnbput_ F77_FUNC_(nga_dnbput,NGA_DNBPUT)
#define nga_inbput_ F77_FUNC_(nga_inbput,NGA_INBPUT)
#define nga_snbput_ F77_FUNC_(nga_snbput,NGA_SNBPUT)
#define nga_znbput_ F77_FUNC_(nga_znbput,NGA_ZNBPUT)
#define ga_nbput_notify_  F77_FUNC_(ga_nbput_notify, GA_NBPUT_NOTIFY)
#define ga_cnbput_notify_ F77_FUNC_(ga_cnbput_notify,GA_CNBPUT_NOTIFY)
#define ga_dnbput_notify_ F77_FUNC_(ga_dnbput_notify,GA_DNBPUT_NOTIFY)
#define ga_inbput_notify_ F77_FUNC_(ga_inbput_notify,GA_INBPUT_NOTIFY)
#define ga_snbput_notify_ F77_FUNC_(ga_snbput_notify,GA_SNBPUT_NOTIFY)
#define ga_znbput_notify_ F77_FUNC_(ga_znbput_notify,GA_ZNBPUT_NOTIFY)
#define nga_nbput_notify_  F77_FUNC_(nga_nbput_notify, NGA_NBPUT_NOTIFY)
#define nga_cnbput_notify_ F77_FUNC_(nga_cnbput_notify,NGA_CNBPUT_NOTIFY)
#define nga_dnbput_notify_ F77_FUNC_(nga_dnbput_notify,NGA_DNBPUT_NOTIFY)
#define nga_inbput_notify_ F77_FUNC_(nga_inbput_notify,NGA_INBPUT_NOTIFY)
#define nga_snbput_notify_ F77_FUNC_(nga_snbput_notify,NGA_SNBPUT_NOTIFY)
#define nga_znbput_notify_ F77_FUNC_(nga_znbput_notify,NGA_ZNBPUT_NOTIFY)
#define ga_nbwait_notify_  F77_FUNC_(ga_nbwait_notify, GA_NBWAIT_NOTIFY)
#define ga_cnbwait_notify_ F77_FUNC_(ga_cnbwait_notify,GA_CNBWAIT_NOTIFY)
#define ga_dnbwait_notify_ F77_FUNC_(ga_dnbwait_notify,GA_DNBWAIT_NOTIFY)
#define ga_inbwait_notify_ F77_FUNC_(ga_inbwait_notify,GA_INBWAIT_NOTIFY)
#define ga_snbwait_notify_ F77_FUNC_(ga_snbwait_notify,GA_SNBWAIT_NOTIFY)
#define ga_znbwait_notify_ F77_FUNC_(ga_znbwait_notify,GA_ZNBWAIT_NOTIFY)
#define nga_nbwait_notify_  F77_FUNC_(nga_nbwait_notify, NGA_NBWAIT_NOTIFY)
#define nga_cnbwait_notify_ F77_FUNC_(nga_cnbwait_notify,NGA_CNBWAIT_NOTIFY)
#define nga_dnbwait_notify_ F77_FUNC_(nga_dnbwait_notify,NGA_DNBWAIT_NOTIFY)
#define nga_inbwait_notify_ F77_FUNC_(nga_inbwait_notify,NGA_INBWAIT_NOTIFY)
#define nga_snbwait_notify_ F77_FUNC_(nga_snbwait_notify,NGA_SNBWAIT_NOTIFY)
#define nga_znbwait_notify_ F77_FUNC_(nga_znbwait_notify,NGA_ZNBWAIT_NOTIFY)
#define ga_nbtest_  F77_FUNC_(ga_nbtest, GA_NBTEST)
#define ga_cnbtest_ F77_FUNC_(ga_cnbtest,GA_CNBTEST)
#define ga_dnbtest_ F77_FUNC_(ga_dnbtest,GA_DNBTEST)
#define ga_inbtest_ F77_FUNC_(ga_inbtest,GA_INBTEST)
#define ga_snbtest_ F77_FUNC_(ga_snbtest,GA_SNBTEST)
#define ga_znbtest_ F77_FUNC_(ga_znbtest,GA_ZNBTEST)
#define nga_nbtest_  F77_FUNC_(nga_nbtest, NGA_NBTEST)
#define nga_cnbtest_ F77_FUNC_(nga_cnbtest,NGA_CNBTEST)
#define nga_dnbtest_ F77_FUNC_(nga_dnbtest,NGA_DNBTEST)
#define nga_inbtest_ F77_FUNC_(nga_inbtest,NGA_INBTEST)
#define nga_snbtest_ F77_FUNC_(nga_snbtest,NGA_SNBTEST)
#define nga_znbtest_ F77_FUNC_(nga_znbtest,NGA_ZNBTEST)
#define ga_nbwait_  F77_FUNC_(ga_nbwait, GA_NBWAIT)
#define ga_cnbwait_ F77_FUNC_(ga_cnbwait,GA_CNBWAIT)
#define ga_dnbwait_ F77_FUNC_(ga_dnbwait,GA_DNBWAIT)
#define ga_inbwait_ F77_FUNC_(ga_inbwait,GA_INBWAIT)
#define ga_snbwait_ F77_FUNC_(ga_snbwait,GA_SNBWAIT)
#define ga_znbwait_ F77_FUNC_(ga_znbwait,GA_ZNBWAIT)
#define nga_nbwait_  F77_FUNC_(nga_nbwait, NGA_NBWAIT)
#define nga_cnbwait_ F77_FUNC_(nga_cnbwait,NGA_CNBWAIT)
#define nga_dnbwait_ F77_FUNC_(nga_dnbwait,NGA_DNBWAIT)
#define nga_inbwait_ F77_FUNC_(nga_inbwait,NGA_INBWAIT)
#define nga_snbwait_ F77_FUNC_(nga_snbwait,NGA_SNBWAIT)
#define nga_znbwait_ F77_FUNC_(nga_znbwait,NGA_ZNBWAIT)
#define ga_put_  F77_FUNC_(ga_put, GA_PUT)
#define ga_cput_ F77_FUNC_(ga_cput,GA_CPUT)
#define ga_dput_ F77_FUNC_(ga_dput,GA_DPUT)
#define ga_iput_ F77_FUNC_(ga_iput,GA_IPUT)
#define ga_sput_ F77_FUNC_(ga_sput,GA_SPUT)
#define ga_zput_ F77_FUNC_(ga_zput,GA_ZPUT)
#define nga_put_  F77_FUNC_(nga_put, NGA_PUT)
#define nga_cput_ F77_FUNC_(nga_cput,NGA_CPUT)
#define nga_dput_ F77_FUNC_(nga_dput,NGA_DPUT)
#define nga_iput_ F77_FUNC_(nga_iput,NGA_IPUT)
#define nga_sput_ F77_FUNC_(nga_sput,NGA_SPUT)
#define nga_zput_ F77_FUNC_(nga_zput,NGA_ZPUT)
#define ga_pgroup_sync_  F77_FUNC_(ga_pgroup_sync, GA_PGROUP_SYNC)
#define ga_cpgroup_sync_ F77_FUNC_(ga_cpgroup_sync,GA_CPGROUP_SYNC)
#define ga_dpgroup_sync_ F77_FUNC_(ga_dpgroup_sync,GA_DPGROUP_SYNC)
#define ga_ipgroup_sync_ F77_FUNC_(ga_ipgroup_sync,GA_IPGROUP_SYNC)
#define ga_spgroup_sync_ F77_FUNC_(ga_spgroup_sync,GA_SPGROUP_SYNC)
#define ga_zpgroup_sync_ F77_FUNC_(ga_zpgroup_sync,GA_ZPGROUP_SYNC)
#define nga_pgroup_sync_  F77_FUNC_(nga_pgroup_sync, NGA_PGROUP_SYNC)
#define nga_cpgroup_sync_ F77_FUNC_(nga_cpgroup_sync,NGA_CPGROUP_SYNC)
#define nga_dpgroup_sync_ F77_FUNC_(nga_dpgroup_sync,NGA_DPGROUP_SYNC)
#define nga_ipgroup_sync_ F77_FUNC_(nga_ipgroup_sync,NGA_IPGROUP_SYNC)
#define nga_spgroup_sync_ F77_FUNC_(nga_spgroup_sync,NGA_SPGROUP_SYNC)
#define nga_zpgroup_sync_ F77_FUNC_(nga_zpgroup_sync,NGA_ZPGROUP_SYNC)
#define ga_read_inc_  F77_FUNC_(ga_read_inc, GA_READ_INC)
#define ga_cread_inc_ F77_FUNC_(ga_cread_inc,GA_CREAD_INC)
#define ga_dread_inc_ F77_FUNC_(ga_dread_inc,GA_DREAD_INC)
#define ga_iread_inc_ F77_FUNC_(ga_iread_inc,GA_IREAD_INC)
#define ga_sread_inc_ F77_FUNC_(ga_sread_inc,GA_SREAD_INC)
#define ga_zread_inc_ F77_FUNC_(ga_zread_inc,GA_ZREAD_INC)
#define nga_read_inc_  F77_FUNC_(nga_read_inc, NGA_READ_INC)
#define nga_cread_inc_ F77_FUNC_(nga_cread_inc,NGA_CREAD_INC)
#define nga_dread_inc_ F77_FUNC_(nga_dread_inc,NGA_DREAD_INC)
#define nga_iread_inc_ F77_FUNC_(nga_iread_inc,NGA_IREAD_INC)
#define nga_sread_inc_ F77_FUNC_(nga_sread_inc,NGA_SREAD_INC)
#define nga_zread_inc_ F77_FUNC_(nga_zread_inc,NGA_ZREAD_INC)
#define ga_release_  F77_FUNC_(ga_release, GA_RELEASE)
#define ga_crelease_ F77_FUNC_(ga_crelease,GA_CRELEASE)
#define ga_drelease_ F77_FUNC_(ga_drelease,GA_DRELEASE)
#define ga_irelease_ F77_FUNC_(ga_irelease,GA_IRELEASE)
#define ga_srelease_ F77_FUNC_(ga_srelease,GA_SRELEASE)
#define ga_zrelease_ F77_FUNC_(ga_zrelease,GA_ZRELEASE)
#define nga_release_  F77_FUNC_(nga_release, NGA_RELEASE)
#define nga_crelease_ F77_FUNC_(nga_crelease,NGA_CRELEASE)
#define nga_drelease_ F77_FUNC_(nga_drelease,NGA_DRELEASE)
#define nga_irelease_ F77_FUNC_(nga_irelease,NGA_IRELEASE)
#define nga_srelease_ F77_FUNC_(nga_srelease,NGA_SRELEASE)
#define nga_zrelease_ F77_FUNC_(nga_zrelease,NGA_ZRELEASE)
#define ga_release_block_  F77_FUNC_(ga_release_block, GA_RELEASE_BLOCK)
#define ga_crelease_block_ F77_FUNC_(ga_crelease_block,GA_CRELEASE_BLOCK)
#define ga_drelease_block_ F77_FUNC_(ga_drelease_block,GA_DRELEASE_BLOCK)
#define ga_irelease_block_ F77_FUNC_(ga_irelease_block,GA_IRELEASE_BLOCK)
#define ga_srelease_block_ F77_FUNC_(ga_srelease_block,GA_SRELEASE_BLOCK)
#define ga_zrelease_block_ F77_FUNC_(ga_zrelease_block,GA_ZRELEASE_BLOCK)
#define nga_release_block_  F77_FUNC_(nga_release_block, NGA_RELEASE_BLOCK)
#define nga_crelease_block_ F77_FUNC_(nga_crelease_block,NGA_CRELEASE_BLOCK)
#define nga_drelease_block_ F77_FUNC_(nga_drelease_block,NGA_DRELEASE_BLOCK)
#define nga_irelease_block_ F77_FUNC_(nga_irelease_block,NGA_IRELEASE_BLOCK)
#define nga_srelease_block_ F77_FUNC_(nga_srelease_block,NGA_SRELEASE_BLOCK)
#define nga_zrelease_block_ F77_FUNC_(nga_zrelease_block,NGA_ZRELEASE_BLOCK)
#define ga_release_block_grid_  F77_FUNC_(ga_release_block_grid, GA_RELEASE_BLOCK_GRID)
#define ga_crelease_block_grid_ F77_FUNC_(ga_crelease_block_grid,GA_CRELEASE_BLOCK_GRID)
#define ga_drelease_block_grid_ F77_FUNC_(ga_drelease_block_grid,GA_DRELEASE_BLOCK_GRID)
#define ga_irelease_block_grid_ F77_FUNC_(ga_irelease_block_grid,GA_IRELEASE_BLOCK_GRID)
#define ga_srelease_block_grid_ F77_FUNC_(ga_srelease_block_grid,GA_SRELEASE_BLOCK_GRID)
#define ga_zrelease_block_grid_ F77_FUNC_(ga_zrelease_block_grid,GA_ZRELEASE_BLOCK_GRID)
#define nga_release_block_grid_  F77_FUNC_(nga_release_block_grid, NGA_RELEASE_BLOCK_GRID)
#define nga_crelease_block_grid_ F77_FUNC_(nga_crelease_block_grid,NGA_CRELEASE_BLOCK_GRID)
#define nga_drelease_block_grid_ F77_FUNC_(nga_drelease_block_grid,NGA_DRELEASE_BLOCK_GRID)
#define nga_irelease_block_grid_ F77_FUNC_(nga_irelease_block_grid,NGA_IRELEASE_BLOCK_GRID)
#define nga_srelease_block_grid_ F77_FUNC_(nga_srelease_block_grid,NGA_SRELEASE_BLOCK_GRID)
#define nga_zrelease_block_grid_ F77_FUNC_(nga_zrelease_block_grid,NGA_ZRELEASE_BLOCK_GRID)
#define ga_release_block_segment_  F77_FUNC_(ga_release_block_segment, GA_RELEASE_BLOCK_SEGMENT)
#define ga_crelease_block_segment_ F77_FUNC_(ga_crelease_block_segment,GA_CRELEASE_BLOCK_SEGMENT)
#define ga_drelease_block_segment_ F77_FUNC_(ga_drelease_block_segment,GA_DRELEASE_BLOCK_SEGMENT)
#define ga_irelease_block_segment_ F77_FUNC_(ga_irelease_block_segment,GA_IRELEASE_BLOCK_SEGMENT)
#define ga_srelease_block_segment_ F77_FUNC_(ga_srelease_block_segment,GA_SRELEASE_BLOCK_SEGMENT)
#define ga_zrelease_block_segment_ F77_FUNC_(ga_zrelease_block_segment,GA_ZRELEASE_BLOCK_SEGMENT)
#define nga_release_block_segment_  F77_FUNC_(nga_release_block_segment, NGA_RELEASE_BLOCK_SEGMENT)
#define nga_crelease_block_segment_ F77_FUNC_(nga_crelease_block_segment,NGA_CRELEASE_BLOCK_SEGMENT)
#define nga_drelease_block_segment_ F77_FUNC_(nga_drelease_block_segment,NGA_DRELEASE_BLOCK_SEGMENT)
#define nga_irelease_block_segment_ F77_FUNC_(nga_irelease_block_segment,NGA_IRELEASE_BLOCK_SEGMENT)
#define nga_srelease_block_segment_ F77_FUNC_(nga_srelease_block_segment,NGA_SRELEASE_BLOCK_SEGMENT)
#define nga_zrelease_block_segment_ F77_FUNC_(nga_zrelease_block_segment,NGA_ZRELEASE_BLOCK_SEGMENT)
#define ga_release_update_  F77_FUNC_(ga_release_update, GA_RELEASE_UPDATE)
#define ga_crelease_update_ F77_FUNC_(ga_crelease_update,GA_CRELEASE_UPDATE)
#define ga_drelease_update_ F77_FUNC_(ga_drelease_update,GA_DRELEASE_UPDATE)
#define ga_irelease_update_ F77_FUNC_(ga_irelease_update,GA_IRELEASE_UPDATE)
#define ga_srelease_update_ F77_FUNC_(ga_srelease_update,GA_SRELEASE_UPDATE)
#define ga_zrelease_update_ F77_FUNC_(ga_zrelease_update,GA_ZRELEASE_UPDATE)
#define nga_release_update_  F77_FUNC_(nga_release_update, NGA_RELEASE_UPDATE)
#define nga_crelease_update_ F77_FUNC_(nga_crelease_update,NGA_CRELEASE_UPDATE)
#define nga_drelease_update_ F77_FUNC_(nga_drelease_update,NGA_DRELEASE_UPDATE)
#define nga_irelease_update_ F77_FUNC_(nga_irelease_update,NGA_IRELEASE_UPDATE)
#define nga_srelease_update_ F77_FUNC_(nga_srelease_update,NGA_SRELEASE_UPDATE)
#define nga_zrelease_update_ F77_FUNC_(nga_zrelease_update,NGA_ZRELEASE_UPDATE)
#define ga_release_update_block_  F77_FUNC_(ga_release_update_block, GA_RELEASE_UPDATE_BLOCK)
#define ga_crelease_update_block_ F77_FUNC_(ga_crelease_update_block,GA_CRELEASE_UPDATE_BLOCK)
#define ga_drelease_update_block_ F77_FUNC_(ga_drelease_update_block,GA_DRELEASE_UPDATE_BLOCK)
#define ga_irelease_update_block_ F77_FUNC_(ga_irelease_update_block,GA_IRELEASE_UPDATE_BLOCK)
#define ga_srelease_update_block_ F77_FUNC_(ga_srelease_update_block,GA_SRELEASE_UPDATE_BLOCK)
#define ga_zrelease_update_block_ F77_FUNC_(ga_zrelease_update_block,GA_ZRELEASE_UPDATE_BLOCK)
#define nga_release_update_block_  F77_FUNC_(nga_release_update_block, NGA_RELEASE_UPDATE_BLOCK)
#define nga_crelease_update_block_ F77_FUNC_(nga_crelease_update_block,NGA_CRELEASE_UPDATE_BLOCK)
#define nga_drelease_update_block_ F77_FUNC_(nga_drelease_update_block,NGA_DRELEASE_UPDATE_BLOCK)
#define nga_irelease_update_block_ F77_FUNC_(nga_irelease_update_block,NGA_IRELEASE_UPDATE_BLOCK)
#define nga_srelease_update_block_ F77_FUNC_(nga_srelease_update_block,NGA_SRELEASE_UPDATE_BLOCK)
#define nga_zrelease_update_block_ F77_FUNC_(nga_zrelease_update_block,NGA_ZRELEASE_UPDATE_BLOCK)
#define ga_release_update_block_grid_  F77_FUNC_(ga_release_update_block_grid, GA_RELEASE_UPDATE_BLOCK_GRID)
#define ga_crelease_update_block_grid_ F77_FUNC_(ga_crelease_update_block_grid,GA_CRELEASE_UPDATE_BLOCK_GRID)
#define ga_drelease_update_block_grid_ F77_FUNC_(ga_drelease_update_block_grid,GA_DRELEASE_UPDATE_BLOCK_GRID)
#define ga_irelease_update_block_grid_ F77_FUNC_(ga_irelease_update_block_grid,GA_IRELEASE_UPDATE_BLOCK_GRID)
#define ga_srelease_update_block_grid_ F77_FUNC_(ga_srelease_update_block_grid,GA_SRELEASE_UPDATE_BLOCK_GRID)
#define ga_zrelease_update_block_grid_ F77_FUNC_(ga_zrelease_update_block_grid,GA_ZRELEASE_UPDATE_BLOCK_GRID)
#define nga_release_update_block_grid_  F77_FUNC_(nga_release_update_block_grid, NGA_RELEASE_UPDATE_BLOCK_GRID)
#define nga_crelease_update_block_grid_ F77_FUNC_(nga_crelease_update_block_grid,NGA_CRELEASE_UPDATE_BLOCK_GRID)
#define nga_drelease_update_block_grid_ F77_FUNC_(nga_drelease_update_block_grid,NGA_DRELEASE_UPDATE_BLOCK_GRID)
#define nga_irelease_update_block_grid_ F77_FUNC_(nga_irelease_update_block_grid,NGA_IRELEASE_UPDATE_BLOCK_GRID)
#define nga_srelease_update_block_grid_ F77_FUNC_(nga_srelease_update_block_grid,NGA_SRELEASE_UPDATE_BLOCK_GRID)
#define nga_zrelease_update_block_grid_ F77_FUNC_(nga_zrelease_update_block_grid,NGA_ZRELEASE_UPDATE_BLOCK_GRID)
#define ga_release_update_block_segment_  F77_FUNC_(ga_release_update_block_segment, GA_RELEASE_UPDATE_BLOCK_SEGMENT)
#define ga_crelease_update_block_segment_ F77_FUNC_(ga_crelease_update_block_segment,GA_CRELEASE_UPDATE_BLOCK_SEGMENT)
#define ga_drelease_update_block_segment_ F77_FUNC_(ga_drelease_update_block_segment,GA_DRELEASE_UPDATE_BLOCK_SEGMENT)
#define ga_irelease_update_block_segment_ F77_FUNC_(ga_irelease_update_block_segment,GA_IRELEASE_UPDATE_BLOCK_SEGMENT)
#define ga_srelease_update_block_segment_ F77_FUNC_(ga_srelease_update_block_segment,GA_SRELEASE_UPDATE_BLOCK_SEGMENT)
#define ga_zrelease_update_block_segment_ F77_FUNC_(ga_zrelease_update_block_segment,GA_ZRELEASE_UPDATE_BLOCK_SEGMENT)
#define nga_release_update_block_segment_  F77_FUNC_(nga_release_update_block_segment, NGA_RELEASE_UPDATE_BLOCK_SEGMENT)
#define nga_crelease_update_block_segment_ F77_FUNC_(nga_crelease_update_block_segment,NGA_CRELEASE_UPDATE_BLOCK_SEGMENT)
#define nga_drelease_update_block_segment_ F77_FUNC_(nga_drelease_update_block_segment,NGA_DRELEASE_UPDATE_BLOCK_SEGMENT)
#define nga_irelease_update_block_segment_ F77_FUNC_(nga_irelease_update_block_segment,NGA_IRELEASE_UPDATE_BLOCK_SEGMENT)
#define nga_srelease_update_block_segment_ F77_FUNC_(nga_srelease_update_block_segment,NGA_SRELEASE_UPDATE_BLOCK_SEGMENT)
#define nga_zrelease_update_block_segment_ F77_FUNC_(nga_zrelease_update_block_segment,NGA_ZRELEASE_UPDATE_BLOCK_SEGMENT)
#define ga_scatter2d_  F77_FUNC_(ga_scatter2d, GA_SCATTER2D)
#define ga_cscatter2d_ F77_FUNC_(ga_cscatter2d,GA_CSCATTER2D)
#define ga_dscatter2d_ F77_FUNC_(ga_dscatter2d,GA_DSCATTER2D)
#define ga_iscatter2d_ F77_FUNC_(ga_iscatter2d,GA_ISCATTER2D)
#define ga_sscatter2d_ F77_FUNC_(ga_sscatter2d,GA_SSCATTER2D)
#define ga_zscatter2d_ F77_FUNC_(ga_zscatter2d,GA_ZSCATTER2D)
#define nga_scatter2d_  F77_FUNC_(nga_scatter2d, NGA_SCATTER2D)
#define nga_cscatter2d_ F77_FUNC_(nga_cscatter2d,NGA_CSCATTER2D)
#define nga_dscatter2d_ F77_FUNC_(nga_dscatter2d,NGA_DSCATTER2D)
#define nga_iscatter2d_ F77_FUNC_(nga_iscatter2d,NGA_ISCATTER2D)
#define nga_sscatter2d_ F77_FUNC_(nga_sscatter2d,NGA_SSCATTER2D)
#define nga_zscatter2d_ F77_FUNC_(nga_zscatter2d,NGA_ZSCATTER2D)
#define ga_scatter_  F77_FUNC_(ga_scatter, GA_SCATTER)
#define ga_cscatter_ F77_FUNC_(ga_cscatter,GA_CSCATTER)
#define ga_dscatter_ F77_FUNC_(ga_dscatter,GA_DSCATTER)
#define ga_iscatter_ F77_FUNC_(ga_iscatter,GA_ISCATTER)
#define ga_sscatter_ F77_FUNC_(ga_sscatter,GA_SSCATTER)
#define ga_zscatter_ F77_FUNC_(ga_zscatter,GA_ZSCATTER)
#define nga_scatter_  F77_FUNC_(nga_scatter, NGA_SCATTER)
#define nga_cscatter_ F77_FUNC_(nga_cscatter,NGA_CSCATTER)
#define nga_dscatter_ F77_FUNC_(nga_dscatter,NGA_DSCATTER)
#define nga_iscatter_ F77_FUNC_(nga_iscatter,NGA_ISCATTER)
#define nga_sscatter_ F77_FUNC_(nga_sscatter,NGA_SSCATTER)
#define nga_zscatter_ F77_FUNC_(nga_zscatter,NGA_ZSCATTER)
#define ga_scatter_acc2d_  F77_FUNC_(ga_scatter_acc2d, GA_SCATTER_ACC2D)
#define ga_cscatter_acc2d_ F77_FUNC_(ga_cscatter_acc2d,GA_CSCATTER_ACC2D)
#define ga_dscatter_acc2d_ F77_FUNC_(ga_dscatter_acc2d,GA_DSCATTER_ACC2D)
#define ga_iscatter_acc2d_ F77_FUNC_(ga_iscatter_acc2d,GA_ISCATTER_ACC2D)
#define ga_sscatter_acc2d_ F77_FUNC_(ga_sscatter_acc2d,GA_SSCATTER_ACC2D)
#define ga_zscatter_acc2d_ F77_FUNC_(ga_zscatter_acc2d,GA_ZSCATTER_ACC2D)
#define nga_scatter_acc2d_  F77_FUNC_(nga_scatter_acc2d, NGA_SCATTER_ACC2D)
#define nga_cscatter_acc2d_ F77_FUNC_(nga_cscatter_acc2d,NGA_CSCATTER_ACC2D)
#define nga_dscatter_acc2d_ F77_FUNC_(nga_dscatter_acc2d,NGA_DSCATTER_ACC2D)
#define nga_iscatter_acc2d_ F77_FUNC_(nga_iscatter_acc2d,NGA_ISCATTER_ACC2D)
#define nga_sscatter_acc2d_ F77_FUNC_(nga_sscatter_acc2d,NGA_SSCATTER_ACC2D)
#define nga_zscatter_acc2d_ F77_FUNC_(nga_zscatter_acc2d,NGA_ZSCATTER_ACC2D)
#define ga_scatter_acc_  F77_FUNC_(ga_scatter_acc, GA_SCATTER_ACC)
#define ga_cscatter_acc_ F77_FUNC_(ga_cscatter_acc,GA_CSCATTER_ACC)
#define ga_dscatter_acc_ F77_FUNC_(ga_dscatter_acc,GA_DSCATTER_ACC)
#define ga_iscatter_acc_ F77_FUNC_(ga_iscatter_acc,GA_ISCATTER_ACC)
#define ga_sscatter_acc_ F77_FUNC_(ga_sscatter_acc,GA_SSCATTER_ACC)
#define ga_zscatter_acc_ F77_FUNC_(ga_zscatter_acc,GA_ZSCATTER_ACC)
#define nga_scatter_acc_  F77_FUNC_(nga_scatter_acc, NGA_SCATTER_ACC)
#define nga_cscatter_acc_ F77_FUNC_(nga_cscatter_acc,NGA_CSCATTER_ACC)
#define nga_dscatter_acc_ F77_FUNC_(nga_dscatter_acc,NGA_DSCATTER_ACC)
#define nga_iscatter_acc_ F77_FUNC_(nga_iscatter_acc,NGA_ISCATTER_ACC)
#define nga_sscatter_acc_ F77_FUNC_(nga_sscatter_acc,NGA_SSCATTER_ACC)
#define nga_zscatter_acc_ F77_FUNC_(nga_zscatter_acc,NGA_ZSCATTER_ACC)
#define ga_strided_acc_  F77_FUNC_(ga_strided_acc, GA_STRIDED_ACC)
#define ga_cstrided_acc_ F77_FUNC_(ga_cstrided_acc,GA_CSTRIDED_ACC)
#define ga_dstrided_acc_ F77_FUNC_(ga_dstrided_acc,GA_DSTRIDED_ACC)
#define ga_istrided_acc_ F77_FUNC_(ga_istrided_acc,GA_ISTRIDED_ACC)
#define ga_sstrided_acc_ F77_FUNC_(ga_sstrided_acc,GA_SSTRIDED_ACC)
#define ga_zstrided_acc_ F77_FUNC_(ga_zstrided_acc,GA_ZSTRIDED_ACC)
#define nga_strided_acc_  F77_FUNC_(nga_strided_acc, NGA_STRIDED_ACC)
#define nga_cstrided_acc_ F77_FUNC_(nga_cstrided_acc,NGA_CSTRIDED_ACC)
#define nga_dstrided_acc_ F77_FUNC_(nga_dstrided_acc,NGA_DSTRIDED_ACC)
#define nga_istrided_acc_ F77_FUNC_(nga_istrided_acc,NGA_ISTRIDED_ACC)
#define nga_sstrided_acc_ F77_FUNC_(nga_sstrided_acc,NGA_SSTRIDED_ACC)
#define nga_zstrided_acc_ F77_FUNC_(nga_zstrided_acc,NGA_ZSTRIDED_ACC)
#define ga_strided_get_  F77_FUNC_(ga_strided_get, GA_STRIDED_GET)
#define ga_cstrided_get_ F77_FUNC_(ga_cstrided_get,GA_CSTRIDED_GET)
#define ga_dstrided_get_ F77_FUNC_(ga_dstrided_get,GA_DSTRIDED_GET)
#define ga_istrided_get_ F77_FUNC_(ga_istrided_get,GA_ISTRIDED_GET)
#define ga_sstrided_get_ F77_FUNC_(ga_sstrided_get,GA_SSTRIDED_GET)
#define ga_zstrided_get_ F77_FUNC_(ga_zstrided_get,GA_ZSTRIDED_GET)
#define nga_strided_get_  F77_FUNC_(nga_strided_get, NGA_STRIDED_GET)
#define nga_cstrided_get_ F77_FUNC_(nga_cstrided_get,NGA_CSTRIDED_GET)
#define nga_dstrided_get_ F77_FUNC_(nga_dstrided_get,NGA_DSTRIDED_GET)
#define nga_istrided_get_ F77_FUNC_(nga_istrided_get,NGA_ISTRIDED_GET)
#define nga_sstrided_get_ F77_FUNC_(nga_sstrided_get,NGA_SSTRIDED_GET)
#define nga_zstrided_get_ F77_FUNC_(nga_zstrided_get,NGA_ZSTRIDED_GET)
#define ga_strided_put_  F77_FUNC_(ga_strided_put, GA_STRIDED_PUT)
#define ga_cstrided_put_ F77_FUNC_(ga_cstrided_put,GA_CSTRIDED_PUT)
#define ga_dstrided_put_ F77_FUNC_(ga_dstrided_put,GA_DSTRIDED_PUT)
#define ga_istrided_put_ F77_FUNC_(ga_istrided_put,GA_ISTRIDED_PUT)
#define ga_sstrided_put_ F77_FUNC_(ga_sstrided_put,GA_SSTRIDED_PUT)
#define ga_zstrided_put_ F77_FUNC_(ga_zstrided_put,GA_ZSTRIDED_PUT)
#define nga_strided_put_  F77_FUNC_(nga_strided_put, NGA_STRIDED_PUT)
#define nga_cstrided_put_ F77_FUNC_(nga_cstrided_put,NGA_CSTRIDED_PUT)
#define nga_dstrided_put_ F77_FUNC_(nga_dstrided_put,NGA_DSTRIDED_PUT)
#define nga_istrided_put_ F77_FUNC_(nga_istrided_put,NGA_ISTRIDED_PUT)
#define nga_sstrided_put_ F77_FUNC_(nga_sstrided_put,NGA_SSTRIDED_PUT)
#define nga_zstrided_put_ F77_FUNC_(nga_zstrided_put,NGA_ZSTRIDED_PUT)
#define ga_sync_  F77_FUNC_(ga_sync, GA_SYNC)
#define ga_csync_ F77_FUNC_(ga_csync,GA_CSYNC)
#define ga_dsync_ F77_FUNC_(ga_dsync,GA_DSYNC)
#define ga_isync_ F77_FUNC_(ga_isync,GA_ISYNC)
#define ga_ssync_ F77_FUNC_(ga_ssync,GA_SSYNC)
#define ga_zsync_ F77_FUNC_(ga_zsync,GA_ZSYNC)
#define nga_sync_  F77_FUNC_(nga_sync, NGA_SYNC)
#define nga_csync_ F77_FUNC_(nga_csync,NGA_CSYNC)
#define nga_dsync_ F77_FUNC_(nga_dsync,NGA_DSYNC)
#define nga_isync_ F77_FUNC_(nga_isync,NGA_ISYNC)
#define nga_ssync_ F77_FUNC_(nga_ssync,NGA_SSYNC)
#define nga_zsync_ F77_FUNC_(nga_zsync,NGA_ZSYNC)
#define ga_wtime_  F77_FUNC_(ga_wtime, GA_WTIME)
#define ga_cwtime_ F77_FUNC_(ga_cwtime,GA_CWTIME)
#define ga_dwtime_ F77_FUNC_(ga_dwtime,GA_DWTIME)
#define ga_iwtime_ F77_FUNC_(ga_iwtime,GA_IWTIME)
#define ga_swtime_ F77_FUNC_(ga_swtime,GA_SWTIME)
#define ga_zwtime_ F77_FUNC_(ga_zwtime,GA_ZWTIME)
#define nga_wtime_  F77_FUNC_(nga_wtime, NGA_WTIME)
#define nga_cwtime_ F77_FUNC_(nga_cwtime,NGA_CWTIME)
#define nga_dwtime_ F77_FUNC_(nga_dwtime,NGA_DWTIME)
#define nga_iwtime_ F77_FUNC_(nga_iwtime,NGA_IWTIME)
#define nga_swtime_ F77_FUNC_(nga_swtime,NGA_SWTIME)
#define nga_zwtime_ F77_FUNC_(nga_zwtime,NGA_ZWTIME)
#define ga_type_f2c_  F77_FUNC_(ga_type_f2c, GA_TYPE_F2C)
#define ga_ctype_f2c_ F77_FUNC_(ga_ctype_f2c,GA_CTYPE_F2C)
#define ga_dtype_f2c_ F77_FUNC_(ga_dtype_f2c,GA_DTYPE_F2C)
#define ga_itype_f2c_ F77_FUNC_(ga_itype_f2c,GA_ITYPE_F2C)
#define ga_stype_f2c_ F77_FUNC_(ga_stype_f2c,GA_STYPE_F2C)
#define ga_ztype_f2c_ F77_FUNC_(ga_ztype_f2c,GA_ZTYPE_F2C)
#define nga_type_f2c_  F77_FUNC_(nga_type_f2c, NGA_TYPE_F2C)
#define nga_ctype_f2c_ F77_FUNC_(nga_ctype_f2c,NGA_CTYPE_F2C)
#define nga_dtype_f2c_ F77_FUNC_(nga_dtype_f2c,NGA_DTYPE_F2C)
#define nga_itype_f2c_ F77_FUNC_(nga_itype_f2c,NGA_ITYPE_F2C)
#define nga_stype_f2c_ F77_FUNC_(nga_stype_f2c,NGA_STYPE_F2C)
#define nga_ztype_f2c_ F77_FUNC_(nga_ztype_f2c,NGA_ZTYPE_F2C)
#define ga_type_c2f_  F77_FUNC_(ga_type_c2f, GA_TYPE_C2F)
#define ga_ctype_c2f_ F77_FUNC_(ga_ctype_c2f,GA_CTYPE_C2F)
#define ga_dtype_c2f_ F77_FUNC_(ga_dtype_c2f,GA_DTYPE_C2F)
#define ga_itype_c2f_ F77_FUNC_(ga_itype_c2f,GA_ITYPE_C2F)
#define ga_stype_c2f_ F77_FUNC_(ga_stype_c2f,GA_STYPE_C2F)
#define ga_ztype_c2f_ F77_FUNC_(ga_ztype_c2f,GA_ZTYPE_C2F)
#define nga_type_c2f_  F77_FUNC_(nga_type_c2f, NGA_TYPE_C2F)
#define nga_ctype_c2f_ F77_FUNC_(nga_ctype_c2f,NGA_CTYPE_C2F)
#define nga_dtype_c2f_ F77_FUNC_(nga_dtype_c2f,NGA_DTYPE_C2F)
#define nga_itype_c2f_ F77_FUNC_(nga_itype_c2f,NGA_ITYPE_C2F)
#define nga_stype_c2f_ F77_FUNC_(nga_stype_c2f,NGA_STYPE_C2F)
#define nga_ztype_c2f_ F77_FUNC_(nga_ztype_c2f,NGA_ZTYPE_C2F)
#define ga_msg_brdcst_  F77_FUNC_(ga_msg_brdcst, GA_MSG_BRDCST)
#define ga_cmsg_brdcst_ F77_FUNC_(ga_cmsg_brdcst,GA_CMSG_BRDCST)
#define ga_dmsg_brdcst_ F77_FUNC_(ga_dmsg_brdcst,GA_DMSG_BRDCST)
#define ga_imsg_brdcst_ F77_FUNC_(ga_imsg_brdcst,GA_IMSG_BRDCST)
#define ga_smsg_brdcst_ F77_FUNC_(ga_smsg_brdcst,GA_SMSG_BRDCST)
#define ga_zmsg_brdcst_ F77_FUNC_(ga_zmsg_brdcst,GA_ZMSG_BRDCST)
#define nga_msg_brdcst_  F77_FUNC_(nga_msg_brdcst, NGA_MSG_BRDCST)
#define nga_cmsg_brdcst_ F77_FUNC_(nga_cmsg_brdcst,NGA_CMSG_BRDCST)
#define nga_dmsg_brdcst_ F77_FUNC_(nga_dmsg_brdcst,NGA_DMSG_BRDCST)
#define nga_imsg_brdcst_ F77_FUNC_(nga_imsg_brdcst,NGA_IMSG_BRDCST)
#define nga_smsg_brdcst_ F77_FUNC_(nga_smsg_brdcst,NGA_SMSG_BRDCST)
#define nga_zmsg_brdcst_ F77_FUNC_(nga_zmsg_brdcst,NGA_ZMSG_BRDCST)
#define ga_brdcst_  F77_FUNC_(ga_brdcst, GA_BRDCST)
#define ga_cbrdcst_ F77_FUNC_(ga_cbrdcst,GA_CBRDCST)
#define ga_dbrdcst_ F77_FUNC_(ga_dbrdcst,GA_DBRDCST)
#define ga_ibrdcst_ F77_FUNC_(ga_ibrdcst,GA_IBRDCST)
#define ga_sbrdcst_ F77_FUNC_(ga_sbrdcst,GA_SBRDCST)
#define ga_zbrdcst_ F77_FUNC_(ga_zbrdcst,GA_ZBRDCST)
#define nga_brdcst_  F77_FUNC_(nga_brdcst, NGA_BRDCST)
#define nga_cbrdcst_ F77_FUNC_(nga_cbrdcst,NGA_CBRDCST)
#define nga_dbrdcst_ F77_FUNC_(nga_dbrdcst,NGA_DBRDCST)
#define nga_ibrdcst_ F77_FUNC_(nga_ibrdcst,NGA_IBRDCST)
#define nga_sbrdcst_ F77_FUNC_(nga_sbrdcst,NGA_SBRDCST)
#define nga_zbrdcst_ F77_FUNC_(nga_zbrdcst,NGA_ZBRDCST)
#define ga_pgroup_brdcst_  F77_FUNC_(ga_pgroup_brdcst, GA_PGROUP_BRDCST)
#define ga_cpgroup_brdcst_ F77_FUNC_(ga_cpgroup_brdcst,GA_CPGROUP_BRDCST)
#define ga_dpgroup_brdcst_ F77_FUNC_(ga_dpgroup_brdcst,GA_DPGROUP_BRDCST)
#define ga_ipgroup_brdcst_ F77_FUNC_(ga_ipgroup_brdcst,GA_IPGROUP_BRDCST)
#define ga_spgroup_brdcst_ F77_FUNC_(ga_spgroup_brdcst,GA_SPGROUP_BRDCST)
#define ga_zpgroup_brdcst_ F77_FUNC_(ga_zpgroup_brdcst,GA_ZPGROUP_BRDCST)
#define nga_pgroup_brdcst_  F77_FUNC_(nga_pgroup_brdcst, NGA_PGROUP_BRDCST)
#define nga_cpgroup_brdcst_ F77_FUNC_(nga_cpgroup_brdcst,NGA_CPGROUP_BRDCST)
#define nga_dpgroup_brdcst_ F77_FUNC_(nga_dpgroup_brdcst,NGA_DPGROUP_BRDCST)
#define nga_ipgroup_brdcst_ F77_FUNC_(nga_ipgroup_brdcst,NGA_IPGROUP_BRDCST)
#define nga_spgroup_brdcst_ F77_FUNC_(nga_spgroup_brdcst,NGA_SPGROUP_BRDCST)
#define nga_zpgroup_brdcst_ F77_FUNC_(nga_zpgroup_brdcst,NGA_ZPGROUP_BRDCST)
#define ga_msg_sync_  F77_FUNC_(ga_msg_sync, GA_MSG_SYNC)
#define ga_cmsg_sync_ F77_FUNC_(ga_cmsg_sync,GA_CMSG_SYNC)
#define ga_dmsg_sync_ F77_FUNC_(ga_dmsg_sync,GA_DMSG_SYNC)
#define ga_imsg_sync_ F77_FUNC_(ga_imsg_sync,GA_IMSG_SYNC)
#define ga_smsg_sync_ F77_FUNC_(ga_smsg_sync,GA_SMSG_SYNC)
#define ga_zmsg_sync_ F77_FUNC_(ga_zmsg_sync,GA_ZMSG_SYNC)
#define nga_msg_sync_  F77_FUNC_(nga_msg_sync, NGA_MSG_SYNC)
#define nga_cmsg_sync_ F77_FUNC_(nga_cmsg_sync,NGA_CMSG_SYNC)
#define nga_dmsg_sync_ F77_FUNC_(nga_dmsg_sync,NGA_DMSG_SYNC)
#define nga_imsg_sync_ F77_FUNC_(nga_imsg_sync,NGA_IMSG_SYNC)
#define nga_smsg_sync_ F77_FUNC_(nga_smsg_sync,NGA_SMSG_SYNC)
#define nga_zmsg_sync_ F77_FUNC_(nga_zmsg_sync,NGA_ZMSG_SYNC)
#define ga_msg_pgroup_sync_  F77_FUNC_(ga_msg_pgroup_sync, GA_MSG_PGROUP_SYNC)
#define ga_cmsg_pgroup_sync_ F77_FUNC_(ga_cmsg_pgroup_sync,GA_CMSG_PGROUP_SYNC)
#define ga_dmsg_pgroup_sync_ F77_FUNC_(ga_dmsg_pgroup_sync,GA_DMSG_PGROUP_SYNC)
#define ga_imsg_pgroup_sync_ F77_FUNC_(ga_imsg_pgroup_sync,GA_IMSG_PGROUP_SYNC)
#define ga_smsg_pgroup_sync_ F77_FUNC_(ga_smsg_pgroup_sync,GA_SMSG_PGROUP_SYNC)
#define ga_zmsg_pgroup_sync_ F77_FUNC_(ga_zmsg_pgroup_sync,GA_ZMSG_PGROUP_SYNC)
#define nga_msg_pgroup_sync_  F77_FUNC_(nga_msg_pgroup_sync, NGA_MSG_PGROUP_SYNC)
#define nga_cmsg_pgroup_sync_ F77_FUNC_(nga_cmsg_pgroup_sync,NGA_CMSG_PGROUP_SYNC)
#define nga_dmsg_pgroup_sync_ F77_FUNC_(nga_dmsg_pgroup_sync,NGA_DMSG_PGROUP_SYNC)
#define nga_imsg_pgroup_sync_ F77_FUNC_(nga_imsg_pgroup_sync,NGA_IMSG_PGROUP_SYNC)
#define nga_smsg_pgroup_sync_ F77_FUNC_(nga_smsg_pgroup_sync,NGA_SMSG_PGROUP_SYNC)
#define nga_zmsg_pgroup_sync_ F77_FUNC_(nga_zmsg_pgroup_sync,NGA_ZMSG_PGROUP_SYNC)
#define ga_pgroup_gop_  F77_FUNC_(ga_pgroup_gop, GA_PGROUP_GOP)
#define ga_cpgroup_gop_ F77_FUNC_(ga_cpgroup_gop,GA_CPGROUP_GOP)
#define ga_dpgroup_gop_ F77_FUNC_(ga_dpgroup_gop,GA_DPGROUP_GOP)
#define ga_ipgroup_gop_ F77_FUNC_(ga_ipgroup_gop,GA_IPGROUP_GOP)
#define ga_spgroup_gop_ F77_FUNC_(ga_spgroup_gop,GA_SPGROUP_GOP)
#define ga_zpgroup_gop_ F77_FUNC_(ga_zpgroup_gop,GA_ZPGROUP_GOP)
#define nga_pgroup_gop_  F77_FUNC_(nga_pgroup_gop, NGA_PGROUP_GOP)
#define nga_cpgroup_gop_ F77_FUNC_(nga_cpgroup_gop,NGA_CPGROUP_GOP)
#define nga_dpgroup_gop_ F77_FUNC_(nga_dpgroup_gop,NGA_DPGROUP_GOP)
#define nga_ipgroup_gop_ F77_FUNC_(nga_ipgroup_gop,NGA_IPGROUP_GOP)
#define nga_spgroup_gop_ F77_FUNC_(nga_spgroup_gop,NGA_SPGROUP_GOP)
#define nga_zpgroup_gop_ F77_FUNC_(nga_zpgroup_gop,NGA_ZPGROUP_GOP)
#define ga_gop_  F77_FUNC_(ga_gop, GA_GOP)
#define ga_cgop_ F77_FUNC_(ga_cgop,GA_CGOP)
#define ga_dgop_ F77_FUNC_(ga_dgop,GA_DGOP)
#define ga_igop_ F77_FUNC_(ga_igop,GA_IGOP)
#define ga_sgop_ F77_FUNC_(ga_sgop,GA_SGOP)
#define ga_zgop_ F77_FUNC_(ga_zgop,GA_ZGOP)
#define nga_gop_  F77_FUNC_(nga_gop, NGA_GOP)
#define nga_cgop_ F77_FUNC_(nga_cgop,NGA_CGOP)
#define nga_dgop_ F77_FUNC_(nga_dgop,NGA_DGOP)
#define nga_igop_ F77_FUNC_(nga_igop,NGA_IGOP)
#define nga_sgop_ F77_FUNC_(nga_sgop,NGA_SGOP)
#define nga_zgop_ F77_FUNC_(nga_zgop,NGA_ZGOP)
#define ga_abs_value_patch_  F77_FUNC_(ga_abs_value_patch, GA_ABS_VALUE_PATCH)
#define ga_cabs_value_patch_ F77_FUNC_(ga_cabs_value_patch,GA_CABS_VALUE_PATCH)
#define ga_dabs_value_patch_ F77_FUNC_(ga_dabs_value_patch,GA_DABS_VALUE_PATCH)
#define ga_iabs_value_patch_ F77_FUNC_(ga_iabs_value_patch,GA_IABS_VALUE_PATCH)
#define ga_sabs_value_patch_ F77_FUNC_(ga_sabs_value_patch,GA_SABS_VALUE_PATCH)
#define ga_zabs_value_patch_ F77_FUNC_(ga_zabs_value_patch,GA_ZABS_VALUE_PATCH)
#define nga_abs_value_patch_  F77_FUNC_(nga_abs_value_patch, NGA_ABS_VALUE_PATCH)
#define nga_cabs_value_patch_ F77_FUNC_(nga_cabs_value_patch,NGA_CABS_VALUE_PATCH)
#define nga_dabs_value_patch_ F77_FUNC_(nga_dabs_value_patch,NGA_DABS_VALUE_PATCH)
#define nga_iabs_value_patch_ F77_FUNC_(nga_iabs_value_patch,NGA_IABS_VALUE_PATCH)
#define nga_sabs_value_patch_ F77_FUNC_(nga_sabs_value_patch,NGA_SABS_VALUE_PATCH)
#define nga_zabs_value_patch_ F77_FUNC_(nga_zabs_value_patch,NGA_ZABS_VALUE_PATCH)
#define ga_recip_patch_  F77_FUNC_(ga_recip_patch, GA_RECIP_PATCH)
#define ga_crecip_patch_ F77_FUNC_(ga_crecip_patch,GA_CRECIP_PATCH)
#define ga_drecip_patch_ F77_FUNC_(ga_drecip_patch,GA_DRECIP_PATCH)
#define ga_irecip_patch_ F77_FUNC_(ga_irecip_patch,GA_IRECIP_PATCH)
#define ga_srecip_patch_ F77_FUNC_(ga_srecip_patch,GA_SRECIP_PATCH)
#define ga_zrecip_patch_ F77_FUNC_(ga_zrecip_patch,GA_ZRECIP_PATCH)
#define nga_recip_patch_  F77_FUNC_(nga_recip_patch, NGA_RECIP_PATCH)
#define nga_crecip_patch_ F77_FUNC_(nga_crecip_patch,NGA_CRECIP_PATCH)
#define nga_drecip_patch_ F77_FUNC_(nga_drecip_patch,NGA_DRECIP_PATCH)
#define nga_irecip_patch_ F77_FUNC_(nga_irecip_patch,NGA_IRECIP_PATCH)
#define nga_srecip_patch_ F77_FUNC_(nga_srecip_patch,NGA_SRECIP_PATCH)
#define nga_zrecip_patch_ F77_FUNC_(nga_zrecip_patch,NGA_ZRECIP_PATCH)
#define ga_add_constant_patch_  F77_FUNC_(ga_add_constant_patch, GA_ADD_CONSTANT_PATCH)
#define ga_cadd_constant_patch_ F77_FUNC_(ga_cadd_constant_patch,GA_CADD_CONSTANT_PATCH)
#define ga_dadd_constant_patch_ F77_FUNC_(ga_dadd_constant_patch,GA_DADD_CONSTANT_PATCH)
#define ga_iadd_constant_patch_ F77_FUNC_(ga_iadd_constant_patch,GA_IADD_CONSTANT_PATCH)
#define ga_sadd_constant_patch_ F77_FUNC_(ga_sadd_constant_patch,GA_SADD_CONSTANT_PATCH)
#define ga_zadd_constant_patch_ F77_FUNC_(ga_zadd_constant_patch,GA_ZADD_CONSTANT_PATCH)
#define nga_add_constant_patch_  F77_FUNC_(nga_add_constant_patch, NGA_ADD_CONSTANT_PATCH)
#define nga_cadd_constant_patch_ F77_FUNC_(nga_cadd_constant_patch,NGA_CADD_CONSTANT_PATCH)
#define nga_dadd_constant_patch_ F77_FUNC_(nga_dadd_constant_patch,NGA_DADD_CONSTANT_PATCH)
#define nga_iadd_constant_patch_ F77_FUNC_(nga_iadd_constant_patch,NGA_IADD_CONSTANT_PATCH)
#define nga_sadd_constant_patch_ F77_FUNC_(nga_sadd_constant_patch,NGA_SADD_CONSTANT_PATCH)
#define nga_zadd_constant_patch_ F77_FUNC_(nga_zadd_constant_patch,NGA_ZADD_CONSTANT_PATCH)
#define ga_abs_value_  F77_FUNC_(ga_abs_value, GA_ABS_VALUE)
#define ga_cabs_value_ F77_FUNC_(ga_cabs_value,GA_CABS_VALUE)
#define ga_dabs_value_ F77_FUNC_(ga_dabs_value,GA_DABS_VALUE)
#define ga_iabs_value_ F77_FUNC_(ga_iabs_value,GA_IABS_VALUE)
#define ga_sabs_value_ F77_FUNC_(ga_sabs_value,GA_SABS_VALUE)
#define ga_zabs_value_ F77_FUNC_(ga_zabs_value,GA_ZABS_VALUE)
#define nga_abs_value_  F77_FUNC_(nga_abs_value, NGA_ABS_VALUE)
#define nga_cabs_value_ F77_FUNC_(nga_cabs_value,NGA_CABS_VALUE)
#define nga_dabs_value_ F77_FUNC_(nga_dabs_value,NGA_DABS_VALUE)
#define nga_iabs_value_ F77_FUNC_(nga_iabs_value,NGA_IABS_VALUE)
#define nga_sabs_value_ F77_FUNC_(nga_sabs_value,NGA_SABS_VALUE)
#define nga_zabs_value_ F77_FUNC_(nga_zabs_value,NGA_ZABS_VALUE)
#define ga_add_constant_  F77_FUNC_(ga_add_constant, GA_ADD_CONSTANT)
#define ga_cadd_constant_ F77_FUNC_(ga_cadd_constant,GA_CADD_CONSTANT)
#define ga_dadd_constant_ F77_FUNC_(ga_dadd_constant,GA_DADD_CONSTANT)
#define ga_iadd_constant_ F77_FUNC_(ga_iadd_constant,GA_IADD_CONSTANT)
#define ga_sadd_constant_ F77_FUNC_(ga_sadd_constant,GA_SADD_CONSTANT)
#define ga_zadd_constant_ F77_FUNC_(ga_zadd_constant,GA_ZADD_CONSTANT)
#define nga_add_constant_  F77_FUNC_(nga_add_constant, NGA_ADD_CONSTANT)
#define nga_cadd_constant_ F77_FUNC_(nga_cadd_constant,NGA_CADD_CONSTANT)
#define nga_dadd_constant_ F77_FUNC_(nga_dadd_constant,NGA_DADD_CONSTANT)
#define nga_iadd_constant_ F77_FUNC_(nga_iadd_constant,NGA_IADD_CONSTANT)
#define nga_sadd_constant_ F77_FUNC_(nga_sadd_constant,NGA_SADD_CONSTANT)
#define nga_zadd_constant_ F77_FUNC_(nga_zadd_constant,NGA_ZADD_CONSTANT)
#define ga_recip_  F77_FUNC_(ga_recip, GA_RECIP)
#define ga_crecip_ F77_FUNC_(ga_crecip,GA_CRECIP)
#define ga_drecip_ F77_FUNC_(ga_drecip,GA_DRECIP)
#define ga_irecip_ F77_FUNC_(ga_irecip,GA_IRECIP)
#define ga_srecip_ F77_FUNC_(ga_srecip,GA_SRECIP)
#define ga_zrecip_ F77_FUNC_(ga_zrecip,GA_ZRECIP)
#define nga_recip_  F77_FUNC_(nga_recip, NGA_RECIP)
#define nga_crecip_ F77_FUNC_(nga_crecip,NGA_CRECIP)
#define nga_drecip_ F77_FUNC_(nga_drecip,NGA_DRECIP)
#define nga_irecip_ F77_FUNC_(nga_irecip,NGA_IRECIP)
#define nga_srecip_ F77_FUNC_(nga_srecip,NGA_SRECIP)
#define nga_zrecip_ F77_FUNC_(nga_zrecip,NGA_ZRECIP)
#define ga_elem_multiply_  F77_FUNC_(ga_elem_multiply, GA_ELEM_MULTIPLY)
#define ga_celem_multiply_ F77_FUNC_(ga_celem_multiply,GA_CELEM_MULTIPLY)
#define ga_delem_multiply_ F77_FUNC_(ga_delem_multiply,GA_DELEM_MULTIPLY)
#define ga_ielem_multiply_ F77_FUNC_(ga_ielem_multiply,GA_IELEM_MULTIPLY)
#define ga_selem_multiply_ F77_FUNC_(ga_selem_multiply,GA_SELEM_MULTIPLY)
#define ga_zelem_multiply_ F77_FUNC_(ga_zelem_multiply,GA_ZELEM_MULTIPLY)
#define nga_elem_multiply_  F77_FUNC_(nga_elem_multiply, NGA_ELEM_MULTIPLY)
#define nga_celem_multiply_ F77_FUNC_(nga_celem_multiply,NGA_CELEM_MULTIPLY)
#define nga_delem_multiply_ F77_FUNC_(nga_delem_multiply,NGA_DELEM_MULTIPLY)
#define nga_ielem_multiply_ F77_FUNC_(nga_ielem_multiply,NGA_IELEM_MULTIPLY)
#define nga_selem_multiply_ F77_FUNC_(nga_selem_multiply,NGA_SELEM_MULTIPLY)
#define nga_zelem_multiply_ F77_FUNC_(nga_zelem_multiply,NGA_ZELEM_MULTIPLY)
#define ga_elem_divide_  F77_FUNC_(ga_elem_divide, GA_ELEM_DIVIDE)
#define ga_celem_divide_ F77_FUNC_(ga_celem_divide,GA_CELEM_DIVIDE)
#define ga_delem_divide_ F77_FUNC_(ga_delem_divide,GA_DELEM_DIVIDE)
#define ga_ielem_divide_ F77_FUNC_(ga_ielem_divide,GA_IELEM_DIVIDE)
#define ga_selem_divide_ F77_FUNC_(ga_selem_divide,GA_SELEM_DIVIDE)
#define ga_zelem_divide_ F77_FUNC_(ga_zelem_divide,GA_ZELEM_DIVIDE)
#define nga_elem_divide_  F77_FUNC_(nga_elem_divide, NGA_ELEM_DIVIDE)
#define nga_celem_divide_ F77_FUNC_(nga_celem_divide,NGA_CELEM_DIVIDE)
#define nga_delem_divide_ F77_FUNC_(nga_delem_divide,NGA_DELEM_DIVIDE)
#define nga_ielem_divide_ F77_FUNC_(nga_ielem_divide,NGA_IELEM_DIVIDE)
#define nga_selem_divide_ F77_FUNC_(nga_selem_divide,NGA_SELEM_DIVIDE)
#define nga_zelem_divide_ F77_FUNC_(nga_zelem_divide,NGA_ZELEM_DIVIDE)
#define ga_elem_maximum_  F77_FUNC_(ga_elem_maximum, GA_ELEM_MAXIMUM)
#define ga_celem_maximum_ F77_FUNC_(ga_celem_maximum,GA_CELEM_MAXIMUM)
#define ga_delem_maximum_ F77_FUNC_(ga_delem_maximum,GA_DELEM_MAXIMUM)
#define ga_ielem_maximum_ F77_FUNC_(ga_ielem_maximum,GA_IELEM_MAXIMUM)
#define ga_selem_maximum_ F77_FUNC_(ga_selem_maximum,GA_SELEM_MAXIMUM)
#define ga_zelem_maximum_ F77_FUNC_(ga_zelem_maximum,GA_ZELEM_MAXIMUM)
#define nga_elem_maximum_  F77_FUNC_(nga_elem_maximum, NGA_ELEM_MAXIMUM)
#define nga_celem_maximum_ F77_FUNC_(nga_celem_maximum,NGA_CELEM_MAXIMUM)
#define nga_delem_maximum_ F77_FUNC_(nga_delem_maximum,NGA_DELEM_MAXIMUM)
#define nga_ielem_maximum_ F77_FUNC_(nga_ielem_maximum,NGA_IELEM_MAXIMUM)
#define nga_selem_maximum_ F77_FUNC_(nga_selem_maximum,NGA_SELEM_MAXIMUM)
#define nga_zelem_maximum_ F77_FUNC_(nga_zelem_maximum,NGA_ZELEM_MAXIMUM)
#define ga_elem_minimum_  F77_FUNC_(ga_elem_minimum, GA_ELEM_MINIMUM)
#define ga_celem_minimum_ F77_FUNC_(ga_celem_minimum,GA_CELEM_MINIMUM)
#define ga_delem_minimum_ F77_FUNC_(ga_delem_minimum,GA_DELEM_MINIMUM)
#define ga_ielem_minimum_ F77_FUNC_(ga_ielem_minimum,GA_IELEM_MINIMUM)
#define ga_selem_minimum_ F77_FUNC_(ga_selem_minimum,GA_SELEM_MINIMUM)
#define ga_zelem_minimum_ F77_FUNC_(ga_zelem_minimum,GA_ZELEM_MINIMUM)
#define nga_elem_minimum_  F77_FUNC_(nga_elem_minimum, NGA_ELEM_MINIMUM)
#define nga_celem_minimum_ F77_FUNC_(nga_celem_minimum,NGA_CELEM_MINIMUM)
#define nga_delem_minimum_ F77_FUNC_(nga_delem_minimum,NGA_DELEM_MINIMUM)
#define nga_ielem_minimum_ F77_FUNC_(nga_ielem_minimum,NGA_IELEM_MINIMUM)
#define nga_selem_minimum_ F77_FUNC_(nga_selem_minimum,NGA_SELEM_MINIMUM)
#define nga_zelem_minimum_ F77_FUNC_(nga_zelem_minimum,NGA_ZELEM_MINIMUM)
#define ga_elem_multiply_patch_  F77_FUNC_(ga_elem_multiply_patch, GA_ELEM_MULTIPLY_PATCH)
#define ga_celem_multiply_patch_ F77_FUNC_(ga_celem_multiply_patch,GA_CELEM_MULTIPLY_PATCH)
#define ga_delem_multiply_patch_ F77_FUNC_(ga_delem_multiply_patch,GA_DELEM_MULTIPLY_PATCH)
#define ga_ielem_multiply_patch_ F77_FUNC_(ga_ielem_multiply_patch,GA_IELEM_MULTIPLY_PATCH)
#define ga_selem_multiply_patch_ F77_FUNC_(ga_selem_multiply_patch,GA_SELEM_MULTIPLY_PATCH)
#define ga_zelem_multiply_patch_ F77_FUNC_(ga_zelem_multiply_patch,GA_ZELEM_MULTIPLY_PATCH)
#define nga_elem_multiply_patch_  F77_FUNC_(nga_elem_multiply_patch, NGA_ELEM_MULTIPLY_PATCH)
#define nga_celem_multiply_patch_ F77_FUNC_(nga_celem_multiply_patch,NGA_CELEM_MULTIPLY_PATCH)
#define nga_delem_multiply_patch_ F77_FUNC_(nga_delem_multiply_patch,NGA_DELEM_MULTIPLY_PATCH)
#define nga_ielem_multiply_patch_ F77_FUNC_(nga_ielem_multiply_patch,NGA_IELEM_MULTIPLY_PATCH)
#define nga_selem_multiply_patch_ F77_FUNC_(nga_selem_multiply_patch,NGA_SELEM_MULTIPLY_PATCH)
#define nga_zelem_multiply_patch_ F77_FUNC_(nga_zelem_multiply_patch,NGA_ZELEM_MULTIPLY_PATCH)
#define ga_elem_divide_patch_  F77_FUNC_(ga_elem_divide_patch, GA_ELEM_DIVIDE_PATCH)
#define ga_celem_divide_patch_ F77_FUNC_(ga_celem_divide_patch,GA_CELEM_DIVIDE_PATCH)
#define ga_delem_divide_patch_ F77_FUNC_(ga_delem_divide_patch,GA_DELEM_DIVIDE_PATCH)
#define ga_ielem_divide_patch_ F77_FUNC_(ga_ielem_divide_patch,GA_IELEM_DIVIDE_PATCH)
#define ga_selem_divide_patch_ F77_FUNC_(ga_selem_divide_patch,GA_SELEM_DIVIDE_PATCH)
#define ga_zelem_divide_patch_ F77_FUNC_(ga_zelem_divide_patch,GA_ZELEM_DIVIDE_PATCH)
#define nga_elem_divide_patch_  F77_FUNC_(nga_elem_divide_patch, NGA_ELEM_DIVIDE_PATCH)
#define nga_celem_divide_patch_ F77_FUNC_(nga_celem_divide_patch,NGA_CELEM_DIVIDE_PATCH)
#define nga_delem_divide_patch_ F77_FUNC_(nga_delem_divide_patch,NGA_DELEM_DIVIDE_PATCH)
#define nga_ielem_divide_patch_ F77_FUNC_(nga_ielem_divide_patch,NGA_IELEM_DIVIDE_PATCH)
#define nga_selem_divide_patch_ F77_FUNC_(nga_selem_divide_patch,NGA_SELEM_DIVIDE_PATCH)
#define nga_zelem_divide_patch_ F77_FUNC_(nga_zelem_divide_patch,NGA_ZELEM_DIVIDE_PATCH)
#define ga_elem_maximum_patch_  F77_FUNC_(ga_elem_maximum_patch, GA_ELEM_MAXIMUM_PATCH)
#define ga_celem_maximum_patch_ F77_FUNC_(ga_celem_maximum_patch,GA_CELEM_MAXIMUM_PATCH)
#define ga_delem_maximum_patch_ F77_FUNC_(ga_delem_maximum_patch,GA_DELEM_MAXIMUM_PATCH)
#define ga_ielem_maximum_patch_ F77_FUNC_(ga_ielem_maximum_patch,GA_IELEM_MAXIMUM_PATCH)
#define ga_selem_maximum_patch_ F77_FUNC_(ga_selem_maximum_patch,GA_SELEM_MAXIMUM_PATCH)
#define ga_zelem_maximum_patch_ F77_FUNC_(ga_zelem_maximum_patch,GA_ZELEM_MAXIMUM_PATCH)
#define nga_elem_maximum_patch_  F77_FUNC_(nga_elem_maximum_patch, NGA_ELEM_MAXIMUM_PATCH)
#define nga_celem_maximum_patch_ F77_FUNC_(nga_celem_maximum_patch,NGA_CELEM_MAXIMUM_PATCH)
#define nga_delem_maximum_patch_ F77_FUNC_(nga_delem_maximum_patch,NGA_DELEM_MAXIMUM_PATCH)
#define nga_ielem_maximum_patch_ F77_FUNC_(nga_ielem_maximum_patch,NGA_IELEM_MAXIMUM_PATCH)
#define nga_selem_maximum_patch_ F77_FUNC_(nga_selem_maximum_patch,NGA_SELEM_MAXIMUM_PATCH)
#define nga_zelem_maximum_patch_ F77_FUNC_(nga_zelem_maximum_patch,NGA_ZELEM_MAXIMUM_PATCH)
#define ga_elem_minimum_patch_  F77_FUNC_(ga_elem_minimum_patch, GA_ELEM_MINIMUM_PATCH)
#define ga_celem_minimum_patch_ F77_FUNC_(ga_celem_minimum_patch,GA_CELEM_MINIMUM_PATCH)
#define ga_delem_minimum_patch_ F77_FUNC_(ga_delem_minimum_patch,GA_DELEM_MINIMUM_PATCH)
#define ga_ielem_minimum_patch_ F77_FUNC_(ga_ielem_minimum_patch,GA_IELEM_MINIMUM_PATCH)
#define ga_selem_minimum_patch_ F77_FUNC_(ga_selem_minimum_patch,GA_SELEM_MINIMUM_PATCH)
#define ga_zelem_minimum_patch_ F77_FUNC_(ga_zelem_minimum_patch,GA_ZELEM_MINIMUM_PATCH)
#define nga_elem_minimum_patch_  F77_FUNC_(nga_elem_minimum_patch, NGA_ELEM_MINIMUM_PATCH)
#define nga_celem_minimum_patch_ F77_FUNC_(nga_celem_minimum_patch,NGA_CELEM_MINIMUM_PATCH)
#define nga_delem_minimum_patch_ F77_FUNC_(nga_delem_minimum_patch,NGA_DELEM_MINIMUM_PATCH)
#define nga_ielem_minimum_patch_ F77_FUNC_(nga_ielem_minimum_patch,NGA_IELEM_MINIMUM_PATCH)
#define nga_selem_minimum_patch_ F77_FUNC_(nga_selem_minimum_patch,NGA_SELEM_MINIMUM_PATCH)
#define nga_zelem_minimum_patch_ F77_FUNC_(nga_zelem_minimum_patch,NGA_ZELEM_MINIMUM_PATCH)
#define ga_elem_step_divide_patch_  F77_FUNC_(ga_elem_step_divide_patch, GA_ELEM_STEP_DIVIDE_PATCH)
#define ga_celem_step_divide_patch_ F77_FUNC_(ga_celem_step_divide_patch,GA_CELEM_STEP_DIVIDE_PATCH)
#define ga_delem_step_divide_patch_ F77_FUNC_(ga_delem_step_divide_patch,GA_DELEM_STEP_DIVIDE_PATCH)
#define ga_ielem_step_divide_patch_ F77_FUNC_(ga_ielem_step_divide_patch,GA_IELEM_STEP_DIVIDE_PATCH)
#define ga_selem_step_divide_patch_ F77_FUNC_(ga_selem_step_divide_patch,GA_SELEM_STEP_DIVIDE_PATCH)
#define ga_zelem_step_divide_patch_ F77_FUNC_(ga_zelem_step_divide_patch,GA_ZELEM_STEP_DIVIDE_PATCH)
#define nga_elem_step_divide_patch_  F77_FUNC_(nga_elem_step_divide_patch, NGA_ELEM_STEP_DIVIDE_PATCH)
#define nga_celem_step_divide_patch_ F77_FUNC_(nga_celem_step_divide_patch,NGA_CELEM_STEP_DIVIDE_PATCH)
#define nga_delem_step_divide_patch_ F77_FUNC_(nga_delem_step_divide_patch,NGA_DELEM_STEP_DIVIDE_PATCH)
#define nga_ielem_step_divide_patch_ F77_FUNC_(nga_ielem_step_divide_patch,NGA_IELEM_STEP_DIVIDE_PATCH)
#define nga_selem_step_divide_patch_ F77_FUNC_(nga_selem_step_divide_patch,NGA_SELEM_STEP_DIVIDE_PATCH)
#define nga_zelem_step_divide_patch_ F77_FUNC_(nga_zelem_step_divide_patch,NGA_ZELEM_STEP_DIVIDE_PATCH)
#define ga_elem_stepb_divide_patch_  F77_FUNC_(ga_elem_stepb_divide_patch, GA_ELEM_STEPB_DIVIDE_PATCH)
#define ga_celem_stepb_divide_patch_ F77_FUNC_(ga_celem_stepb_divide_patch,GA_CELEM_STEPB_DIVIDE_PATCH)
#define ga_delem_stepb_divide_patch_ F77_FUNC_(ga_delem_stepb_divide_patch,GA_DELEM_STEPB_DIVIDE_PATCH)
#define ga_ielem_stepb_divide_patch_ F77_FUNC_(ga_ielem_stepb_divide_patch,GA_IELEM_STEPB_DIVIDE_PATCH)
#define ga_selem_stepb_divide_patch_ F77_FUNC_(ga_selem_stepb_divide_patch,GA_SELEM_STEPB_DIVIDE_PATCH)
#define ga_zelem_stepb_divide_patch_ F77_FUNC_(ga_zelem_stepb_divide_patch,GA_ZELEM_STEPB_DIVIDE_PATCH)
#define nga_elem_stepb_divide_patch_  F77_FUNC_(nga_elem_stepb_divide_patch, NGA_ELEM_STEPB_DIVIDE_PATCH)
#define nga_celem_stepb_divide_patch_ F77_FUNC_(nga_celem_stepb_divide_patch,NGA_CELEM_STEPB_DIVIDE_PATCH)
#define nga_delem_stepb_divide_patch_ F77_FUNC_(nga_delem_stepb_divide_patch,NGA_DELEM_STEPB_DIVIDE_PATCH)
#define nga_ielem_stepb_divide_patch_ F77_FUNC_(nga_ielem_stepb_divide_patch,NGA_IELEM_STEPB_DIVIDE_PATCH)
#define nga_selem_stepb_divide_patch_ F77_FUNC_(nga_selem_stepb_divide_patch,NGA_SELEM_STEPB_DIVIDE_PATCH)
#define nga_zelem_stepb_divide_patch_ F77_FUNC_(nga_zelem_stepb_divide_patch,NGA_ZELEM_STEPB_DIVIDE_PATCH)
#define ga_step_mask_patch_  F77_FUNC_(ga_step_mask_patch, GA_STEP_MASK_PATCH)
#define ga_cstep_mask_patch_ F77_FUNC_(ga_cstep_mask_patch,GA_CSTEP_MASK_PATCH)
#define ga_dstep_mask_patch_ F77_FUNC_(ga_dstep_mask_patch,GA_DSTEP_MASK_PATCH)
#define ga_istep_mask_patch_ F77_FUNC_(ga_istep_mask_patch,GA_ISTEP_MASK_PATCH)
#define ga_sstep_mask_patch_ F77_FUNC_(ga_sstep_mask_patch,GA_SSTEP_MASK_PATCH)
#define ga_zstep_mask_patch_ F77_FUNC_(ga_zstep_mask_patch,GA_ZSTEP_MASK_PATCH)
#define nga_step_mask_patch_  F77_FUNC_(nga_step_mask_patch, NGA_STEP_MASK_PATCH)
#define nga_cstep_mask_patch_ F77_FUNC_(nga_cstep_mask_patch,NGA_CSTEP_MASK_PATCH)
#define nga_dstep_mask_patch_ F77_FUNC_(nga_dstep_mask_patch,NGA_DSTEP_MASK_PATCH)
#define nga_istep_mask_patch_ F77_FUNC_(nga_istep_mask_patch,NGA_ISTEP_MASK_PATCH)
#define nga_sstep_mask_patch_ F77_FUNC_(nga_sstep_mask_patch,NGA_SSTEP_MASK_PATCH)
#define nga_zstep_mask_patch_ F77_FUNC_(nga_zstep_mask_patch,NGA_ZSTEP_MASK_PATCH)
#define ga_step_bound_info_patch_  F77_FUNC_(ga_step_bound_info_patch, GA_STEP_BOUND_INFO_PATCH)
#define ga_cstep_bound_info_patch_ F77_FUNC_(ga_cstep_bound_info_patch,GA_CSTEP_BOUND_INFO_PATCH)
#define ga_dstep_bound_info_patch_ F77_FUNC_(ga_dstep_bound_info_patch,GA_DSTEP_BOUND_INFO_PATCH)
#define ga_istep_bound_info_patch_ F77_FUNC_(ga_istep_bound_info_patch,GA_ISTEP_BOUND_INFO_PATCH)
#define ga_sstep_bound_info_patch_ F77_FUNC_(ga_sstep_bound_info_patch,GA_SSTEP_BOUND_INFO_PATCH)
#define ga_zstep_bound_info_patch_ F77_FUNC_(ga_zstep_bound_info_patch,GA_ZSTEP_BOUND_INFO_PATCH)
#define nga_step_bound_info_patch_  F77_FUNC_(nga_step_bound_info_patch, NGA_STEP_BOUND_INFO_PATCH)
#define nga_cstep_bound_info_patch_ F77_FUNC_(nga_cstep_bound_info_patch,NGA_CSTEP_BOUND_INFO_PATCH)
#define nga_dstep_bound_info_patch_ F77_FUNC_(nga_dstep_bound_info_patch,NGA_DSTEP_BOUND_INFO_PATCH)
#define nga_istep_bound_info_patch_ F77_FUNC_(nga_istep_bound_info_patch,NGA_ISTEP_BOUND_INFO_PATCH)
#define nga_sstep_bound_info_patch_ F77_FUNC_(nga_sstep_bound_info_patch,NGA_SSTEP_BOUND_INFO_PATCH)
#define nga_zstep_bound_info_patch_ F77_FUNC_(nga_zstep_bound_info_patch,NGA_ZSTEP_BOUND_INFO_PATCH)
#define ga_step_max_patch_  F77_FUNC_(ga_step_max_patch, GA_STEP_MAX_PATCH)
#define ga_cstep_max_patch_ F77_FUNC_(ga_cstep_max_patch,GA_CSTEP_MAX_PATCH)
#define ga_dstep_max_patch_ F77_FUNC_(ga_dstep_max_patch,GA_DSTEP_MAX_PATCH)
#define ga_istep_max_patch_ F77_FUNC_(ga_istep_max_patch,GA_ISTEP_MAX_PATCH)
#define ga_sstep_max_patch_ F77_FUNC_(ga_sstep_max_patch,GA_SSTEP_MAX_PATCH)
#define ga_zstep_max_patch_ F77_FUNC_(ga_zstep_max_patch,GA_ZSTEP_MAX_PATCH)
#define nga_step_max_patch_  F77_FUNC_(nga_step_max_patch, NGA_STEP_MAX_PATCH)
#define nga_cstep_max_patch_ F77_FUNC_(nga_cstep_max_patch,NGA_CSTEP_MAX_PATCH)
#define nga_dstep_max_patch_ F77_FUNC_(nga_dstep_max_patch,NGA_DSTEP_MAX_PATCH)
#define nga_istep_max_patch_ F77_FUNC_(nga_istep_max_patch,NGA_ISTEP_MAX_PATCH)
#define nga_sstep_max_patch_ F77_FUNC_(nga_sstep_max_patch,NGA_SSTEP_MAX_PATCH)
#define nga_zstep_max_patch_ F77_FUNC_(nga_zstep_max_patch,NGA_ZSTEP_MAX_PATCH)
#define ga_step_max_  F77_FUNC_(ga_step_max, GA_STEP_MAX)
#define ga_cstep_max_ F77_FUNC_(ga_cstep_max,GA_CSTEP_MAX)
#define ga_dstep_max_ F77_FUNC_(ga_dstep_max,GA_DSTEP_MAX)
#define ga_istep_max_ F77_FUNC_(ga_istep_max,GA_ISTEP_MAX)
#define ga_sstep_max_ F77_FUNC_(ga_sstep_max,GA_SSTEP_MAX)
#define ga_zstep_max_ F77_FUNC_(ga_zstep_max,GA_ZSTEP_MAX)
#define nga_step_max_  F77_FUNC_(nga_step_max, NGA_STEP_MAX)
#define nga_cstep_max_ F77_FUNC_(nga_cstep_max,NGA_CSTEP_MAX)
#define nga_dstep_max_ F77_FUNC_(nga_dstep_max,NGA_DSTEP_MAX)
#define nga_istep_max_ F77_FUNC_(nga_istep_max,NGA_ISTEP_MAX)
#define nga_sstep_max_ F77_FUNC_(nga_sstep_max,NGA_SSTEP_MAX)
#define nga_zstep_max_ F77_FUNC_(nga_zstep_max,NGA_ZSTEP_MAX)
#define ga_step_bound_info_  F77_FUNC_(ga_step_bound_info, GA_STEP_BOUND_INFO)
#define ga_cstep_bound_info_ F77_FUNC_(ga_cstep_bound_info,GA_CSTEP_BOUND_INFO)
#define ga_dstep_bound_info_ F77_FUNC_(ga_dstep_bound_info,GA_DSTEP_BOUND_INFO)
#define ga_istep_bound_info_ F77_FUNC_(ga_istep_bound_info,GA_ISTEP_BOUND_INFO)
#define ga_sstep_bound_info_ F77_FUNC_(ga_sstep_bound_info,GA_SSTEP_BOUND_INFO)
#define ga_zstep_bound_info_ F77_FUNC_(ga_zstep_bound_info,GA_ZSTEP_BOUND_INFO)
#define nga_step_bound_info_  F77_FUNC_(nga_step_bound_info, NGA_STEP_BOUND_INFO)
#define nga_cstep_bound_info_ F77_FUNC_(nga_cstep_bound_info,NGA_CSTEP_BOUND_INFO)
#define nga_dstep_bound_info_ F77_FUNC_(nga_dstep_bound_info,NGA_DSTEP_BOUND_INFO)
#define nga_istep_bound_info_ F77_FUNC_(nga_istep_bound_info,NGA_ISTEP_BOUND_INFO)
#define nga_sstep_bound_info_ F77_FUNC_(nga_sstep_bound_info,NGA_SSTEP_BOUND_INFO)
#define nga_zstep_bound_info_ F77_FUNC_(nga_zstep_bound_info,NGA_ZSTEP_BOUND_INFO)
#define ga_lu_solve_seq_  F77_FUNC_(ga_lu_solve_seq, GA_LU_SOLVE_SEQ)
#define ga_clu_solve_seq_ F77_FUNC_(ga_clu_solve_seq,GA_CLU_SOLVE_SEQ)
#define ga_dlu_solve_seq_ F77_FUNC_(ga_dlu_solve_seq,GA_DLU_SOLVE_SEQ)
#define ga_ilu_solve_seq_ F77_FUNC_(ga_ilu_solve_seq,GA_ILU_SOLVE_SEQ)
#define ga_slu_solve_seq_ F77_FUNC_(ga_slu_solve_seq,GA_SLU_SOLVE_SEQ)
#define ga_zlu_solve_seq_ F77_FUNC_(ga_zlu_solve_seq,GA_ZLU_SOLVE_SEQ)
#define nga_lu_solve_seq_  F77_FUNC_(nga_lu_solve_seq, NGA_LU_SOLVE_SEQ)
#define nga_clu_solve_seq_ F77_FUNC_(nga_clu_solve_seq,NGA_CLU_SOLVE_SEQ)
#define nga_dlu_solve_seq_ F77_FUNC_(nga_dlu_solve_seq,NGA_DLU_SOLVE_SEQ)
#define nga_ilu_solve_seq_ F77_FUNC_(nga_ilu_solve_seq,NGA_ILU_SOLVE_SEQ)
#define nga_slu_solve_seq_ F77_FUNC_(nga_slu_solve_seq,NGA_SLU_SOLVE_SEQ)
#define nga_zlu_solve_seq_ F77_FUNC_(nga_zlu_solve_seq,NGA_ZLU_SOLVE_SEQ)
#define ga_print_stats_  F77_FUNC_(ga_print_stats, GA_PRINT_STATS)
#define ga_cprint_stats_ F77_FUNC_(ga_cprint_stats,GA_CPRINT_STATS)
#define ga_dprint_stats_ F77_FUNC_(ga_dprint_stats,GA_DPRINT_STATS)
#define ga_iprint_stats_ F77_FUNC_(ga_iprint_stats,GA_IPRINT_STATS)
#define ga_sprint_stats_ F77_FUNC_(ga_sprint_stats,GA_SPRINT_STATS)
#define ga_zprint_stats_ F77_FUNC_(ga_zprint_stats,GA_ZPRINT_STATS)
#define nga_print_stats_  F77_FUNC_(nga_print_stats, NGA_PRINT_STATS)
#define nga_cprint_stats_ F77_FUNC_(nga_cprint_stats,NGA_CPRINT_STATS)
#define nga_dprint_stats_ F77_FUNC_(nga_dprint_stats,NGA_DPRINT_STATS)
#define nga_iprint_stats_ F77_FUNC_(nga_iprint_stats,NGA_IPRINT_STATS)
#define nga_sprint_stats_ F77_FUNC_(nga_sprint_stats,NGA_SPRINT_STATS)
#define nga_zprint_stats_ F77_FUNC_(nga_zprint_stats,NGA_ZPRINT_STATS)
#define ga_error_  F77_FUNC_(ga_error, GA_ERROR)
#define ga_cerror_ F77_FUNC_(ga_cerror,GA_CERROR)
#define ga_derror_ F77_FUNC_(ga_derror,GA_DERROR)
#define ga_ierror_ F77_FUNC_(ga_ierror,GA_IERROR)
#define ga_serror_ F77_FUNC_(ga_serror,GA_SERROR)
#define ga_zerror_ F77_FUNC_(ga_zerror,GA_ZERROR)
#define nga_error_  F77_FUNC_(nga_error, NGA_ERROR)
#define nga_cerror_ F77_FUNC_(nga_cerror,NGA_CERROR)
#define nga_derror_ F77_FUNC_(nga_derror,NGA_DERROR)
#define nga_ierror_ F77_FUNC_(nga_ierror,NGA_IERROR)
#define nga_serror_ F77_FUNC_(nga_serror,NGA_SERROR)
#define nga_zerror_ F77_FUNC_(nga_zerror,NGA_ZERROR)
#define ga_cluster_nodeid_  F77_FUNC_(ga_cluster_nodeid, GA_CLUSTER_NODEID)
#define ga_ccluster_nodeid_ F77_FUNC_(ga_ccluster_nodeid,GA_CCLUSTER_NODEID)
#define ga_dcluster_nodeid_ F77_FUNC_(ga_dcluster_nodeid,GA_DCLUSTER_NODEID)
#define ga_icluster_nodeid_ F77_FUNC_(ga_icluster_nodeid,GA_ICLUSTER_NODEID)
#define ga_scluster_nodeid_ F77_FUNC_(ga_scluster_nodeid,GA_SCLUSTER_NODEID)
#define ga_zcluster_nodeid_ F77_FUNC_(ga_zcluster_nodeid,GA_ZCLUSTER_NODEID)
#define nga_cluster_nodeid_  F77_FUNC_(nga_cluster_nodeid, NGA_CLUSTER_NODEID)
#define nga_ccluster_nodeid_ F77_FUNC_(nga_ccluster_nodeid,NGA_CCLUSTER_NODEID)
#define nga_dcluster_nodeid_ F77_FUNC_(nga_dcluster_nodeid,NGA_DCLUSTER_NODEID)
#define nga_icluster_nodeid_ F77_FUNC_(nga_icluster_nodeid,NGA_ICLUSTER_NODEID)
#define nga_scluster_nodeid_ F77_FUNC_(nga_scluster_nodeid,NGA_SCLUSTER_NODEID)
#define nga_zcluster_nodeid_ F77_FUNC_(nga_zcluster_nodeid,NGA_ZCLUSTER_NODEID)
#define ga_cluster_nprocs_  F77_FUNC_(ga_cluster_nprocs, GA_CLUSTER_NPROCS)
#define ga_ccluster_nprocs_ F77_FUNC_(ga_ccluster_nprocs,GA_CCLUSTER_NPROCS)
#define ga_dcluster_nprocs_ F77_FUNC_(ga_dcluster_nprocs,GA_DCLUSTER_NPROCS)
#define ga_icluster_nprocs_ F77_FUNC_(ga_icluster_nprocs,GA_ICLUSTER_NPROCS)
#define ga_scluster_nprocs_ F77_FUNC_(ga_scluster_nprocs,GA_SCLUSTER_NPROCS)
#define ga_zcluster_nprocs_ F77_FUNC_(ga_zcluster_nprocs,GA_ZCLUSTER_NPROCS)
#define nga_cluster_nprocs_  F77_FUNC_(nga_cluster_nprocs, NGA_CLUSTER_NPROCS)
#define nga_ccluster_nprocs_ F77_FUNC_(nga_ccluster_nprocs,NGA_CCLUSTER_NPROCS)
#define nga_dcluster_nprocs_ F77_FUNC_(nga_dcluster_nprocs,NGA_DCLUSTER_NPROCS)
#define nga_icluster_nprocs_ F77_FUNC_(nga_icluster_nprocs,NGA_ICLUSTER_NPROCS)
#define nga_scluster_nprocs_ F77_FUNC_(nga_scluster_nprocs,NGA_SCLUSTER_NPROCS)
#define nga_zcluster_nprocs_ F77_FUNC_(nga_zcluster_nprocs,NGA_ZCLUSTER_NPROCS)
#define ga_cluster_procid_  F77_FUNC_(ga_cluster_procid, GA_CLUSTER_PROCID)
#define ga_ccluster_procid_ F77_FUNC_(ga_ccluster_procid,GA_CCLUSTER_PROCID)
#define ga_dcluster_procid_ F77_FUNC_(ga_dcluster_procid,GA_DCLUSTER_PROCID)
#define ga_icluster_procid_ F77_FUNC_(ga_icluster_procid,GA_ICLUSTER_PROCID)
#define ga_scluster_procid_ F77_FUNC_(ga_scluster_procid,GA_SCLUSTER_PROCID)
#define ga_zcluster_procid_ F77_FUNC_(ga_zcluster_procid,GA_ZCLUSTER_PROCID)
#define nga_cluster_procid_  F77_FUNC_(nga_cluster_procid, NGA_CLUSTER_PROCID)
#define nga_ccluster_procid_ F77_FUNC_(nga_ccluster_procid,NGA_CCLUSTER_PROCID)
#define nga_dcluster_procid_ F77_FUNC_(nga_dcluster_procid,NGA_DCLUSTER_PROCID)
#define nga_icluster_procid_ F77_FUNC_(nga_icluster_procid,NGA_ICLUSTER_PROCID)
#define nga_scluster_procid_ F77_FUNC_(nga_scluster_procid,NGA_SCLUSTER_PROCID)
#define nga_zcluster_procid_ F77_FUNC_(nga_zcluster_procid,NGA_ZCLUSTER_PROCID)
#define ga_cluster_nnodes_  F77_FUNC_(ga_cluster_nnodes, GA_CLUSTER_NNODES)
#define ga_ccluster_nnodes_ F77_FUNC_(ga_ccluster_nnodes,GA_CCLUSTER_NNODES)
#define ga_dcluster_nnodes_ F77_FUNC_(ga_dcluster_nnodes,GA_DCLUSTER_NNODES)
#define ga_icluster_nnodes_ F77_FUNC_(ga_icluster_nnodes,GA_ICLUSTER_NNODES)
#define ga_scluster_nnodes_ F77_FUNC_(ga_scluster_nnodes,GA_SCLUSTER_NNODES)
#define ga_zcluster_nnodes_ F77_FUNC_(ga_zcluster_nnodes,GA_ZCLUSTER_NNODES)
#define nga_cluster_nnodes_  F77_FUNC_(nga_cluster_nnodes, NGA_CLUSTER_NNODES)
#define nga_ccluster_nnodes_ F77_FUNC_(nga_ccluster_nnodes,NGA_CCLUSTER_NNODES)
#define nga_dcluster_nnodes_ F77_FUNC_(nga_dcluster_nnodes,NGA_DCLUSTER_NNODES)
#define nga_icluster_nnodes_ F77_FUNC_(nga_icluster_nnodes,NGA_ICLUSTER_NNODES)
#define nga_scluster_nnodes_ F77_FUNC_(nga_scluster_nnodes,NGA_SCLUSTER_NNODES)
#define nga_zcluster_nnodes_ F77_FUNC_(nga_zcluster_nnodes,NGA_ZCLUSTER_NNODES)
#define ga_cluster_proc_nodeid_  F77_FUNC_(ga_cluster_proc_nodeid, GA_CLUSTER_PROC_NODEID)
#define ga_ccluster_proc_nodeid_ F77_FUNC_(ga_ccluster_proc_nodeid,GA_CCLUSTER_PROC_NODEID)
#define ga_dcluster_proc_nodeid_ F77_FUNC_(ga_dcluster_proc_nodeid,GA_DCLUSTER_PROC_NODEID)
#define ga_icluster_proc_nodeid_ F77_FUNC_(ga_icluster_proc_nodeid,GA_ICLUSTER_PROC_NODEID)
#define ga_scluster_proc_nodeid_ F77_FUNC_(ga_scluster_proc_nodeid,GA_SCLUSTER_PROC_NODEID)
#define ga_zcluster_proc_nodeid_ F77_FUNC_(ga_zcluster_proc_nodeid,GA_ZCLUSTER_PROC_NODEID)
#define nga_cluster_proc_nodeid_  F77_FUNC_(nga_cluster_proc_nodeid, NGA_CLUSTER_PROC_NODEID)
#define nga_ccluster_proc_nodeid_ F77_FUNC_(nga_ccluster_proc_nodeid,NGA_CCLUSTER_PROC_NODEID)
#define nga_dcluster_proc_nodeid_ F77_FUNC_(nga_dcluster_proc_nodeid,NGA_DCLUSTER_PROC_NODEID)
#define nga_icluster_proc_nodeid_ F77_FUNC_(nga_icluster_proc_nodeid,NGA_ICLUSTER_PROC_NODEID)
#define nga_scluster_proc_nodeid_ F77_FUNC_(nga_scluster_proc_nodeid,NGA_SCLUSTER_PROC_NODEID)
#define nga_zcluster_proc_nodeid_ F77_FUNC_(nga_zcluster_proc_nodeid,NGA_ZCLUSTER_PROC_NODEID)
#define ga_print_file_  F77_FUNC_(ga_print_file, GA_PRINT_FILE)
#define ga_cprint_file_ F77_FUNC_(ga_cprint_file,GA_CPRINT_FILE)
#define ga_dprint_file_ F77_FUNC_(ga_dprint_file,GA_DPRINT_FILE)
#define ga_iprint_file_ F77_FUNC_(ga_iprint_file,GA_IPRINT_FILE)
#define ga_sprint_file_ F77_FUNC_(ga_sprint_file,GA_SPRINT_FILE)
#define ga_zprint_file_ F77_FUNC_(ga_zprint_file,GA_ZPRINT_FILE)
#define nga_print_file_  F77_FUNC_(nga_print_file, NGA_PRINT_FILE)
#define nga_cprint_file_ F77_FUNC_(nga_cprint_file,NGA_CPRINT_FILE)
#define nga_dprint_file_ F77_FUNC_(nga_dprint_file,NGA_DPRINT_FILE)
#define nga_iprint_file_ F77_FUNC_(nga_iprint_file,NGA_IPRINT_FILE)
#define nga_sprint_file_ F77_FUNC_(nga_sprint_file,NGA_SPRINT_FILE)
#define nga_zprint_file_ F77_FUNC_(nga_zprint_file,NGA_ZPRINT_FILE)
#define ga_print_  F77_FUNC_(ga_print, GA_PRINT)
#define ga_cprint_ F77_FUNC_(ga_cprint,GA_CPRINT)
#define ga_dprint_ F77_FUNC_(ga_dprint,GA_DPRINT)
#define ga_iprint_ F77_FUNC_(ga_iprint,GA_IPRINT)
#define ga_sprint_ F77_FUNC_(ga_sprint,GA_SPRINT)
#define ga_zprint_ F77_FUNC_(ga_zprint,GA_ZPRINT)
#define nga_print_  F77_FUNC_(nga_print, NGA_PRINT)
#define nga_cprint_ F77_FUNC_(nga_cprint,NGA_CPRINT)
#define nga_dprint_ F77_FUNC_(nga_dprint,NGA_DPRINT)
#define nga_iprint_ F77_FUNC_(nga_iprint,NGA_IPRINT)
#define nga_sprint_ F77_FUNC_(nga_sprint,NGA_SPRINT)
#define nga_zprint_ F77_FUNC_(nga_zprint,NGA_ZPRINT)
#define ga_version_ F77_FUNC_(ga_version, GA_VERSION)
#define ga_cversion_ F77_FUNC_(ga_version, GA_VERSION)
#define ga_dversion_ F77_FUNC_(ga_version, GA_VERSION)
#define ga_iversion_ F77_FUNC_(ga_version, GA_VERSION)
#define ga_sversion_ F77_FUNC_(ga_version, GA_VERSION)
#define ga_zversion_ F77_FUNC_(ga_version, GA_VERSION)
#define nga_version_ F77_FUNC_(nga_version, NGA_VERSION)
#define nga_cversion_ F77_FUNC_(nga_version, NGA_VERSION)
#define nga_dversion_ F77_FUNC_(nga_version, NGA_VERSION)
#define nga_iversion_ F77_FUNC_(nga_version, NGA_VERSION)
#define nga_sversion_ F77_FUNC_(nga_version, NGA_VERSION)
#define nga_zversion_ F77_FUNC_(nga_version, NGA_VERSION)
#define ga_print_patch_file2d_  F77_FUNC_(ga_print_patch_file2d, GA_PRINT_PATCH_FILE2D)
#define ga_cprint_patch_file2d_ F77_FUNC_(ga_cprint_patch_file2d,GA_CPRINT_PATCH_FILE2D)
#define ga_dprint_patch_file2d_ F77_FUNC_(ga_dprint_patch_file2d,GA_DPRINT_PATCH_FILE2D)
#define ga_iprint_patch_file2d_ F77_FUNC_(ga_iprint_patch_file2d,GA_IPRINT_PATCH_FILE2D)
#define ga_sprint_patch_file2d_ F77_FUNC_(ga_sprint_patch_file2d,GA_SPRINT_PATCH_FILE2D)
#define ga_zprint_patch_file2d_ F77_FUNC_(ga_zprint_patch_file2d,GA_ZPRINT_PATCH_FILE2D)
#define nga_print_patch_file2d_  F77_FUNC_(nga_print_patch_file2d, NGA_PRINT_PATCH_FILE2D)
#define nga_cprint_patch_file2d_ F77_FUNC_(nga_cprint_patch_file2d,NGA_CPRINT_PATCH_FILE2D)
#define nga_dprint_patch_file2d_ F77_FUNC_(nga_dprint_patch_file2d,NGA_DPRINT_PATCH_FILE2D)
#define nga_iprint_patch_file2d_ F77_FUNC_(nga_iprint_patch_file2d,NGA_IPRINT_PATCH_FILE2D)
#define nga_sprint_patch_file2d_ F77_FUNC_(nga_sprint_patch_file2d,NGA_SPRINT_PATCH_FILE2D)
#define nga_zprint_patch_file2d_ F77_FUNC_(nga_zprint_patch_file2d,NGA_ZPRINT_PATCH_FILE2D)
#define ga_print_patch2d_  F77_FUNC_(ga_print_patch2d, GA_PRINT_PATCH2D)
#define ga_cprint_patch2d_ F77_FUNC_(ga_cprint_patch2d,GA_CPRINT_PATCH2D)
#define ga_dprint_patch2d_ F77_FUNC_(ga_dprint_patch2d,GA_DPRINT_PATCH2D)
#define ga_iprint_patch2d_ F77_FUNC_(ga_iprint_patch2d,GA_IPRINT_PATCH2D)
#define ga_sprint_patch2d_ F77_FUNC_(ga_sprint_patch2d,GA_SPRINT_PATCH2D)
#define ga_zprint_patch2d_ F77_FUNC_(ga_zprint_patch2d,GA_ZPRINT_PATCH2D)
#define nga_print_patch2d_  F77_FUNC_(nga_print_patch2d, NGA_PRINT_PATCH2D)
#define nga_cprint_patch2d_ F77_FUNC_(nga_cprint_patch2d,NGA_CPRINT_PATCH2D)
#define nga_dprint_patch2d_ F77_FUNC_(nga_dprint_patch2d,NGA_DPRINT_PATCH2D)
#define nga_iprint_patch2d_ F77_FUNC_(nga_iprint_patch2d,NGA_IPRINT_PATCH2D)
#define nga_sprint_patch2d_ F77_FUNC_(nga_sprint_patch2d,NGA_SPRINT_PATCH2D)
#define nga_zprint_patch2d_ F77_FUNC_(nga_zprint_patch2d,NGA_ZPRINT_PATCH2D)
#define ga_print_patch_file_  F77_FUNC_(ga_print_patch_file, GA_PRINT_PATCH_FILE)
#define ga_cprint_patch_file_ F77_FUNC_(ga_cprint_patch_file,GA_CPRINT_PATCH_FILE)
#define ga_dprint_patch_file_ F77_FUNC_(ga_dprint_patch_file,GA_DPRINT_PATCH_FILE)
#define ga_iprint_patch_file_ F77_FUNC_(ga_iprint_patch_file,GA_IPRINT_PATCH_FILE)
#define ga_sprint_patch_file_ F77_FUNC_(ga_sprint_patch_file,GA_SPRINT_PATCH_FILE)
#define ga_zprint_patch_file_ F77_FUNC_(ga_zprint_patch_file,GA_ZPRINT_PATCH_FILE)
#define nga_print_patch_file_  F77_FUNC_(nga_print_patch_file, NGA_PRINT_PATCH_FILE)
#define nga_cprint_patch_file_ F77_FUNC_(nga_cprint_patch_file,NGA_CPRINT_PATCH_FILE)
#define nga_dprint_patch_file_ F77_FUNC_(nga_dprint_patch_file,NGA_DPRINT_PATCH_FILE)
#define nga_iprint_patch_file_ F77_FUNC_(nga_iprint_patch_file,NGA_IPRINT_PATCH_FILE)
#define nga_sprint_patch_file_ F77_FUNC_(nga_sprint_patch_file,NGA_SPRINT_PATCH_FILE)
#define nga_zprint_patch_file_ F77_FUNC_(nga_zprint_patch_file,NGA_ZPRINT_PATCH_FILE)
#define ga_print_patch_  F77_FUNC_(ga_print_patch, GA_PRINT_PATCH)
#define ga_cprint_patch_ F77_FUNC_(ga_cprint_patch,GA_CPRINT_PATCH)
#define ga_dprint_patch_ F77_FUNC_(ga_dprint_patch,GA_DPRINT_PATCH)
#define ga_iprint_patch_ F77_FUNC_(ga_iprint_patch,GA_IPRINT_PATCH)
#define ga_sprint_patch_ F77_FUNC_(ga_sprint_patch,GA_SPRINT_PATCH)
#define ga_zprint_patch_ F77_FUNC_(ga_zprint_patch,GA_ZPRINT_PATCH)
#define nga_print_patch_  F77_FUNC_(nga_print_patch, NGA_PRINT_PATCH)
#define nga_cprint_patch_ F77_FUNC_(nga_cprint_patch,NGA_CPRINT_PATCH)
#define nga_dprint_patch_ F77_FUNC_(nga_dprint_patch,NGA_DPRINT_PATCH)
#define nga_iprint_patch_ F77_FUNC_(nga_iprint_patch,NGA_IPRINT_PATCH)
#define nga_sprint_patch_ F77_FUNC_(nga_sprint_patch,NGA_SPRINT_PATCH)
#define nga_zprint_patch_ F77_FUNC_(nga_zprint_patch,NGA_ZPRINT_PATCH)
#define ga_print_distribution_  F77_FUNC_(ga_print_distribution, GA_PRINT_DISTRIBUTION)
#define ga_cprint_distribution_ F77_FUNC_(ga_cprint_distribution,GA_CPRINT_DISTRIBUTION)
#define ga_dprint_distribution_ F77_FUNC_(ga_dprint_distribution,GA_DPRINT_DISTRIBUTION)
#define ga_iprint_distribution_ F77_FUNC_(ga_iprint_distribution,GA_IPRINT_DISTRIBUTION)
#define ga_sprint_distribution_ F77_FUNC_(ga_sprint_distribution,GA_SPRINT_DISTRIBUTION)
#define ga_zprint_distribution_ F77_FUNC_(ga_zprint_distribution,GA_ZPRINT_DISTRIBUTION)
#define nga_print_distribution_  F77_FUNC_(nga_print_distribution, NGA_PRINT_DISTRIBUTION)
#define nga_cprint_distribution_ F77_FUNC_(nga_cprint_distribution,NGA_CPRINT_DISTRIBUTION)
#define nga_dprint_distribution_ F77_FUNC_(nga_dprint_distribution,NGA_DPRINT_DISTRIBUTION)
#define nga_iprint_distribution_ F77_FUNC_(nga_iprint_distribution,NGA_IPRINT_DISTRIBUTION)
#define nga_sprint_distribution_ F77_FUNC_(nga_sprint_distribution,NGA_SPRINT_DISTRIBUTION)
#define nga_zprint_distribution_ F77_FUNC_(nga_zprint_distribution,NGA_ZPRINT_DISTRIBUTION)
#define ga_summarize_  F77_FUNC_(ga_summarize, GA_SUMMARIZE)
#define ga_csummarize_ F77_FUNC_(ga_csummarize,GA_CSUMMARIZE)
#define ga_dsummarize_ F77_FUNC_(ga_dsummarize,GA_DSUMMARIZE)
#define ga_isummarize_ F77_FUNC_(ga_isummarize,GA_ISUMMARIZE)
#define ga_ssummarize_ F77_FUNC_(ga_ssummarize,GA_SSUMMARIZE)
#define ga_zsummarize_ F77_FUNC_(ga_zsummarize,GA_ZSUMMARIZE)
#define nga_summarize_  F77_FUNC_(nga_summarize, NGA_SUMMARIZE)
#define nga_csummarize_ F77_FUNC_(nga_csummarize,NGA_CSUMMARIZE)
#define nga_dsummarize_ F77_FUNC_(nga_dsummarize,NGA_DSUMMARIZE)
#define nga_isummarize_ F77_FUNC_(nga_isummarize,NGA_ISUMMARIZE)
#define nga_ssummarize_ F77_FUNC_(nga_ssummarize,NGA_SSUMMARIZE)
#define nga_zsummarize_ F77_FUNC_(nga_zsummarize,NGA_ZSUMMARIZE)
#define ga_access_ghost_ptr_  F77_FUNC_(ga_access_ghost_ptr, GA_ACCESS_GHOST_PTR)
#define ga_caccess_ghost_ptr_ F77_FUNC_(ga_caccess_ghost_ptr,GA_CACCESS_GHOST_PTR)
#define ga_daccess_ghost_ptr_ F77_FUNC_(ga_daccess_ghost_ptr,GA_DACCESS_GHOST_PTR)
#define ga_iaccess_ghost_ptr_ F77_FUNC_(ga_iaccess_ghost_ptr,GA_IACCESS_GHOST_PTR)
#define ga_saccess_ghost_ptr_ F77_FUNC_(ga_saccess_ghost_ptr,GA_SACCESS_GHOST_PTR)
#define ga_zaccess_ghost_ptr_ F77_FUNC_(ga_zaccess_ghost_ptr,GA_ZACCESS_GHOST_PTR)
#define nga_access_ghost_ptr_  F77_FUNC_(nga_access_ghost_ptr, NGA_ACCESS_GHOST_PTR)
#define nga_caccess_ghost_ptr_ F77_FUNC_(nga_caccess_ghost_ptr,NGA_CACCESS_GHOST_PTR)
#define nga_daccess_ghost_ptr_ F77_FUNC_(nga_daccess_ghost_ptr,NGA_DACCESS_GHOST_PTR)
#define nga_iaccess_ghost_ptr_ F77_FUNC_(nga_iaccess_ghost_ptr,NGA_IACCESS_GHOST_PTR)
#define nga_saccess_ghost_ptr_ F77_FUNC_(nga_saccess_ghost_ptr,NGA_SACCESS_GHOST_PTR)
#define nga_zaccess_ghost_ptr_ F77_FUNC_(nga_zaccess_ghost_ptr,NGA_ZACCESS_GHOST_PTR)
#define ga_access_ghost_element_  F77_FUNC_(ga_access_ghost_element, GA_ACCESS_GHOST_ELEMENT)
#define ga_caccess_ghost_element_ F77_FUNC_(ga_caccess_ghost_element,GA_CACCESS_GHOST_ELEMENT)
#define ga_daccess_ghost_element_ F77_FUNC_(ga_daccess_ghost_element,GA_DACCESS_GHOST_ELEMENT)
#define ga_iaccess_ghost_element_ F77_FUNC_(ga_iaccess_ghost_element,GA_IACCESS_GHOST_ELEMENT)
#define ga_saccess_ghost_element_ F77_FUNC_(ga_saccess_ghost_element,GA_SACCESS_GHOST_ELEMENT)
#define ga_zaccess_ghost_element_ F77_FUNC_(ga_zaccess_ghost_element,GA_ZACCESS_GHOST_ELEMENT)
#define nga_access_ghost_element_  F77_FUNC_(nga_access_ghost_element, NGA_ACCESS_GHOST_ELEMENT)
#define nga_caccess_ghost_element_ F77_FUNC_(nga_caccess_ghost_element,NGA_CACCESS_GHOST_ELEMENT)
#define nga_daccess_ghost_element_ F77_FUNC_(nga_daccess_ghost_element,NGA_DACCESS_GHOST_ELEMENT)
#define nga_iaccess_ghost_element_ F77_FUNC_(nga_iaccess_ghost_element,NGA_IACCESS_GHOST_ELEMENT)
#define nga_saccess_ghost_element_ F77_FUNC_(nga_saccess_ghost_element,NGA_SACCESS_GHOST_ELEMENT)
#define nga_zaccess_ghost_element_ F77_FUNC_(nga_zaccess_ghost_element,NGA_ZACCESS_GHOST_ELEMENT)
#define ga_access_ghost_element_ptr_  F77_FUNC_(ga_access_ghost_element_ptr, GA_ACCESS_GHOST_ELEMENT_PTR)
#define ga_caccess_ghost_element_ptr_ F77_FUNC_(ga_caccess_ghost_element_ptr,GA_CACCESS_GHOST_ELEMENT_PTR)
#define ga_daccess_ghost_element_ptr_ F77_FUNC_(ga_daccess_ghost_element_ptr,GA_DACCESS_GHOST_ELEMENT_PTR)
#define ga_iaccess_ghost_element_ptr_ F77_FUNC_(ga_iaccess_ghost_element_ptr,GA_IACCESS_GHOST_ELEMENT_PTR)
#define ga_saccess_ghost_element_ptr_ F77_FUNC_(ga_saccess_ghost_element_ptr,GA_SACCESS_GHOST_ELEMENT_PTR)
#define ga_zaccess_ghost_element_ptr_ F77_FUNC_(ga_zaccess_ghost_element_ptr,GA_ZACCESS_GHOST_ELEMENT_PTR)
#define nga_access_ghost_element_ptr_  F77_FUNC_(nga_access_ghost_element_ptr, NGA_ACCESS_GHOST_ELEMENT_PTR)
#define nga_caccess_ghost_element_ptr_ F77_FUNC_(nga_caccess_ghost_element_ptr,NGA_CACCESS_GHOST_ELEMENT_PTR)
#define nga_daccess_ghost_element_ptr_ F77_FUNC_(nga_daccess_ghost_element_ptr,NGA_DACCESS_GHOST_ELEMENT_PTR)
#define nga_iaccess_ghost_element_ptr_ F77_FUNC_(nga_iaccess_ghost_element_ptr,NGA_IACCESS_GHOST_ELEMENT_PTR)
#define nga_saccess_ghost_element_ptr_ F77_FUNC_(nga_saccess_ghost_element_ptr,NGA_SACCESS_GHOST_ELEMENT_PTR)
#define nga_zaccess_ghost_element_ptr_ F77_FUNC_(nga_zaccess_ghost_element_ptr,NGA_ZACCESS_GHOST_ELEMENT_PTR)
#define ga_access_ghosts_  F77_FUNC_(ga_access_ghosts, GA_ACCESS_GHOSTS)
#define ga_caccess_ghosts_ F77_FUNC_(ga_caccess_ghosts,GA_CACCESS_GHOSTS)
#define ga_daccess_ghosts_ F77_FUNC_(ga_daccess_ghosts,GA_DACCESS_GHOSTS)
#define ga_iaccess_ghosts_ F77_FUNC_(ga_iaccess_ghosts,GA_IACCESS_GHOSTS)
#define ga_saccess_ghosts_ F77_FUNC_(ga_saccess_ghosts,GA_SACCESS_GHOSTS)
#define ga_zaccess_ghosts_ F77_FUNC_(ga_zaccess_ghosts,GA_ZACCESS_GHOSTS)
#define nga_access_ghosts_  F77_FUNC_(nga_access_ghosts, NGA_ACCESS_GHOSTS)
#define nga_caccess_ghosts_ F77_FUNC_(nga_caccess_ghosts,NGA_CACCESS_GHOSTS)
#define nga_daccess_ghosts_ F77_FUNC_(nga_daccess_ghosts,NGA_DACCESS_GHOSTS)
#define nga_iaccess_ghosts_ F77_FUNC_(nga_iaccess_ghosts,NGA_IACCESS_GHOSTS)
#define nga_saccess_ghosts_ F77_FUNC_(nga_saccess_ghosts,NGA_SACCESS_GHOSTS)
#define nga_zaccess_ghosts_ F77_FUNC_(nga_zaccess_ghosts,NGA_ZACCESS_GHOSTS)
#define ga_release_ghost_element_  F77_FUNC_(ga_release_ghost_element, GA_RELEASE_GHOST_ELEMENT)
#define ga_crelease_ghost_element_ F77_FUNC_(ga_crelease_ghost_element,GA_CRELEASE_GHOST_ELEMENT)
#define ga_drelease_ghost_element_ F77_FUNC_(ga_drelease_ghost_element,GA_DRELEASE_GHOST_ELEMENT)
#define ga_irelease_ghost_element_ F77_FUNC_(ga_irelease_ghost_element,GA_IRELEASE_GHOST_ELEMENT)
#define ga_srelease_ghost_element_ F77_FUNC_(ga_srelease_ghost_element,GA_SRELEASE_GHOST_ELEMENT)
#define ga_zrelease_ghost_element_ F77_FUNC_(ga_zrelease_ghost_element,GA_ZRELEASE_GHOST_ELEMENT)
#define nga_release_ghost_element_  F77_FUNC_(nga_release_ghost_element, NGA_RELEASE_GHOST_ELEMENT)
#define nga_crelease_ghost_element_ F77_FUNC_(nga_crelease_ghost_element,NGA_CRELEASE_GHOST_ELEMENT)
#define nga_drelease_ghost_element_ F77_FUNC_(nga_drelease_ghost_element,NGA_DRELEASE_GHOST_ELEMENT)
#define nga_irelease_ghost_element_ F77_FUNC_(nga_irelease_ghost_element,NGA_IRELEASE_GHOST_ELEMENT)
#define nga_srelease_ghost_element_ F77_FUNC_(nga_srelease_ghost_element,NGA_SRELEASE_GHOST_ELEMENT)
#define nga_zrelease_ghost_element_ F77_FUNC_(nga_zrelease_ghost_element,NGA_ZRELEASE_GHOST_ELEMENT)
#define ga_release_update_ghost_element_  F77_FUNC_(ga_release_update_ghost_element, GA_RELEASE_UPDATE_GHOST_ELEMENT)
#define ga_crelease_update_ghost_element_ F77_FUNC_(ga_crelease_update_ghost_element,GA_CRELEASE_UPDATE_GHOST_ELEMENT)
#define ga_drelease_update_ghost_element_ F77_FUNC_(ga_drelease_update_ghost_element,GA_DRELEASE_UPDATE_GHOST_ELEMENT)
#define ga_irelease_update_ghost_element_ F77_FUNC_(ga_irelease_update_ghost_element,GA_IRELEASE_UPDATE_GHOST_ELEMENT)
#define ga_srelease_update_ghost_element_ F77_FUNC_(ga_srelease_update_ghost_element,GA_SRELEASE_UPDATE_GHOST_ELEMENT)
#define ga_zrelease_update_ghost_element_ F77_FUNC_(ga_zrelease_update_ghost_element,GA_ZRELEASE_UPDATE_GHOST_ELEMENT)
#define nga_release_update_ghost_element_  F77_FUNC_(nga_release_update_ghost_element, NGA_RELEASE_UPDATE_GHOST_ELEMENT)
#define nga_crelease_update_ghost_element_ F77_FUNC_(nga_crelease_update_ghost_element,NGA_CRELEASE_UPDATE_GHOST_ELEMENT)
#define nga_drelease_update_ghost_element_ F77_FUNC_(nga_drelease_update_ghost_element,NGA_DRELEASE_UPDATE_GHOST_ELEMENT)
#define nga_irelease_update_ghost_element_ F77_FUNC_(nga_irelease_update_ghost_element,NGA_IRELEASE_UPDATE_GHOST_ELEMENT)
#define nga_srelease_update_ghost_element_ F77_FUNC_(nga_srelease_update_ghost_element,NGA_SRELEASE_UPDATE_GHOST_ELEMENT)
#define nga_zrelease_update_ghost_element_ F77_FUNC_(nga_zrelease_update_ghost_element,NGA_ZRELEASE_UPDATE_GHOST_ELEMENT)
#define ga_release_ghosts_  F77_FUNC_(ga_release_ghosts, GA_RELEASE_GHOSTS)
#define ga_crelease_ghosts_ F77_FUNC_(ga_crelease_ghosts,GA_CRELEASE_GHOSTS)
#define ga_drelease_ghosts_ F77_FUNC_(ga_drelease_ghosts,GA_DRELEASE_GHOSTS)
#define ga_irelease_ghosts_ F77_FUNC_(ga_irelease_ghosts,GA_IRELEASE_GHOSTS)
#define ga_srelease_ghosts_ F77_FUNC_(ga_srelease_ghosts,GA_SRELEASE_GHOSTS)
#define ga_zrelease_ghosts_ F77_FUNC_(ga_zrelease_ghosts,GA_ZRELEASE_GHOSTS)
#define nga_release_ghosts_  F77_FUNC_(nga_release_ghosts, NGA_RELEASE_GHOSTS)
#define nga_crelease_ghosts_ F77_FUNC_(nga_crelease_ghosts,NGA_CRELEASE_GHOSTS)
#define nga_drelease_ghosts_ F77_FUNC_(nga_drelease_ghosts,NGA_DRELEASE_GHOSTS)
#define nga_irelease_ghosts_ F77_FUNC_(nga_irelease_ghosts,NGA_IRELEASE_GHOSTS)
#define nga_srelease_ghosts_ F77_FUNC_(nga_srelease_ghosts,NGA_SRELEASE_GHOSTS)
#define nga_zrelease_ghosts_ F77_FUNC_(nga_zrelease_ghosts,NGA_ZRELEASE_GHOSTS)
#define ga_release_update_ghosts_  F77_FUNC_(ga_release_update_ghosts, GA_RELEASE_UPDATE_GHOSTS)
#define ga_crelease_update_ghosts_ F77_FUNC_(ga_crelease_update_ghosts,GA_CRELEASE_UPDATE_GHOSTS)
#define ga_drelease_update_ghosts_ F77_FUNC_(ga_drelease_update_ghosts,GA_DRELEASE_UPDATE_GHOSTS)
#define ga_irelease_update_ghosts_ F77_FUNC_(ga_irelease_update_ghosts,GA_IRELEASE_UPDATE_GHOSTS)
#define ga_srelease_update_ghosts_ F77_FUNC_(ga_srelease_update_ghosts,GA_SRELEASE_UPDATE_GHOSTS)
#define ga_zrelease_update_ghosts_ F77_FUNC_(ga_zrelease_update_ghosts,GA_ZRELEASE_UPDATE_GHOSTS)
#define nga_release_update_ghosts_  F77_FUNC_(nga_release_update_ghosts, NGA_RELEASE_UPDATE_GHOSTS)
#define nga_crelease_update_ghosts_ F77_FUNC_(nga_crelease_update_ghosts,NGA_CRELEASE_UPDATE_GHOSTS)
#define nga_drelease_update_ghosts_ F77_FUNC_(nga_drelease_update_ghosts,NGA_DRELEASE_UPDATE_GHOSTS)
#define nga_irelease_update_ghosts_ F77_FUNC_(nga_irelease_update_ghosts,NGA_IRELEASE_UPDATE_GHOSTS)
#define nga_srelease_update_ghosts_ F77_FUNC_(nga_srelease_update_ghosts,NGA_SRELEASE_UPDATE_GHOSTS)
#define nga_zrelease_update_ghosts_ F77_FUNC_(nga_zrelease_update_ghosts,NGA_ZRELEASE_UPDATE_GHOSTS)
#define ga_get_ghost_block_  F77_FUNC_(ga_get_ghost_block, GA_GET_GHOST_BLOCK)
#define ga_cget_ghost_block_ F77_FUNC_(ga_cget_ghost_block,GA_CGET_GHOST_BLOCK)
#define ga_dget_ghost_block_ F77_FUNC_(ga_dget_ghost_block,GA_DGET_GHOST_BLOCK)
#define ga_iget_ghost_block_ F77_FUNC_(ga_iget_ghost_block,GA_IGET_GHOST_BLOCK)
#define ga_sget_ghost_block_ F77_FUNC_(ga_sget_ghost_block,GA_SGET_GHOST_BLOCK)
#define ga_zget_ghost_block_ F77_FUNC_(ga_zget_ghost_block,GA_ZGET_GHOST_BLOCK)
#define nga_get_ghost_block_  F77_FUNC_(nga_get_ghost_block, NGA_GET_GHOST_BLOCK)
#define nga_cget_ghost_block_ F77_FUNC_(nga_cget_ghost_block,NGA_CGET_GHOST_BLOCK)
#define nga_dget_ghost_block_ F77_FUNC_(nga_dget_ghost_block,NGA_DGET_GHOST_BLOCK)
#define nga_iget_ghost_block_ F77_FUNC_(nga_iget_ghost_block,NGA_IGET_GHOST_BLOCK)
#define nga_sget_ghost_block_ F77_FUNC_(nga_sget_ghost_block,NGA_SGET_GHOST_BLOCK)
#define nga_zget_ghost_block_ F77_FUNC_(nga_zget_ghost_block,NGA_ZGET_GHOST_BLOCK)
#define ga_update1_ghosts_  F77_FUNC_(ga_update1_ghosts, GA_UPDATE1_GHOSTS)
#define ga_cupdate1_ghosts_ F77_FUNC_(ga_cupdate1_ghosts,GA_CUPDATE1_GHOSTS)
#define ga_dupdate1_ghosts_ F77_FUNC_(ga_dupdate1_ghosts,GA_DUPDATE1_GHOSTS)
#define ga_iupdate1_ghosts_ F77_FUNC_(ga_iupdate1_ghosts,GA_IUPDATE1_GHOSTS)
#define ga_supdate1_ghosts_ F77_FUNC_(ga_supdate1_ghosts,GA_SUPDATE1_GHOSTS)
#define ga_zupdate1_ghosts_ F77_FUNC_(ga_zupdate1_ghosts,GA_ZUPDATE1_GHOSTS)
#define nga_update1_ghosts_  F77_FUNC_(nga_update1_ghosts, NGA_UPDATE1_GHOSTS)
#define nga_cupdate1_ghosts_ F77_FUNC_(nga_cupdate1_ghosts,NGA_CUPDATE1_GHOSTS)
#define nga_dupdate1_ghosts_ F77_FUNC_(nga_dupdate1_ghosts,NGA_DUPDATE1_GHOSTS)
#define nga_iupdate1_ghosts_ F77_FUNC_(nga_iupdate1_ghosts,NGA_IUPDATE1_GHOSTS)
#define nga_supdate1_ghosts_ F77_FUNC_(nga_supdate1_ghosts,NGA_SUPDATE1_GHOSTS)
#define nga_zupdate1_ghosts_ F77_FUNC_(nga_zupdate1_ghosts,NGA_ZUPDATE1_GHOSTS)
#define ga_update2_ghosts_  F77_FUNC_(ga_update2_ghosts, GA_UPDATE2_GHOSTS)
#define ga_cupdate2_ghosts_ F77_FUNC_(ga_cupdate2_ghosts,GA_CUPDATE2_GHOSTS)
#define ga_dupdate2_ghosts_ F77_FUNC_(ga_dupdate2_ghosts,GA_DUPDATE2_GHOSTS)
#define ga_iupdate2_ghosts_ F77_FUNC_(ga_iupdate2_ghosts,GA_IUPDATE2_GHOSTS)
#define ga_supdate2_ghosts_ F77_FUNC_(ga_supdate2_ghosts,GA_SUPDATE2_GHOSTS)
#define ga_zupdate2_ghosts_ F77_FUNC_(ga_zupdate2_ghosts,GA_ZUPDATE2_GHOSTS)
#define nga_update2_ghosts_  F77_FUNC_(nga_update2_ghosts, NGA_UPDATE2_GHOSTS)
#define nga_cupdate2_ghosts_ F77_FUNC_(nga_cupdate2_ghosts,NGA_CUPDATE2_GHOSTS)
#define nga_dupdate2_ghosts_ F77_FUNC_(nga_dupdate2_ghosts,NGA_DUPDATE2_GHOSTS)
#define nga_iupdate2_ghosts_ F77_FUNC_(nga_iupdate2_ghosts,NGA_IUPDATE2_GHOSTS)
#define nga_supdate2_ghosts_ F77_FUNC_(nga_supdate2_ghosts,NGA_SUPDATE2_GHOSTS)
#define nga_zupdate2_ghosts_ F77_FUNC_(nga_zupdate2_ghosts,NGA_ZUPDATE2_GHOSTS)
#define ga_update3_ghosts_  F77_FUNC_(ga_update3_ghosts, GA_UPDATE3_GHOSTS)
#define ga_cupdate3_ghosts_ F77_FUNC_(ga_cupdate3_ghosts,GA_CUPDATE3_GHOSTS)
#define ga_dupdate3_ghosts_ F77_FUNC_(ga_dupdate3_ghosts,GA_DUPDATE3_GHOSTS)
#define ga_iupdate3_ghosts_ F77_FUNC_(ga_iupdate3_ghosts,GA_IUPDATE3_GHOSTS)
#define ga_supdate3_ghosts_ F77_FUNC_(ga_supdate3_ghosts,GA_SUPDATE3_GHOSTS)
#define ga_zupdate3_ghosts_ F77_FUNC_(ga_zupdate3_ghosts,GA_ZUPDATE3_GHOSTS)
#define nga_update3_ghosts_  F77_FUNC_(nga_update3_ghosts, NGA_UPDATE3_GHOSTS)
#define nga_cupdate3_ghosts_ F77_FUNC_(nga_cupdate3_ghosts,NGA_CUPDATE3_GHOSTS)
#define nga_dupdate3_ghosts_ F77_FUNC_(nga_dupdate3_ghosts,NGA_DUPDATE3_GHOSTS)
#define nga_iupdate3_ghosts_ F77_FUNC_(nga_iupdate3_ghosts,NGA_IUPDATE3_GHOSTS)
#define nga_supdate3_ghosts_ F77_FUNC_(nga_supdate3_ghosts,NGA_SUPDATE3_GHOSTS)
#define nga_zupdate3_ghosts_ F77_FUNC_(nga_zupdate3_ghosts,NGA_ZUPDATE3_GHOSTS)
#define ga_set_update4_info_  F77_FUNC_(ga_set_update4_info, GA_SET_UPDATE4_INFO)
#define ga_cset_update4_info_ F77_FUNC_(ga_cset_update4_info,GA_CSET_UPDATE4_INFO)
#define ga_dset_update4_info_ F77_FUNC_(ga_dset_update4_info,GA_DSET_UPDATE4_INFO)
#define ga_iset_update4_info_ F77_FUNC_(ga_iset_update4_info,GA_ISET_UPDATE4_INFO)
#define ga_sset_update4_info_ F77_FUNC_(ga_sset_update4_info,GA_SSET_UPDATE4_INFO)
#define ga_zset_update4_info_ F77_FUNC_(ga_zset_update4_info,GA_ZSET_UPDATE4_INFO)
#define nga_set_update4_info_  F77_FUNC_(nga_set_update4_info, NGA_SET_UPDATE4_INFO)
#define nga_cset_update4_info_ F77_FUNC_(nga_cset_update4_info,NGA_CSET_UPDATE4_INFO)
#define nga_dset_update4_info_ F77_FUNC_(nga_dset_update4_info,NGA_DSET_UPDATE4_INFO)
#define nga_iset_update4_info_ F77_FUNC_(nga_iset_update4_info,NGA_ISET_UPDATE4_INFO)
#define nga_sset_update4_info_ F77_FUNC_(nga_sset_update4_info,NGA_SSET_UPDATE4_INFO)
#define nga_zset_update4_info_ F77_FUNC_(nga_zset_update4_info,NGA_ZSET_UPDATE4_INFO)
#define ga_update4_ghosts_  F77_FUNC_(ga_update4_ghosts, GA_UPDATE4_GHOSTS)
#define ga_cupdate4_ghosts_ F77_FUNC_(ga_cupdate4_ghosts,GA_CUPDATE4_GHOSTS)
#define ga_dupdate4_ghosts_ F77_FUNC_(ga_dupdate4_ghosts,GA_DUPDATE4_GHOSTS)
#define ga_iupdate4_ghosts_ F77_FUNC_(ga_iupdate4_ghosts,GA_IUPDATE4_GHOSTS)
#define ga_supdate4_ghosts_ F77_FUNC_(ga_supdate4_ghosts,GA_SUPDATE4_GHOSTS)
#define ga_zupdate4_ghosts_ F77_FUNC_(ga_zupdate4_ghosts,GA_ZUPDATE4_GHOSTS)
#define nga_update4_ghosts_  F77_FUNC_(nga_update4_ghosts, NGA_UPDATE4_GHOSTS)
#define nga_cupdate4_ghosts_ F77_FUNC_(nga_cupdate4_ghosts,NGA_CUPDATE4_GHOSTS)
#define nga_dupdate4_ghosts_ F77_FUNC_(nga_dupdate4_ghosts,NGA_DUPDATE4_GHOSTS)
#define nga_iupdate4_ghosts_ F77_FUNC_(nga_iupdate4_ghosts,NGA_IUPDATE4_GHOSTS)
#define nga_supdate4_ghosts_ F77_FUNC_(nga_supdate4_ghosts,NGA_SUPDATE4_GHOSTS)
#define nga_zupdate4_ghosts_ F77_FUNC_(nga_zupdate4_ghosts,NGA_ZUPDATE4_GHOSTS)
#define ga_update44_ghosts_  F77_FUNC_(ga_update44_ghosts, GA_UPDATE44_GHOSTS)
#define ga_cupdate44_ghosts_ F77_FUNC_(ga_cupdate44_ghosts,GA_CUPDATE44_GHOSTS)
#define ga_dupdate44_ghosts_ F77_FUNC_(ga_dupdate44_ghosts,GA_DUPDATE44_GHOSTS)
#define ga_iupdate44_ghosts_ F77_FUNC_(ga_iupdate44_ghosts,GA_IUPDATE44_GHOSTS)
#define ga_supdate44_ghosts_ F77_FUNC_(ga_supdate44_ghosts,GA_SUPDATE44_GHOSTS)
#define ga_zupdate44_ghosts_ F77_FUNC_(ga_zupdate44_ghosts,GA_ZUPDATE44_GHOSTS)
#define nga_update44_ghosts_  F77_FUNC_(nga_update44_ghosts, NGA_UPDATE44_GHOSTS)
#define nga_cupdate44_ghosts_ F77_FUNC_(nga_cupdate44_ghosts,NGA_CUPDATE44_GHOSTS)
#define nga_dupdate44_ghosts_ F77_FUNC_(nga_dupdate44_ghosts,NGA_DUPDATE44_GHOSTS)
#define nga_iupdate44_ghosts_ F77_FUNC_(nga_iupdate44_ghosts,NGA_IUPDATE44_GHOSTS)
#define nga_supdate44_ghosts_ F77_FUNC_(nga_supdate44_ghosts,NGA_SUPDATE44_GHOSTS)
#define nga_zupdate44_ghosts_ F77_FUNC_(nga_zupdate44_ghosts,NGA_ZUPDATE44_GHOSTS)
#define ga_update55_ghosts_  F77_FUNC_(ga_update55_ghosts, GA_UPDATE55_GHOSTS)
#define ga_cupdate55_ghosts_ F77_FUNC_(ga_cupdate55_ghosts,GA_CUPDATE55_GHOSTS)
#define ga_dupdate55_ghosts_ F77_FUNC_(ga_dupdate55_ghosts,GA_DUPDATE55_GHOSTS)
#define ga_iupdate55_ghosts_ F77_FUNC_(ga_iupdate55_ghosts,GA_IUPDATE55_GHOSTS)
#define ga_supdate55_ghosts_ F77_FUNC_(ga_supdate55_ghosts,GA_SUPDATE55_GHOSTS)
#define ga_zupdate55_ghosts_ F77_FUNC_(ga_zupdate55_ghosts,GA_ZUPDATE55_GHOSTS)
#define nga_update55_ghosts_  F77_FUNC_(nga_update55_ghosts, NGA_UPDATE55_GHOSTS)
#define nga_cupdate55_ghosts_ F77_FUNC_(nga_cupdate55_ghosts,NGA_CUPDATE55_GHOSTS)
#define nga_dupdate55_ghosts_ F77_FUNC_(nga_dupdate55_ghosts,NGA_DUPDATE55_GHOSTS)
#define nga_iupdate55_ghosts_ F77_FUNC_(nga_iupdate55_ghosts,NGA_IUPDATE55_GHOSTS)
#define nga_supdate55_ghosts_ F77_FUNC_(nga_supdate55_ghosts,NGA_SUPDATE55_GHOSTS)
#define nga_zupdate55_ghosts_ F77_FUNC_(nga_zupdate55_ghosts,NGA_ZUPDATE55_GHOSTS)
#define ga_update_ghost_dir_  F77_FUNC_(ga_update_ghost_dir, GA_UPDATE_GHOST_DIR)
#define ga_cupdate_ghost_dir_ F77_FUNC_(ga_cupdate_ghost_dir,GA_CUPDATE_GHOST_DIR)
#define ga_dupdate_ghost_dir_ F77_FUNC_(ga_dupdate_ghost_dir,GA_DUPDATE_GHOST_DIR)
#define ga_iupdate_ghost_dir_ F77_FUNC_(ga_iupdate_ghost_dir,GA_IUPDATE_GHOST_DIR)
#define ga_supdate_ghost_dir_ F77_FUNC_(ga_supdate_ghost_dir,GA_SUPDATE_GHOST_DIR)
#define ga_zupdate_ghost_dir_ F77_FUNC_(ga_zupdate_ghost_dir,GA_ZUPDATE_GHOST_DIR)
#define nga_update_ghost_dir_  F77_FUNC_(nga_update_ghost_dir, NGA_UPDATE_GHOST_DIR)
#define nga_cupdate_ghost_dir_ F77_FUNC_(nga_cupdate_ghost_dir,NGA_CUPDATE_GHOST_DIR)
#define nga_dupdate_ghost_dir_ F77_FUNC_(nga_dupdate_ghost_dir,NGA_DUPDATE_GHOST_DIR)
#define nga_iupdate_ghost_dir_ F77_FUNC_(nga_iupdate_ghost_dir,NGA_IUPDATE_GHOST_DIR)
#define nga_supdate_ghost_dir_ F77_FUNC_(nga_supdate_ghost_dir,NGA_SUPDATE_GHOST_DIR)
#define nga_zupdate_ghost_dir_ F77_FUNC_(nga_zupdate_ghost_dir,NGA_ZUPDATE_GHOST_DIR)
#define ga_update5_ghosts_  F77_FUNC_(ga_update5_ghosts, GA_UPDATE5_GHOSTS)
#define ga_cupdate5_ghosts_ F77_FUNC_(ga_cupdate5_ghosts,GA_CUPDATE5_GHOSTS)
#define ga_dupdate5_ghosts_ F77_FUNC_(ga_dupdate5_ghosts,GA_DUPDATE5_GHOSTS)
#define ga_iupdate5_ghosts_ F77_FUNC_(ga_iupdate5_ghosts,GA_IUPDATE5_GHOSTS)
#define ga_supdate5_ghosts_ F77_FUNC_(ga_supdate5_ghosts,GA_SUPDATE5_GHOSTS)
#define ga_zupdate5_ghosts_ F77_FUNC_(ga_zupdate5_ghosts,GA_ZUPDATE5_GHOSTS)
#define nga_update5_ghosts_  F77_FUNC_(nga_update5_ghosts, NGA_UPDATE5_GHOSTS)
#define nga_cupdate5_ghosts_ F77_FUNC_(nga_cupdate5_ghosts,NGA_CUPDATE5_GHOSTS)
#define nga_dupdate5_ghosts_ F77_FUNC_(nga_dupdate5_ghosts,NGA_DUPDATE5_GHOSTS)
#define nga_iupdate5_ghosts_ F77_FUNC_(nga_iupdate5_ghosts,NGA_IUPDATE5_GHOSTS)
#define nga_supdate5_ghosts_ F77_FUNC_(nga_supdate5_ghosts,NGA_SUPDATE5_GHOSTS)
#define nga_zupdate5_ghosts_ F77_FUNC_(nga_zupdate5_ghosts,NGA_ZUPDATE5_GHOSTS)
#define ga_set_update5_info_  F77_FUNC_(ga_set_update5_info, GA_SET_UPDATE5_INFO)
#define ga_cset_update5_info_ F77_FUNC_(ga_cset_update5_info,GA_CSET_UPDATE5_INFO)
#define ga_dset_update5_info_ F77_FUNC_(ga_dset_update5_info,GA_DSET_UPDATE5_INFO)
#define ga_iset_update5_info_ F77_FUNC_(ga_iset_update5_info,GA_ISET_UPDATE5_INFO)
#define ga_sset_update5_info_ F77_FUNC_(ga_sset_update5_info,GA_SSET_UPDATE5_INFO)
#define ga_zset_update5_info_ F77_FUNC_(ga_zset_update5_info,GA_ZSET_UPDATE5_INFO)
#define nga_set_update5_info_  F77_FUNC_(nga_set_update5_info, NGA_SET_UPDATE5_INFO)
#define nga_cset_update5_info_ F77_FUNC_(nga_cset_update5_info,NGA_CSET_UPDATE5_INFO)
#define nga_dset_update5_info_ F77_FUNC_(nga_dset_update5_info,NGA_DSET_UPDATE5_INFO)
#define nga_iset_update5_info_ F77_FUNC_(nga_iset_update5_info,NGA_ISET_UPDATE5_INFO)
#define nga_sset_update5_info_ F77_FUNC_(nga_sset_update5_info,NGA_SSET_UPDATE5_INFO)
#define nga_zset_update5_info_ F77_FUNC_(nga_zset_update5_info,NGA_ZSET_UPDATE5_INFO)
#define ga_update_ghosts_  F77_FUNC_(ga_update_ghosts, GA_UPDATE_GHOSTS)
#define ga_cupdate_ghosts_ F77_FUNC_(ga_cupdate_ghosts,GA_CUPDATE_GHOSTS)
#define ga_dupdate_ghosts_ F77_FUNC_(ga_dupdate_ghosts,GA_DUPDATE_GHOSTS)
#define ga_iupdate_ghosts_ F77_FUNC_(ga_iupdate_ghosts,GA_IUPDATE_GHOSTS)
#define ga_supdate_ghosts_ F77_FUNC_(ga_supdate_ghosts,GA_SUPDATE_GHOSTS)
#define ga_zupdate_ghosts_ F77_FUNC_(ga_zupdate_ghosts,GA_ZUPDATE_GHOSTS)
#define nga_update_ghosts_  F77_FUNC_(nga_update_ghosts, NGA_UPDATE_GHOSTS)
#define nga_update_ghosts_nb_  F77_FUNC_(nga_update_ghosts_nb, NGA_UPDATE_GHOSTS)
#define nga_cupdate_ghosts_ F77_FUNC_(nga_cupdate_ghosts,NGA_CUPDATE_GHOSTS)
#define nga_dupdate_ghosts_ F77_FUNC_(nga_dupdate_ghosts,NGA_DUPDATE_GHOSTS)
#define nga_iupdate_ghosts_ F77_FUNC_(nga_iupdate_ghosts,NGA_IUPDATE_GHOSTS)
#define nga_supdate_ghosts_ F77_FUNC_(nga_supdate_ghosts,NGA_SUPDATE_GHOSTS)
#define nga_zupdate_ghosts_ F77_FUNC_(nga_zupdate_ghosts,NGA_ZUPDATE_GHOSTS)
#define ga_update6_ghosts_  F77_FUNC_(ga_update6_ghosts, GA_UPDATE6_GHOSTS)
#define ga_cupdate6_ghosts_ F77_FUNC_(ga_cupdate6_ghosts,GA_CUPDATE6_GHOSTS)
#define ga_dupdate6_ghosts_ F77_FUNC_(ga_dupdate6_ghosts,GA_DUPDATE6_GHOSTS)
#define ga_iupdate6_ghosts_ F77_FUNC_(ga_iupdate6_ghosts,GA_IUPDATE6_GHOSTS)
#define ga_supdate6_ghosts_ F77_FUNC_(ga_supdate6_ghosts,GA_SUPDATE6_GHOSTS)
#define ga_zupdate6_ghosts_ F77_FUNC_(ga_zupdate6_ghosts,GA_ZUPDATE6_GHOSTS)
#define nga_update6_ghosts_  F77_FUNC_(nga_update6_ghosts, NGA_UPDATE6_GHOSTS)
#define nga_cupdate6_ghosts_ F77_FUNC_(nga_cupdate6_ghosts,NGA_CUPDATE6_GHOSTS)
#define nga_dupdate6_ghosts_ F77_FUNC_(nga_dupdate6_ghosts,NGA_DUPDATE6_GHOSTS)
#define nga_iupdate6_ghosts_ F77_FUNC_(nga_iupdate6_ghosts,NGA_IUPDATE6_GHOSTS)
#define nga_supdate6_ghosts_ F77_FUNC_(nga_supdate6_ghosts,NGA_SUPDATE6_GHOSTS)
#define nga_zupdate6_ghosts_ F77_FUNC_(nga_zupdate6_ghosts,NGA_ZUPDATE6_GHOSTS)
#define ga_update7_ghosts_  F77_FUNC_(ga_update7_ghosts, GA_UPDATE7_GHOSTS)
#define ga_cupdate7_ghosts_ F77_FUNC_(ga_cupdate7_ghosts,GA_CUPDATE7_GHOSTS)
#define ga_dupdate7_ghosts_ F77_FUNC_(ga_dupdate7_ghosts,GA_DUPDATE7_GHOSTS)
#define ga_iupdate7_ghosts_ F77_FUNC_(ga_iupdate7_ghosts,GA_IUPDATE7_GHOSTS)
#define ga_supdate7_ghosts_ F77_FUNC_(ga_supdate7_ghosts,GA_SUPDATE7_GHOSTS)
#define ga_zupdate7_ghosts_ F77_FUNC_(ga_zupdate7_ghosts,GA_ZUPDATE7_GHOSTS)
#define nga_update7_ghosts_  F77_FUNC_(nga_update7_ghosts, NGA_UPDATE7_GHOSTS)
#define nga_cupdate7_ghosts_ F77_FUNC_(nga_cupdate7_ghosts,NGA_CUPDATE7_GHOSTS)
#define nga_dupdate7_ghosts_ F77_FUNC_(nga_dupdate7_ghosts,NGA_DUPDATE7_GHOSTS)
#define nga_iupdate7_ghosts_ F77_FUNC_(nga_iupdate7_ghosts,NGA_IUPDATE7_GHOSTS)
#define nga_supdate7_ghosts_ F77_FUNC_(nga_supdate7_ghosts,NGA_SUPDATE7_GHOSTS)
#define nga_zupdate7_ghosts_ F77_FUNC_(nga_zupdate7_ghosts,NGA_ZUPDATE7_GHOSTS)
#define ga_ghost_barrier_  F77_FUNC_(ga_ghost_barrier, GA_GHOST_BARRIER)
#define ga_cghost_barrier_ F77_FUNC_(ga_cghost_barrier,GA_CGHOST_BARRIER)
#define ga_dghost_barrier_ F77_FUNC_(ga_dghost_barrier,GA_DGHOST_BARRIER)
#define ga_ighost_barrier_ F77_FUNC_(ga_ighost_barrier,GA_IGHOST_BARRIER)
#define ga_sghost_barrier_ F77_FUNC_(ga_sghost_barrier,GA_SGHOST_BARRIER)
#define ga_zghost_barrier_ F77_FUNC_(ga_zghost_barrier,GA_ZGHOST_BARRIER)
#define nga_ghost_barrier_  F77_FUNC_(nga_ghost_barrier, NGA_GHOST_BARRIER)
#define nga_cghost_barrier_ F77_FUNC_(nga_cghost_barrier,NGA_CGHOST_BARRIER)
#define nga_dghost_barrier_ F77_FUNC_(nga_dghost_barrier,NGA_DGHOST_BARRIER)
#define nga_ighost_barrier_ F77_FUNC_(nga_ighost_barrier,NGA_IGHOST_BARRIER)
#define nga_sghost_barrier_ F77_FUNC_(nga_sghost_barrier,NGA_SGHOST_BARRIER)
#define nga_zghost_barrier_ F77_FUNC_(nga_zghost_barrier,NGA_ZGHOST_BARRIER)
#define ga_nbget_ghost_dir_  F77_FUNC_(ga_nbget_ghost_dir, GA_NBGET_GHOST_DIR)
#define ga_cnbget_ghost_dir_ F77_FUNC_(ga_cnbget_ghost_dir,GA_CNBGET_GHOST_DIR)
#define ga_dnbget_ghost_dir_ F77_FUNC_(ga_dnbget_ghost_dir,GA_DNBGET_GHOST_DIR)
#define ga_inbget_ghost_dir_ F77_FUNC_(ga_inbget_ghost_dir,GA_INBGET_GHOST_DIR)
#define ga_snbget_ghost_dir_ F77_FUNC_(ga_snbget_ghost_dir,GA_SNBGET_GHOST_DIR)
#define ga_znbget_ghost_dir_ F77_FUNC_(ga_znbget_ghost_dir,GA_ZNBGET_GHOST_DIR)
#define nga_nbget_ghost_dir_  F77_FUNC_(nga_nbget_ghost_dir, NGA_NBGET_GHOST_DIR)
#define nga_cnbget_ghost_dir_ F77_FUNC_(nga_cnbget_ghost_dir,NGA_CNBGET_GHOST_DIR)
#define nga_dnbget_ghost_dir_ F77_FUNC_(nga_dnbget_ghost_dir,NGA_DNBGET_GHOST_DIR)
#define nga_inbget_ghost_dir_ F77_FUNC_(nga_inbget_ghost_dir,NGA_INBGET_GHOST_DIR)
#define nga_snbget_ghost_dir_ F77_FUNC_(nga_snbget_ghost_dir,NGA_SNBGET_GHOST_DIR)
#define nga_znbget_ghost_dir_ F77_FUNC_(nga_znbget_ghost_dir,NGA_ZNBGET_GHOST_DIR)
#define ga_set_ghost_info_  F77_FUNC_(ga_set_ghost_info, GA_SET_GHOST_INFO)
#define ga_cset_ghost_info_ F77_FUNC_(ga_cset_ghost_info,GA_CSET_GHOST_INFO)
#define ga_dset_ghost_info_ F77_FUNC_(ga_dset_ghost_info,GA_DSET_GHOST_INFO)
#define ga_iset_ghost_info_ F77_FUNC_(ga_iset_ghost_info,GA_ISET_GHOST_INFO)
#define ga_sset_ghost_info_ F77_FUNC_(ga_sset_ghost_info,GA_SSET_GHOST_INFO)
#define ga_zset_ghost_info_ F77_FUNC_(ga_zset_ghost_info,GA_ZSET_GHOST_INFO)
#define nga_set_ghost_info_  F77_FUNC_(nga_set_ghost_info, NGA_SET_GHOST_INFO)
#define nga_cset_ghost_info_ F77_FUNC_(nga_cset_ghost_info,NGA_CSET_GHOST_INFO)
#define nga_dset_ghost_info_ F77_FUNC_(nga_dset_ghost_info,NGA_DSET_GHOST_INFO)
#define nga_iset_ghost_info_ F77_FUNC_(nga_iset_ghost_info,NGA_ISET_GHOST_INFO)
#define nga_sset_ghost_info_ F77_FUNC_(nga_sset_ghost_info,NGA_SSET_GHOST_INFO)
#define nga_zset_ghost_info_ F77_FUNC_(nga_zset_ghost_info,NGA_ZSET_GHOST_INFO)
#define ga_set_ghost_corner_flag_  F77_FUNC_(ga_set_ghost_corner_flag, GA_SET_GHOST_CORNER_FLAG)
#define ga_cset_ghost_corner_flag_ F77_FUNC_(ga_cset_ghost_corner_flag,GA_CSET_GHOST_CORNER_FLAG)
#define ga_dset_ghost_corner_flag_ F77_FUNC_(ga_dset_ghost_corner_flag,GA_DSET_GHOST_CORNER_FLAG)
#define ga_iset_ghost_corner_flag_ F77_FUNC_(ga_iset_ghost_corner_flag,GA_ISET_GHOST_CORNER_FLAG)
#define ga_sset_ghost_corner_flag_ F77_FUNC_(ga_sset_ghost_corner_flag,GA_SSET_GHOST_CORNER_FLAG)
#define ga_zset_ghost_corner_flag_ F77_FUNC_(ga_zset_ghost_corner_flag,GA_ZSET_GHOST_CORNER_FLAG)
#define nga_set_ghost_corner_flag_  F77_FUNC_(nga_set_ghost_corner_flag, NGA_SET_GHOST_CORNER_FLAG)
#define nga_cset_ghost_corner_flag_ F77_FUNC_(nga_cset_ghost_corner_flag,NGA_CSET_GHOST_CORNER_FLAG)
#define nga_dset_ghost_corner_flag_ F77_FUNC_(nga_dset_ghost_corner_flag,NGA_DSET_GHOST_CORNER_FLAG)
#define nga_iset_ghost_corner_flag_ F77_FUNC_(nga_iset_ghost_corner_flag,NGA_ISET_GHOST_CORNER_FLAG)
#define nga_sset_ghost_corner_flag_ F77_FUNC_(nga_sset_ghost_corner_flag,NGA_SSET_GHOST_CORNER_FLAG)
#define nga_zset_ghost_corner_flag_ F77_FUNC_(nga_zset_ghost_corner_flag,NGA_ZSET_GHOST_CORNER_FLAG)
#define ga_zero_  F77_FUNC_(ga_zero, GA_ZERO)
#define ga_czero_ F77_FUNC_(ga_czero,GA_CZERO)
#define ga_dzero_ F77_FUNC_(ga_dzero,GA_DZERO)
#define ga_izero_ F77_FUNC_(ga_izero,GA_IZERO)
#define ga_szero_ F77_FUNC_(ga_szero,GA_SZERO)
#define ga_zzero_ F77_FUNC_(ga_zzero,GA_ZZERO)
#define nga_zero_  F77_FUNC_(nga_zero, NGA_ZERO)
#define nga_czero_ F77_FUNC_(nga_czero,NGA_CZERO)
#define nga_dzero_ F77_FUNC_(nga_dzero,NGA_DZERO)
#define nga_izero_ F77_FUNC_(nga_izero,NGA_IZERO)
#define nga_szero_ F77_FUNC_(nga_szero,NGA_SZERO)
#define nga_zzero_ F77_FUNC_(nga_zzero,NGA_ZZERO)
#define ga_copy_  F77_FUNC_(ga_copy, GA_COPY)
#define ga_ccopy_ F77_FUNC_(ga_ccopy,GA_CCOPY)
#define ga_dcopy_ F77_FUNC_(ga_dcopy,GA_DCOPY)
#define ga_icopy_ F77_FUNC_(ga_icopy,GA_ICOPY)
#define ga_scopy_ F77_FUNC_(ga_scopy,GA_SCOPY)
#define ga_zcopy_ F77_FUNC_(ga_zcopy,GA_ZCOPY)
#define nga_copy_  F77_FUNC_(nga_copy, NGA_COPY)
#define nga_ccopy_ F77_FUNC_(nga_ccopy,NGA_CCOPY)
#define nga_dcopy_ F77_FUNC_(nga_dcopy,NGA_DCOPY)
#define nga_icopy_ F77_FUNC_(nga_icopy,NGA_ICOPY)
#define nga_scopy_ F77_FUNC_(nga_scopy,NGA_SCOPY)
#define nga_zcopy_ F77_FUNC_(nga_zcopy,NGA_ZCOPY)
#define ga_dot_  F77_FUNC_(ga_dot, GA_DOT)
#define ga_cdot_ F77_FUNC_(ga_cdot,GA_CDOT)
#define ga_ddot_ F77_FUNC_(ga_ddot,GA_DDOT)
#define ga_idot_ F77_FUNC_(ga_idot,GA_IDOT)
#define ga_sdot_ F77_FUNC_(ga_sdot,GA_SDOT)
#define ga_zdot_ F77_FUNC_(ga_zdot,GA_ZDOT)
#define nga_dot_  F77_FUNC_(nga_dot, NGA_DOT)
#define nga_cdot_ F77_FUNC_(nga_cdot,NGA_CDOT)
#define nga_ddot_ F77_FUNC_(nga_ddot,NGA_DDOT)
#define nga_idot_ F77_FUNC_(nga_idot,NGA_IDOT)
#define nga_sdot_ F77_FUNC_(nga_sdot,NGA_SDOT)
#define nga_zdot_ F77_FUNC_(nga_zdot,NGA_ZDOT)
#define ga_scale_  F77_FUNC_(ga_scale, GA_SCALE)
#define ga_cscale_ F77_FUNC_(ga_cscale,GA_CSCALE)
#define ga_dscale_ F77_FUNC_(ga_dscale,GA_DSCALE)
#define ga_iscale_ F77_FUNC_(ga_iscale,GA_ISCALE)
#define ga_sscale_ F77_FUNC_(ga_sscale,GA_SSCALE)
#define ga_zscale_ F77_FUNC_(ga_zscale,GA_ZSCALE)
#define nga_scale_  F77_FUNC_(nga_scale, NGA_SCALE)
#define nga_cscale_ F77_FUNC_(nga_cscale,NGA_CSCALE)
#define nga_dscale_ F77_FUNC_(nga_dscale,NGA_DSCALE)
#define nga_iscale_ F77_FUNC_(nga_iscale,NGA_ISCALE)
#define nga_sscale_ F77_FUNC_(nga_sscale,NGA_SSCALE)
#define nga_zscale_ F77_FUNC_(nga_zscale,NGA_ZSCALE)
#define ga_add_  F77_FUNC_(ga_add, GA_ADD)
#define ga_cadd_ F77_FUNC_(ga_cadd,GA_CADD)
#define ga_dadd_ F77_FUNC_(ga_dadd,GA_DADD)
#define ga_iadd_ F77_FUNC_(ga_iadd,GA_IADD)
#define ga_sadd_ F77_FUNC_(ga_sadd,GA_SADD)
#define ga_zadd_ F77_FUNC_(ga_zadd,GA_ZADD)
#define nga_add_  F77_FUNC_(nga_add, NGA_ADD)
#define nga_cadd_ F77_FUNC_(nga_cadd,NGA_CADD)
#define nga_dadd_ F77_FUNC_(nga_dadd,NGA_DADD)
#define nga_iadd_ F77_FUNC_(nga_iadd,NGA_IADD)
#define nga_sadd_ F77_FUNC_(nga_sadd,NGA_SADD)
#define nga_zadd_ F77_FUNC_(nga_zadd,NGA_ZADD)
#define ga_transpose_  F77_FUNC_(ga_transpose, GA_TRANSPOSE)
#define ga_ctranspose_ F77_FUNC_(ga_ctranspose,GA_CTRANSPOSE)
#define ga_dtranspose_ F77_FUNC_(ga_dtranspose,GA_DTRANSPOSE)
#define ga_itranspose_ F77_FUNC_(ga_itranspose,GA_ITRANSPOSE)
#define ga_stranspose_ F77_FUNC_(ga_stranspose,GA_STRANSPOSE)
#define ga_ztranspose_ F77_FUNC_(ga_ztranspose,GA_ZTRANSPOSE)
#define nga_transpose_  F77_FUNC_(nga_transpose, NGA_TRANSPOSE)
#define nga_ctranspose_ F77_FUNC_(nga_ctranspose,NGA_CTRANSPOSE)
#define nga_dtranspose_ F77_FUNC_(nga_dtranspose,NGA_DTRANSPOSE)
#define nga_itranspose_ F77_FUNC_(nga_itranspose,NGA_ITRANSPOSE)
#define nga_stranspose_ F77_FUNC_(nga_stranspose,NGA_STRANSPOSE)
#define nga_ztranspose_ F77_FUNC_(nga_ztranspose,NGA_ZTRANSPOSE)
#define ga_copy_patch_  F77_FUNC_(ga_copy_patch, GA_COPY_PATCH)
#define ga_ccopy_patch_ F77_FUNC_(ga_ccopy_patch,GA_CCOPY_PATCH)
#define ga_dcopy_patch_ F77_FUNC_(ga_dcopy_patch,GA_DCOPY_PATCH)
#define ga_icopy_patch_ F77_FUNC_(ga_icopy_patch,GA_ICOPY_PATCH)
#define ga_scopy_patch_ F77_FUNC_(ga_scopy_patch,GA_SCOPY_PATCH)
#define ga_zcopy_patch_ F77_FUNC_(ga_zcopy_patch,GA_ZCOPY_PATCH)
#define nga_copy_patch_  F77_FUNC_(nga_copy_patch, NGA_COPY_PATCH)
#define nga_ccopy_patch_ F77_FUNC_(nga_ccopy_patch,NGA_CCOPY_PATCH)
#define nga_dcopy_patch_ F77_FUNC_(nga_dcopy_patch,NGA_DCOPY_PATCH)
#define nga_icopy_patch_ F77_FUNC_(nga_icopy_patch,NGA_ICOPY_PATCH)
#define nga_scopy_patch_ F77_FUNC_(nga_scopy_patch,NGA_SCOPY_PATCH)
#define nga_zcopy_patch_ F77_FUNC_(nga_zcopy_patch,NGA_ZCOPY_PATCH)
#define ga_zero_patch_  F77_FUNC_(ga_zero_patch, GA_ZERO_PATCH)
#define ga_czero_patch_ F77_FUNC_(ga_czero_patch,GA_CZERO_PATCH)
#define ga_dzero_patch_ F77_FUNC_(ga_dzero_patch,GA_DZERO_PATCH)
#define ga_izero_patch_ F77_FUNC_(ga_izero_patch,GA_IZERO_PATCH)
#define ga_szero_patch_ F77_FUNC_(ga_szero_patch,GA_SZERO_PATCH)
#define ga_zzero_patch_ F77_FUNC_(ga_zzero_patch,GA_ZZERO_PATCH)
#define nga_zero_patch_  F77_FUNC_(nga_zero_patch, NGA_ZERO_PATCH)
#define nga_czero_patch_ F77_FUNC_(nga_czero_patch,NGA_CZERO_PATCH)
#define nga_dzero_patch_ F77_FUNC_(nga_dzero_patch,NGA_DZERO_PATCH)
#define nga_izero_patch_ F77_FUNC_(nga_izero_patch,NGA_IZERO_PATCH)
#define nga_szero_patch_ F77_FUNC_(nga_szero_patch,NGA_SZERO_PATCH)
#define nga_zzero_patch_ F77_FUNC_(nga_zzero_patch,NGA_ZZERO_PATCH)
#define ga_patch_intersect_  F77_FUNC_(ga_patch_intersect, GA_PATCH_INTERSECT)
#define ga_cpatch_intersect_ F77_FUNC_(ga_cpatch_intersect,GA_CPATCH_INTERSECT)
#define ga_dpatch_intersect_ F77_FUNC_(ga_dpatch_intersect,GA_DPATCH_INTERSECT)
#define ga_ipatch_intersect_ F77_FUNC_(ga_ipatch_intersect,GA_IPATCH_INTERSECT)
#define ga_spatch_intersect_ F77_FUNC_(ga_spatch_intersect,GA_SPATCH_INTERSECT)
#define ga_zpatch_intersect_ F77_FUNC_(ga_zpatch_intersect,GA_ZPATCH_INTERSECT)
#define nga_patch_intersect_  F77_FUNC_(nga_patch_intersect, NGA_PATCH_INTERSECT)
#define nga_cpatch_intersect_ F77_FUNC_(nga_cpatch_intersect,NGA_CPATCH_INTERSECT)
#define nga_dpatch_intersect_ F77_FUNC_(nga_dpatch_intersect,NGA_DPATCH_INTERSECT)
#define nga_ipatch_intersect_ F77_FUNC_(nga_ipatch_intersect,NGA_IPATCH_INTERSECT)
#define nga_spatch_intersect_ F77_FUNC_(nga_spatch_intersect,NGA_SPATCH_INTERSECT)
#define nga_zpatch_intersect_ F77_FUNC_(nga_zpatch_intersect,NGA_ZPATCH_INTERSECT)
#define ga_comp_patch_  F77_FUNC_(ga_comp_patch, GA_COMP_PATCH)
#define ga_ccomp_patch_ F77_FUNC_(ga_ccomp_patch,GA_CCOMP_PATCH)
#define ga_dcomp_patch_ F77_FUNC_(ga_dcomp_patch,GA_DCOMP_PATCH)
#define ga_icomp_patch_ F77_FUNC_(ga_icomp_patch,GA_ICOMP_PATCH)
#define ga_scomp_patch_ F77_FUNC_(ga_scomp_patch,GA_SCOMP_PATCH)
#define ga_zcomp_patch_ F77_FUNC_(ga_zcomp_patch,GA_ZCOMP_PATCH)
#define nga_comp_patch_  F77_FUNC_(nga_comp_patch, NGA_COMP_PATCH)
#define nga_ccomp_patch_ F77_FUNC_(nga_ccomp_patch,NGA_CCOMP_PATCH)
#define nga_dcomp_patch_ F77_FUNC_(nga_dcomp_patch,NGA_DCOMP_PATCH)
#define nga_icomp_patch_ F77_FUNC_(nga_icomp_patch,NGA_ICOMP_PATCH)
#define nga_scomp_patch_ F77_FUNC_(nga_scomp_patch,NGA_SCOMP_PATCH)
#define nga_zcomp_patch_ F77_FUNC_(nga_zcomp_patch,NGA_ZCOMP_PATCH)
#define ga_dot_patch_  F77_FUNC_(ga_dot_patch, GA_DOT_PATCH)
#define ga_cdot_patch_ F77_FUNC_(ga_cdot_patch,GA_CDOT_PATCH)
#define ga_ddot_patch_ F77_FUNC_(ga_ddot_patch,GA_DDOT_PATCH)
#define ga_idot_patch_ F77_FUNC_(ga_idot_patch,GA_IDOT_PATCH)
#define ga_sdot_patch_ F77_FUNC_(ga_sdot_patch,GA_SDOT_PATCH)
#define ga_zdot_patch_ F77_FUNC_(ga_zdot_patch,GA_ZDOT_PATCH)
#define nga_dot_patch_  F77_FUNC_(nga_dot_patch, NGA_DOT_PATCH)
#define nga_cdot_patch_ F77_FUNC_(nga_cdot_patch,NGA_CDOT_PATCH)
#define nga_ddot_patch_ F77_FUNC_(nga_ddot_patch,NGA_DDOT_PATCH)
#define nga_idot_patch_ F77_FUNC_(nga_idot_patch,NGA_IDOT_PATCH)
#define nga_sdot_patch_ F77_FUNC_(nga_sdot_patch,NGA_SDOT_PATCH)
#define nga_zdot_patch_ F77_FUNC_(nga_zdot_patch,NGA_ZDOT_PATCH)
#define ga_fill_patch_  F77_FUNC_(ga_fill_patch, GA_FILL_PATCH)
#define ga_cfill_patch_ F77_FUNC_(ga_cfill_patch,GA_CFILL_PATCH)
#define ga_dfill_patch_ F77_FUNC_(ga_dfill_patch,GA_DFILL_PATCH)
#define ga_ifill_patch_ F77_FUNC_(ga_ifill_patch,GA_IFILL_PATCH)
#define ga_sfill_patch_ F77_FUNC_(ga_sfill_patch,GA_SFILL_PATCH)
#define ga_zfill_patch_ F77_FUNC_(ga_zfill_patch,GA_ZFILL_PATCH)
#define nga_fill_patch_  F77_FUNC_(nga_fill_patch, NGA_FILL_PATCH)
#define nga_cfill_patch_ F77_FUNC_(nga_cfill_patch,NGA_CFILL_PATCH)
#define nga_dfill_patch_ F77_FUNC_(nga_dfill_patch,NGA_DFILL_PATCH)
#define nga_ifill_patch_ F77_FUNC_(nga_ifill_patch,NGA_IFILL_PATCH)
#define nga_sfill_patch_ F77_FUNC_(nga_sfill_patch,NGA_SFILL_PATCH)
#define nga_zfill_patch_ F77_FUNC_(nga_zfill_patch,NGA_ZFILL_PATCH)
#define ga_scale_patch_  F77_FUNC_(ga_scale_patch, GA_SCALE_PATCH)
#define ga_cscale_patch_ F77_FUNC_(ga_cscale_patch,GA_CSCALE_PATCH)
#define ga_dscale_patch_ F77_FUNC_(ga_dscale_patch,GA_DSCALE_PATCH)
#define ga_iscale_patch_ F77_FUNC_(ga_iscale_patch,GA_ISCALE_PATCH)
#define ga_sscale_patch_ F77_FUNC_(ga_sscale_patch,GA_SSCALE_PATCH)
#define ga_zscale_patch_ F77_FUNC_(ga_zscale_patch,GA_ZSCALE_PATCH)
#define nga_scale_patch_  F77_FUNC_(nga_scale_patch, NGA_SCALE_PATCH)
#define nga_cscale_patch_ F77_FUNC_(nga_cscale_patch,NGA_CSCALE_PATCH)
#define nga_dscale_patch_ F77_FUNC_(nga_dscale_patch,NGA_DSCALE_PATCH)
#define nga_iscale_patch_ F77_FUNC_(nga_iscale_patch,NGA_ISCALE_PATCH)
#define nga_sscale_patch_ F77_FUNC_(nga_sscale_patch,NGA_SSCALE_PATCH)
#define nga_zscale_patch_ F77_FUNC_(nga_zscale_patch,NGA_ZSCALE_PATCH)
#define ga_add_patch_  F77_FUNC_(ga_add_patch, GA_ADD_PATCH)
#define ga_cadd_patch_ F77_FUNC_(ga_cadd_patch,GA_CADD_PATCH)
#define ga_dadd_patch_ F77_FUNC_(ga_dadd_patch,GA_DADD_PATCH)
#define ga_iadd_patch_ F77_FUNC_(ga_iadd_patch,GA_IADD_PATCH)
#define ga_sadd_patch_ F77_FUNC_(ga_sadd_patch,GA_SADD_PATCH)
#define ga_zadd_patch_ F77_FUNC_(ga_zadd_patch,GA_ZADD_PATCH)
#define nga_add_patch_  F77_FUNC_(nga_add_patch, NGA_ADD_PATCH)
#define nga_cadd_patch_ F77_FUNC_(nga_cadd_patch,NGA_CADD_PATCH)
#define nga_dadd_patch_ F77_FUNC_(nga_dadd_patch,NGA_DADD_PATCH)
#define nga_iadd_patch_ F77_FUNC_(nga_iadd_patch,NGA_IADD_PATCH)
#define nga_sadd_patch_ F77_FUNC_(nga_sadd_patch,NGA_SADD_PATCH)
#define nga_zadd_patch_ F77_FUNC_(nga_zadd_patch,NGA_ZADD_PATCH)
#define ga_select_elem_  F77_FUNC_(ga_select_elem, GA_SELECT_ELEM)
#define ga_cselect_elem_ F77_FUNC_(ga_cselect_elem,GA_CSELECT_ELEM)
#define ga_dselect_elem_ F77_FUNC_(ga_dselect_elem,GA_DSELECT_ELEM)
#define ga_iselect_elem_ F77_FUNC_(ga_iselect_elem,GA_ISELECT_ELEM)
#define ga_sselect_elem_ F77_FUNC_(ga_sselect_elem,GA_SSELECT_ELEM)
#define ga_zselect_elem_ F77_FUNC_(ga_zselect_elem,GA_ZSELECT_ELEM)
#define nga_select_elem_  F77_FUNC_(nga_select_elem, NGA_SELECT_ELEM)
#define nga_cselect_elem_ F77_FUNC_(nga_cselect_elem,NGA_CSELECT_ELEM)
#define nga_dselect_elem_ F77_FUNC_(nga_dselect_elem,NGA_DSELECT_ELEM)
#define nga_iselect_elem_ F77_FUNC_(nga_iselect_elem,NGA_ISELECT_ELEM)
#define nga_sselect_elem_ F77_FUNC_(nga_sselect_elem,NGA_SSELECT_ELEM)
#define nga_zselect_elem_ F77_FUNC_(nga_zselect_elem,NGA_ZSELECT_ELEM)
#define ga_memory_avail_type_  F77_FUNC_(ga_memory_avail_type, GA_MEMORY_AVAIL_TYPE)
#define ga_cmemory_avail_type_ F77_FUNC_(ga_cmemory_avail_type,GA_CMEMORY_AVAIL_TYPE)
#define ga_dmemory_avail_type_ F77_FUNC_(ga_dmemory_avail_type,GA_DMEMORY_AVAIL_TYPE)
#define ga_imemory_avail_type_ F77_FUNC_(ga_imemory_avail_type,GA_IMEMORY_AVAIL_TYPE)
#define ga_smemory_avail_type_ F77_FUNC_(ga_smemory_avail_type,GA_SMEMORY_AVAIL_TYPE)
#define ga_zmemory_avail_type_ F77_FUNC_(ga_zmemory_avail_type,GA_ZMEMORY_AVAIL_TYPE)
#define nga_memory_avail_type_  F77_FUNC_(nga_memory_avail_type, NGA_MEMORY_AVAIL_TYPE)
#define nga_cmemory_avail_type_ F77_FUNC_(nga_cmemory_avail_type,NGA_CMEMORY_AVAIL_TYPE)
#define nga_dmemory_avail_type_ F77_FUNC_(nga_dmemory_avail_type,NGA_DMEMORY_AVAIL_TYPE)
#define nga_imemory_avail_type_ F77_FUNC_(nga_imemory_avail_type,NGA_IMEMORY_AVAIL_TYPE)
#define nga_smemory_avail_type_ F77_FUNC_(nga_smemory_avail_type,NGA_SMEMORY_AVAIL_TYPE)
#define nga_zmemory_avail_type_ F77_FUNC_(nga_zmemory_avail_type,NGA_ZMEMORY_AVAIL_TYPE)
#define ga_patch_enum_  F77_FUNC_(ga_patch_enum, GA_PATCH_ENUM)
#define ga_cpatch_enum_ F77_FUNC_(ga_cpatch_enum,GA_CPATCH_ENUM)
#define ga_dpatch_enum_ F77_FUNC_(ga_dpatch_enum,GA_DPATCH_ENUM)
#define ga_ipatch_enum_ F77_FUNC_(ga_ipatch_enum,GA_IPATCH_ENUM)
#define ga_spatch_enum_ F77_FUNC_(ga_spatch_enum,GA_SPATCH_ENUM)
#define ga_zpatch_enum_ F77_FUNC_(ga_zpatch_enum,GA_ZPATCH_ENUM)
#define nga_patch_enum_  F77_FUNC_(nga_patch_enum, NGA_PATCH_ENUM)
#define nga_cpatch_enum_ F77_FUNC_(nga_cpatch_enum,NGA_CPATCH_ENUM)
#define nga_dpatch_enum_ F77_FUNC_(nga_dpatch_enum,NGA_DPATCH_ENUM)
#define nga_ipatch_enum_ F77_FUNC_(nga_ipatch_enum,NGA_IPATCH_ENUM)
#define nga_spatch_enum_ F77_FUNC_(nga_spatch_enum,NGA_SPATCH_ENUM)
#define nga_zpatch_enum_ F77_FUNC_(nga_zpatch_enum,NGA_ZPATCH_ENUM)
#define ga_scan_copy_  F77_FUNC_(ga_scan_copy, GA_SCAN_COPY)
#define ga_cscan_copy_ F77_FUNC_(ga_cscan_copy,GA_CSCAN_COPY)
#define ga_dscan_copy_ F77_FUNC_(ga_dscan_copy,GA_DSCAN_COPY)
#define ga_iscan_copy_ F77_FUNC_(ga_iscan_copy,GA_ISCAN_COPY)
#define ga_sscan_copy_ F77_FUNC_(ga_sscan_copy,GA_SSCAN_COPY)
#define ga_zscan_copy_ F77_FUNC_(ga_zscan_copy,GA_ZSCAN_COPY)
#define nga_scan_copy_  F77_FUNC_(nga_scan_copy, NGA_SCAN_COPY)
#define nga_cscan_copy_ F77_FUNC_(nga_cscan_copy,NGA_CSCAN_COPY)
#define nga_dscan_copy_ F77_FUNC_(nga_dscan_copy,NGA_DSCAN_COPY)
#define nga_iscan_copy_ F77_FUNC_(nga_iscan_copy,NGA_ISCAN_COPY)
#define nga_sscan_copy_ F77_FUNC_(nga_sscan_copy,NGA_SSCAN_COPY)
#define nga_zscan_copy_ F77_FUNC_(nga_zscan_copy,NGA_ZSCAN_COPY)
#define ga_scan_add_  F77_FUNC_(ga_scan_add, GA_SCAN_ADD)
#define ga_cscan_add_ F77_FUNC_(ga_cscan_add,GA_CSCAN_ADD)
#define ga_dscan_add_ F77_FUNC_(ga_dscan_add,GA_DSCAN_ADD)
#define ga_iscan_add_ F77_FUNC_(ga_iscan_add,GA_ISCAN_ADD)
#define ga_sscan_add_ F77_FUNC_(ga_sscan_add,GA_SSCAN_ADD)
#define ga_zscan_add_ F77_FUNC_(ga_zscan_add,GA_ZSCAN_ADD)
#define nga_scan_add_  F77_FUNC_(nga_scan_add, NGA_SCAN_ADD)
#define nga_cscan_add_ F77_FUNC_(nga_cscan_add,NGA_CSCAN_ADD)
#define nga_dscan_add_ F77_FUNC_(nga_dscan_add,NGA_DSCAN_ADD)
#define nga_iscan_add_ F77_FUNC_(nga_iscan_add,NGA_ISCAN_ADD)
#define nga_sscan_add_ F77_FUNC_(nga_sscan_add,NGA_SSCAN_ADD)
#define nga_zscan_add_ F77_FUNC_(nga_zscan_add,NGA_ZSCAN_ADD)
#define ga_pack_  F77_FUNC_(ga_pack, GA_PACK)
#define ga_cpack_ F77_FUNC_(ga_cpack,GA_CPACK)
#define ga_dpack_ F77_FUNC_(ga_dpack,GA_DPACK)
#define ga_ipack_ F77_FUNC_(ga_ipack,GA_IPACK)
#define ga_spack_ F77_FUNC_(ga_spack,GA_SPACK)
#define ga_zpack_ F77_FUNC_(ga_zpack,GA_ZPACK)
#define nga_pack_  F77_FUNC_(nga_pack, NGA_PACK)
#define nga_cpack_ F77_FUNC_(nga_cpack,NGA_CPACK)
#define nga_dpack_ F77_FUNC_(nga_dpack,NGA_DPACK)
#define nga_ipack_ F77_FUNC_(nga_ipack,NGA_IPACK)
#define nga_spack_ F77_FUNC_(nga_spack,NGA_SPACK)
#define nga_zpack_ F77_FUNC_(nga_zpack,NGA_ZPACK)
#define ga_unpack_  F77_FUNC_(ga_unpack, GA_UNPACK)
#define ga_cunpack_ F77_FUNC_(ga_cunpack,GA_CUNPACK)
#define ga_dunpack_ F77_FUNC_(ga_dunpack,GA_DUNPACK)
#define ga_iunpack_ F77_FUNC_(ga_iunpack,GA_IUNPACK)
#define ga_sunpack_ F77_FUNC_(ga_sunpack,GA_SUNPACK)
#define ga_zunpack_ F77_FUNC_(ga_zunpack,GA_ZUNPACK)
#define nga_unpack_  F77_FUNC_(nga_unpack, NGA_UNPACK)
#define nga_cunpack_ F77_FUNC_(nga_cunpack,NGA_CUNPACK)
#define nga_dunpack_ F77_FUNC_(nga_dunpack,NGA_DUNPACK)
#define nga_iunpack_ F77_FUNC_(nga_iunpack,NGA_IUNPACK)
#define nga_sunpack_ F77_FUNC_(nga_sunpack,NGA_SUNPACK)
#define nga_zunpack_ F77_FUNC_(nga_zunpack,NGA_ZUNPACK)
#define ga_create_bin_range_  F77_FUNC_(ga_create_bin_range, GA_CREATE_BIN_RANGE)
#define ga_ccreate_bin_range_ F77_FUNC_(ga_ccreate_bin_range,GA_CCREATE_BIN_RANGE)
#define ga_dcreate_bin_range_ F77_FUNC_(ga_dcreate_bin_range,GA_DCREATE_BIN_RANGE)
#define ga_icreate_bin_range_ F77_FUNC_(ga_icreate_bin_range,GA_ICREATE_BIN_RANGE)
#define ga_screate_bin_range_ F77_FUNC_(ga_screate_bin_range,GA_SCREATE_BIN_RANGE)
#define ga_zcreate_bin_range_ F77_FUNC_(ga_zcreate_bin_range,GA_ZCREATE_BIN_RANGE)
#define nga_create_bin_range_  F77_FUNC_(nga_create_bin_range, NGA_CREATE_BIN_RANGE)
#define nga_ccreate_bin_range_ F77_FUNC_(nga_ccreate_bin_range,NGA_CCREATE_BIN_RANGE)
#define nga_dcreate_bin_range_ F77_FUNC_(nga_dcreate_bin_range,NGA_DCREATE_BIN_RANGE)
#define nga_icreate_bin_range_ F77_FUNC_(nga_icreate_bin_range,NGA_ICREATE_BIN_RANGE)
#define nga_screate_bin_range_ F77_FUNC_(nga_screate_bin_range,NGA_SCREATE_BIN_RANGE)
#define nga_zcreate_bin_range_ F77_FUNC_(nga_zcreate_bin_range,NGA_ZCREATE_BIN_RANGE)
#define ga_bin_sorter_  F77_FUNC_(ga_bin_sorter, GA_BIN_SORTER)
#define ga_cbin_sorter_ F77_FUNC_(ga_cbin_sorter,GA_CBIN_SORTER)
#define ga_dbin_sorter_ F77_FUNC_(ga_dbin_sorter,GA_DBIN_SORTER)
#define ga_ibin_sorter_ F77_FUNC_(ga_ibin_sorter,GA_IBIN_SORTER)
#define ga_sbin_sorter_ F77_FUNC_(ga_sbin_sorter,GA_SBIN_SORTER)
#define ga_zbin_sorter_ F77_FUNC_(ga_zbin_sorter,GA_ZBIN_SORTER)
#define nga_bin_sorter_  F77_FUNC_(nga_bin_sorter, NGA_BIN_SORTER)
#define nga_cbin_sorter_ F77_FUNC_(nga_cbin_sorter,NGA_CBIN_SORTER)
#define nga_dbin_sorter_ F77_FUNC_(nga_dbin_sorter,NGA_DBIN_SORTER)
#define nga_ibin_sorter_ F77_FUNC_(nga_ibin_sorter,NGA_IBIN_SORTER)
#define nga_sbin_sorter_ F77_FUNC_(nga_sbin_sorter,NGA_SBIN_SORTER)
#define nga_zbin_sorter_ F77_FUNC_(nga_zbin_sorter,NGA_ZBIN_SORTER)
#define ga_bin_index_  F77_FUNC_(ga_bin_index, GA_BIN_INDEX)
#define ga_cbin_index_ F77_FUNC_(ga_cbin_index,GA_CBIN_INDEX)
#define ga_dbin_index_ F77_FUNC_(ga_dbin_index,GA_DBIN_INDEX)
#define ga_ibin_index_ F77_FUNC_(ga_ibin_index,GA_IBIN_INDEX)
#define ga_sbin_index_ F77_FUNC_(ga_sbin_index,GA_SBIN_INDEX)
#define ga_zbin_index_ F77_FUNC_(ga_zbin_index,GA_ZBIN_INDEX)
#define nga_bin_index_  F77_FUNC_(nga_bin_index, NGA_BIN_INDEX)
#define nga_cbin_index_ F77_FUNC_(nga_cbin_index,NGA_CBIN_INDEX)
#define nga_dbin_index_ F77_FUNC_(nga_dbin_index,NGA_DBIN_INDEX)
#define nga_ibin_index_ F77_FUNC_(nga_ibin_index,NGA_IBIN_INDEX)
#define nga_sbin_index_ F77_FUNC_(nga_sbin_index,NGA_SBIN_INDEX)
#define nga_zbin_index_ F77_FUNC_(nga_zbin_index,NGA_ZBIN_INDEX)
#define ga_median_patch_  F77_FUNC_(ga_median_patch, GA_MEDIAN_PATCH)
#define ga_cmedian_patch_ F77_FUNC_(ga_cmedian_patch,GA_CMEDIAN_PATCH)
#define ga_dmedian_patch_ F77_FUNC_(ga_dmedian_patch,GA_DMEDIAN_PATCH)
#define ga_imedian_patch_ F77_FUNC_(ga_imedian_patch,GA_IMEDIAN_PATCH)
#define ga_smedian_patch_ F77_FUNC_(ga_smedian_patch,GA_SMEDIAN_PATCH)
#define ga_zmedian_patch_ F77_FUNC_(ga_zmedian_patch,GA_ZMEDIAN_PATCH)
#define nga_median_patch_  F77_FUNC_(nga_median_patch, NGA_MEDIAN_PATCH)
#define nga_cmedian_patch_ F77_FUNC_(nga_cmedian_patch,NGA_CMEDIAN_PATCH)
#define nga_dmedian_patch_ F77_FUNC_(nga_dmedian_patch,NGA_DMEDIAN_PATCH)
#define nga_imedian_patch_ F77_FUNC_(nga_imedian_patch,NGA_IMEDIAN_PATCH)
#define nga_smedian_patch_ F77_FUNC_(nga_smedian_patch,NGA_SMEDIAN_PATCH)
#define nga_zmedian_patch_ F77_FUNC_(nga_zmedian_patch,NGA_ZMEDIAN_PATCH)
#define ga_median_  F77_FUNC_(ga_median, GA_MEDIAN)
#define ga_cmedian_ F77_FUNC_(ga_cmedian,GA_CMEDIAN)
#define ga_dmedian_ F77_FUNC_(ga_dmedian,GA_DMEDIAN)
#define ga_imedian_ F77_FUNC_(ga_imedian,GA_IMEDIAN)
#define ga_smedian_ F77_FUNC_(ga_smedian,GA_SMEDIAN)
#define ga_zmedian_ F77_FUNC_(ga_zmedian,GA_ZMEDIAN)
#define nga_median_  F77_FUNC_(nga_median, NGA_MEDIAN)
#define nga_cmedian_ F77_FUNC_(nga_cmedian,NGA_CMEDIAN)
#define nga_dmedian_ F77_FUNC_(nga_dmedian,NGA_DMEDIAN)
#define nga_imedian_ F77_FUNC_(nga_imedian,NGA_IMEDIAN)
#define nga_smedian_ F77_FUNC_(nga_smedian,NGA_SMEDIAN)
#define nga_zmedian_ F77_FUNC_(nga_zmedian,NGA_ZMEDIAN)
#define ga_norm_infinity_  F77_FUNC_(ga_norm_infinity, GA_NORM_INFINITY)
#define ga_cnorm_infinity_ F77_FUNC_(ga_cnorm_infinity,GA_CNORM_INFINITY)
#define ga_dnorm_infinity_ F77_FUNC_(ga_dnorm_infinity,GA_DNORM_INFINITY)
#define ga_inorm_infinity_ F77_FUNC_(ga_inorm_infinity,GA_INORM_INFINITY)
#define ga_snorm_infinity_ F77_FUNC_(ga_snorm_infinity,GA_SNORM_INFINITY)
#define ga_znorm_infinity_ F77_FUNC_(ga_znorm_infinity,GA_ZNORM_INFINITY)
#define nga_norm_infinity_  F77_FUNC_(nga_norm_infinity, NGA_NORM_INFINITY)
#define nga_cnorm_infinity_ F77_FUNC_(nga_cnorm_infinity,NGA_CNORM_INFINITY)
#define nga_dnorm_infinity_ F77_FUNC_(nga_dnorm_infinity,NGA_DNORM_INFINITY)
#define nga_inorm_infinity_ F77_FUNC_(nga_inorm_infinity,NGA_INORM_INFINITY)
#define nga_snorm_infinity_ F77_FUNC_(nga_snorm_infinity,NGA_SNORM_INFINITY)
#define nga_znorm_infinity_ F77_FUNC_(nga_znorm_infinity,NGA_ZNORM_INFINITY)
#define ga_norm1_  F77_FUNC_(ga_norm1, GA_NORM1)
#define ga_cnorm1_ F77_FUNC_(ga_cnorm1,GA_CNORM1)
#define ga_dnorm1_ F77_FUNC_(ga_dnorm1,GA_DNORM1)
#define ga_inorm1_ F77_FUNC_(ga_inorm1,GA_INORM1)
#define ga_snorm1_ F77_FUNC_(ga_snorm1,GA_SNORM1)
#define ga_znorm1_ F77_FUNC_(ga_znorm1,GA_ZNORM1)
#define nga_norm1_  F77_FUNC_(nga_norm1, NGA_NORM1)
#define nga_cnorm1_ F77_FUNC_(nga_cnorm1,NGA_CNORM1)
#define nga_dnorm1_ F77_FUNC_(nga_dnorm1,NGA_DNORM1)
#define nga_inorm1_ F77_FUNC_(nga_inorm1,NGA_INORM1)
#define nga_snorm1_ F77_FUNC_(nga_snorm1,NGA_SNORM1)
#define nga_znorm1_ F77_FUNC_(nga_znorm1,NGA_ZNORM1)
#define ga_get_diag_  F77_FUNC_(ga_get_diag, GA_GET_DIAG)
#define ga_cget_diag_ F77_FUNC_(ga_cget_diag,GA_CGET_DIAG)
#define ga_dget_diag_ F77_FUNC_(ga_dget_diag,GA_DGET_DIAG)
#define ga_iget_diag_ F77_FUNC_(ga_iget_diag,GA_IGET_DIAG)
#define ga_sget_diag_ F77_FUNC_(ga_sget_diag,GA_SGET_DIAG)
#define ga_zget_diag_ F77_FUNC_(ga_zget_diag,GA_ZGET_DIAG)
#define nga_get_diag_  F77_FUNC_(nga_get_diag, NGA_GET_DIAG)
#define nga_cget_diag_ F77_FUNC_(nga_cget_diag,NGA_CGET_DIAG)
#define nga_dget_diag_ F77_FUNC_(nga_dget_diag,NGA_DGET_DIAG)
#define nga_iget_diag_ F77_FUNC_(nga_iget_diag,NGA_IGET_DIAG)
#define nga_sget_diag_ F77_FUNC_(nga_sget_diag,NGA_SGET_DIAG)
#define nga_zget_diag_ F77_FUNC_(nga_zget_diag,NGA_ZGET_DIAG)
#define ga_add_diagonal_  F77_FUNC_(ga_add_diagonal, GA_ADD_DIAGONAL)
#define ga_cadd_diagonal_ F77_FUNC_(ga_cadd_diagonal,GA_CADD_DIAGONAL)
#define ga_dadd_diagonal_ F77_FUNC_(ga_dadd_diagonal,GA_DADD_DIAGONAL)
#define ga_iadd_diagonal_ F77_FUNC_(ga_iadd_diagonal,GA_IADD_DIAGONAL)
#define ga_sadd_diagonal_ F77_FUNC_(ga_sadd_diagonal,GA_SADD_DIAGONAL)
#define ga_zadd_diagonal_ F77_FUNC_(ga_zadd_diagonal,GA_ZADD_DIAGONAL)
#define nga_add_diagonal_  F77_FUNC_(nga_add_diagonal, NGA_ADD_DIAGONAL)
#define nga_cadd_diagonal_ F77_FUNC_(nga_cadd_diagonal,NGA_CADD_DIAGONAL)
#define nga_dadd_diagonal_ F77_FUNC_(nga_dadd_diagonal,NGA_DADD_DIAGONAL)
#define nga_iadd_diagonal_ F77_FUNC_(nga_iadd_diagonal,NGA_IADD_DIAGONAL)
#define nga_sadd_diagonal_ F77_FUNC_(nga_sadd_diagonal,NGA_SADD_DIAGONAL)
#define nga_zadd_diagonal_ F77_FUNC_(nga_zadd_diagonal,NGA_ZADD_DIAGONAL)
#define ga_set_diagonal_  F77_FUNC_(ga_set_diagonal, GA_SET_DIAGONAL)
#define ga_cset_diagonal_ F77_FUNC_(ga_cset_diagonal,GA_CSET_DIAGONAL)
#define ga_dset_diagonal_ F77_FUNC_(ga_dset_diagonal,GA_DSET_DIAGONAL)
#define ga_iset_diagonal_ F77_FUNC_(ga_iset_diagonal,GA_ISET_DIAGONAL)
#define ga_sset_diagonal_ F77_FUNC_(ga_sset_diagonal,GA_SSET_DIAGONAL)
#define ga_zset_diagonal_ F77_FUNC_(ga_zset_diagonal,GA_ZSET_DIAGONAL)
#define nga_set_diagonal_  F77_FUNC_(nga_set_diagonal, NGA_SET_DIAGONAL)
#define nga_cset_diagonal_ F77_FUNC_(nga_cset_diagonal,NGA_CSET_DIAGONAL)
#define nga_dset_diagonal_ F77_FUNC_(nga_dset_diagonal,NGA_DSET_DIAGONAL)
#define nga_iset_diagonal_ F77_FUNC_(nga_iset_diagonal,NGA_ISET_DIAGONAL)
#define nga_sset_diagonal_ F77_FUNC_(nga_sset_diagonal,NGA_SSET_DIAGONAL)
#define nga_zset_diagonal_ F77_FUNC_(nga_zset_diagonal,NGA_ZSET_DIAGONAL)
#define ga_shift_diagonal_  F77_FUNC_(ga_shift_diagonal, GA_SHIFT_DIAGONAL)
#define ga_cshift_diagonal_ F77_FUNC_(ga_cshift_diagonal,GA_CSHIFT_DIAGONAL)
#define ga_dshift_diagonal_ F77_FUNC_(ga_dshift_diagonal,GA_DSHIFT_DIAGONAL)
#define ga_ishift_diagonal_ F77_FUNC_(ga_ishift_diagonal,GA_ISHIFT_DIAGONAL)
#define ga_sshift_diagonal_ F77_FUNC_(ga_sshift_diagonal,GA_SSHIFT_DIAGONAL)
#define ga_zshift_diagonal_ F77_FUNC_(ga_zshift_diagonal,GA_ZSHIFT_DIAGONAL)
#define nga_shift_diagonal_  F77_FUNC_(nga_shift_diagonal, NGA_SHIFT_DIAGONAL)
#define nga_cshift_diagonal_ F77_FUNC_(nga_cshift_diagonal,NGA_CSHIFT_DIAGONAL)
#define nga_dshift_diagonal_ F77_FUNC_(nga_dshift_diagonal,NGA_DSHIFT_DIAGONAL)
#define nga_ishift_diagonal_ F77_FUNC_(nga_ishift_diagonal,NGA_ISHIFT_DIAGONAL)
#define nga_sshift_diagonal_ F77_FUNC_(nga_sshift_diagonal,NGA_SSHIFT_DIAGONAL)
#define nga_zshift_diagonal_ F77_FUNC_(nga_zshift_diagonal,NGA_ZSHIFT_DIAGONAL)
#define ga_zero_diagonal_  F77_FUNC_(ga_zero_diagonal, GA_ZERO_DIAGONAL)
#define ga_czero_diagonal_ F77_FUNC_(ga_czero_diagonal,GA_CZERO_DIAGONAL)
#define ga_dzero_diagonal_ F77_FUNC_(ga_dzero_diagonal,GA_DZERO_DIAGONAL)
#define ga_izero_diagonal_ F77_FUNC_(ga_izero_diagonal,GA_IZERO_DIAGONAL)
#define ga_szero_diagonal_ F77_FUNC_(ga_szero_diagonal,GA_SZERO_DIAGONAL)
#define ga_zzero_diagonal_ F77_FUNC_(ga_zzero_diagonal,GA_ZZERO_DIAGONAL)
#define nga_zero_diagonal_  F77_FUNC_(nga_zero_diagonal, NGA_ZERO_DIAGONAL)
#define nga_czero_diagonal_ F77_FUNC_(nga_czero_diagonal,NGA_CZERO_DIAGONAL)
#define nga_dzero_diagonal_ F77_FUNC_(nga_dzero_diagonal,NGA_DZERO_DIAGONAL)
#define nga_izero_diagonal_ F77_FUNC_(nga_izero_diagonal,NGA_IZERO_DIAGONAL)
#define nga_szero_diagonal_ F77_FUNC_(nga_szero_diagonal,NGA_SZERO_DIAGONAL)
#define nga_zzero_diagonal_ F77_FUNC_(nga_zzero_diagonal,NGA_ZZERO_DIAGONAL)
#define ga_scale_rows_  F77_FUNC_(ga_scale_rows, GA_SCALE_ROWS)
#define ga_cscale_rows_ F77_FUNC_(ga_cscale_rows,GA_CSCALE_ROWS)
#define ga_dscale_rows_ F77_FUNC_(ga_dscale_rows,GA_DSCALE_ROWS)
#define ga_iscale_rows_ F77_FUNC_(ga_iscale_rows,GA_ISCALE_ROWS)
#define ga_sscale_rows_ F77_FUNC_(ga_sscale_rows,GA_SSCALE_ROWS)
#define ga_zscale_rows_ F77_FUNC_(ga_zscale_rows,GA_ZSCALE_ROWS)
#define nga_scale_rows_  F77_FUNC_(nga_scale_rows, NGA_SCALE_ROWS)
#define nga_cscale_rows_ F77_FUNC_(nga_cscale_rows,NGA_CSCALE_ROWS)
#define nga_dscale_rows_ F77_FUNC_(nga_dscale_rows,NGA_DSCALE_ROWS)
#define nga_iscale_rows_ F77_FUNC_(nga_iscale_rows,NGA_ISCALE_ROWS)
#define nga_sscale_rows_ F77_FUNC_(nga_sscale_rows,NGA_SSCALE_ROWS)
#define nga_zscale_rows_ F77_FUNC_(nga_zscale_rows,NGA_ZSCALE_ROWS)
#define ga_scale_cols_  F77_FUNC_(ga_scale_cols, GA_SCALE_COLS)
#define ga_cscale_cols_ F77_FUNC_(ga_cscale_cols,GA_CSCALE_COLS)
#define ga_dscale_cols_ F77_FUNC_(ga_dscale_cols,GA_DSCALE_COLS)
#define ga_iscale_cols_ F77_FUNC_(ga_iscale_cols,GA_ISCALE_COLS)
#define ga_sscale_cols_ F77_FUNC_(ga_sscale_cols,GA_SSCALE_COLS)
#define ga_zscale_cols_ F77_FUNC_(ga_zscale_cols,GA_ZSCALE_COLS)
#define nga_scale_cols_  F77_FUNC_(nga_scale_cols, NGA_SCALE_COLS)
#define nga_cscale_cols_ F77_FUNC_(nga_cscale_cols,NGA_CSCALE_COLS)
#define nga_dscale_cols_ F77_FUNC_(nga_dscale_cols,NGA_DSCALE_COLS)
#define nga_iscale_cols_ F77_FUNC_(nga_iscale_cols,NGA_ISCALE_COLS)
#define nga_sscale_cols_ F77_FUNC_(nga_sscale_cols,NGA_SSCALE_COLS)
#define nga_zscale_cols_ F77_FUNC_(nga_zscale_cols,NGA_ZSCALE_COLS)
#define ga_symmetrize_  F77_FUNC_(ga_symmetrize, GA_SYMMETRIZE)
#define ga_csymmetrize_ F77_FUNC_(ga_csymmetrize,GA_CSYMMETRIZE)
#define ga_dsymmetrize_ F77_FUNC_(ga_dsymmetrize,GA_DSYMMETRIZE)
#define ga_isymmetrize_ F77_FUNC_(ga_isymmetrize,GA_ISYMMETRIZE)
#define ga_ssymmetrize_ F77_FUNC_(ga_ssymmetrize,GA_SSYMMETRIZE)
#define ga_zsymmetrize_ F77_FUNC_(ga_zsymmetrize,GA_ZSYMMETRIZE)
#define nga_symmetrize_  F77_FUNC_(nga_symmetrize, NGA_SYMMETRIZE)
#define nga_csymmetrize_ F77_FUNC_(nga_csymmetrize,NGA_CSYMMETRIZE)
#define nga_dsymmetrize_ F77_FUNC_(nga_dsymmetrize,NGA_DSYMMETRIZE)
#define nga_isymmetrize_ F77_FUNC_(nga_isymmetrize,NGA_ISYMMETRIZE)
#define nga_ssymmetrize_ F77_FUNC_(nga_ssymmetrize,NGA_SSYMMETRIZE)
#define nga_zsymmetrize_ F77_FUNC_(nga_zsymmetrize,NGA_ZSYMMETRIZE)
#define ga_periodic_  F77_FUNC_(ga_periodic, GA_PERIODIC)
#define ga_cperiodic_ F77_FUNC_(ga_cperiodic,GA_CPERIODIC)
#define ga_dperiodic_ F77_FUNC_(ga_dperiodic,GA_DPERIODIC)
#define ga_iperiodic_ F77_FUNC_(ga_iperiodic,GA_IPERIODIC)
#define ga_speriodic_ F77_FUNC_(ga_speriodic,GA_SPERIODIC)
#define ga_zperiodic_ F77_FUNC_(ga_zperiodic,GA_ZPERIODIC)
#define nga_periodic_  F77_FUNC_(nga_periodic, NGA_PERIODIC)
#define nga_cperiodic_ F77_FUNC_(nga_cperiodic,NGA_CPERIODIC)
#define nga_dperiodic_ F77_FUNC_(nga_dperiodic,NGA_DPERIODIC)
#define nga_iperiodic_ F77_FUNC_(nga_iperiodic,NGA_IPERIODIC)
#define nga_speriodic_ F77_FUNC_(nga_speriodic,NGA_SPERIODIC)
#define nga_zperiodic_ F77_FUNC_(nga_zperiodic,NGA_ZPERIODIC)
#define ga_matmul_  F77_FUNC_(ga_matmul, GA_MATMUL)
#define ga_cmatmul_ F77_FUNC_(ga_cmatmul,GA_CMATMUL)
#define ga_dmatmul_ F77_FUNC_(ga_dmatmul,GA_DMATMUL)
#define ga_imatmul_ F77_FUNC_(ga_imatmul,GA_IMATMUL)
#define ga_smatmul_ F77_FUNC_(ga_smatmul,GA_SMATMUL)
#define ga_zmatmul_ F77_FUNC_(ga_zmatmul,GA_ZMATMUL)
#define nga_matmul_  F77_FUNC_(nga_matmul, NGA_MATMUL)
#define nga_cmatmul_ F77_FUNC_(nga_cmatmul,NGA_CMATMUL)
#define nga_dmatmul_ F77_FUNC_(nga_dmatmul,NGA_DMATMUL)
#define nga_imatmul_ F77_FUNC_(nga_imatmul,NGA_IMATMUL)
#define nga_smatmul_ F77_FUNC_(nga_smatmul,NGA_SMATMUL)
#define nga_zmatmul_ F77_FUNC_(nga_zmatmul,NGA_ZMATMUL)
#define ga_matmul_mirrored_  F77_FUNC_(ga_matmul_mirrored, GA_MATMUL_MIRRORED)
#define ga_cmatmul_mirrored_ F77_FUNC_(ga_cmatmul_mirrored,GA_CMATMUL_MIRRORED)
#define ga_dmatmul_mirrored_ F77_FUNC_(ga_dmatmul_mirrored,GA_DMATMUL_MIRRORED)
#define ga_imatmul_mirrored_ F77_FUNC_(ga_imatmul_mirrored,GA_IMATMUL_MIRRORED)
#define ga_smatmul_mirrored_ F77_FUNC_(ga_smatmul_mirrored,GA_SMATMUL_MIRRORED)
#define ga_zmatmul_mirrored_ F77_FUNC_(ga_zmatmul_mirrored,GA_ZMATMUL_MIRRORED)
#define nga_matmul_mirrored_  F77_FUNC_(nga_matmul_mirrored, NGA_MATMUL_MIRRORED)
#define nga_cmatmul_mirrored_ F77_FUNC_(nga_cmatmul_mirrored,NGA_CMATMUL_MIRRORED)
#define nga_dmatmul_mirrored_ F77_FUNC_(nga_dmatmul_mirrored,NGA_DMATMUL_MIRRORED)
#define nga_imatmul_mirrored_ F77_FUNC_(nga_imatmul_mirrored,NGA_IMATMUL_MIRRORED)
#define nga_smatmul_mirrored_ F77_FUNC_(nga_smatmul_mirrored,NGA_SMATMUL_MIRRORED)
#define nga_zmatmul_mirrored_ F77_FUNC_(nga_zmatmul_mirrored,NGA_ZMATMUL_MIRRORED)
#define ga_matmul_patch_  F77_FUNC_(ga_matmul_patch, GA_MATMUL_PATCH)
#define ga_cmatmul_patch_ F77_FUNC_(ga_cmatmul_patch,GA_CMATMUL_PATCH)
#define ga_dmatmul_patch_ F77_FUNC_(ga_dmatmul_patch,GA_DMATMUL_PATCH)
#define ga_imatmul_patch_ F77_FUNC_(ga_imatmul_patch,GA_IMATMUL_PATCH)
#define ga_smatmul_patch_ F77_FUNC_(ga_smatmul_patch,GA_SMATMUL_PATCH)
#define ga_zmatmul_patch_ F77_FUNC_(ga_zmatmul_patch,GA_ZMATMUL_PATCH)
#define nga_matmul_patch_  F77_FUNC_(nga_matmul_patch, NGA_MATMUL_PATCH)
#define nga_cmatmul_patch_ F77_FUNC_(nga_cmatmul_patch,NGA_CMATMUL_PATCH)
#define nga_dmatmul_patch_ F77_FUNC_(nga_dmatmul_patch,NGA_DMATMUL_PATCH)
#define nga_imatmul_patch_ F77_FUNC_(nga_imatmul_patch,NGA_IMATMUL_PATCH)
#define nga_smatmul_patch_ F77_FUNC_(nga_smatmul_patch,NGA_SMATMUL_PATCH)
#define nga_zmatmul_patch_ F77_FUNC_(nga_zmatmul_patch,NGA_ZMATMUL_PATCH)
#define ga_diag_seq_  F77_FUNC_(ga_diag_seq, GA_DIAG_SEQ)
#define ga_cdiag_seq_ F77_FUNC_(ga_cdiag_seq,GA_CDIAG_SEQ)
#define ga_ddiag_seq_ F77_FUNC_(ga_ddiag_seq,GA_DDIAG_SEQ)
#define ga_idiag_seq_ F77_FUNC_(ga_idiag_seq,GA_IDIAG_SEQ)
#define ga_sdiag_seq_ F77_FUNC_(ga_sdiag_seq,GA_SDIAG_SEQ)
#define ga_zdiag_seq_ F77_FUNC_(ga_zdiag_seq,GA_ZDIAG_SEQ)
#define nga_diag_seq_  F77_FUNC_(nga_diag_seq, NGA_DIAG_SEQ)
#define nga_cdiag_seq_ F77_FUNC_(nga_cdiag_seq,NGA_CDIAG_SEQ)
#define nga_ddiag_seq_ F77_FUNC_(nga_ddiag_seq,NGA_DDIAG_SEQ)
#define nga_idiag_seq_ F77_FUNC_(nga_idiag_seq,NGA_IDIAG_SEQ)
#define nga_sdiag_seq_ F77_FUNC_(nga_sdiag_seq,NGA_SDIAG_SEQ)
#define nga_zdiag_seq_ F77_FUNC_(nga_zdiag_seq,NGA_ZDIAG_SEQ)
#define ga_diag_std_seq_  F77_FUNC_(ga_diag_std_seq, GA_DIAG_STD_SEQ)
#define ga_cdiag_std_seq_ F77_FUNC_(ga_cdiag_std_seq,GA_CDIAG_STD_SEQ)
#define ga_ddiag_std_seq_ F77_FUNC_(ga_ddiag_std_seq,GA_DDIAG_STD_SEQ)
#define ga_idiag_std_seq_ F77_FUNC_(ga_idiag_std_seq,GA_IDIAG_STD_SEQ)
#define ga_sdiag_std_seq_ F77_FUNC_(ga_sdiag_std_seq,GA_SDIAG_STD_SEQ)
#define ga_zdiag_std_seq_ F77_FUNC_(ga_zdiag_std_seq,GA_ZDIAG_STD_SEQ)
#define nga_diag_std_seq_  F77_FUNC_(nga_diag_std_seq, NGA_DIAG_STD_SEQ)
#define nga_cdiag_std_seq_ F77_FUNC_(nga_cdiag_std_seq,NGA_CDIAG_STD_SEQ)
#define nga_ddiag_std_seq_ F77_FUNC_(nga_ddiag_std_seq,NGA_DDIAG_STD_SEQ)
#define nga_idiag_std_seq_ F77_FUNC_(nga_idiag_std_seq,NGA_IDIAG_STD_SEQ)
#define nga_sdiag_std_seq_ F77_FUNC_(nga_sdiag_std_seq,NGA_SDIAG_STD_SEQ)
#define nga_zdiag_std_seq_ F77_FUNC_(nga_zdiag_std_seq,NGA_ZDIAG_STD_SEQ)
#define ga_diag_  F77_FUNC_(ga_diag, GA_DIAG)
#define ga_cdiag_ F77_FUNC_(ga_cdiag,GA_CDIAG)
#define ga_ddiag_ F77_FUNC_(ga_ddiag,GA_DDIAG)
#define ga_idiag_ F77_FUNC_(ga_idiag,GA_IDIAG)
#define ga_sdiag_ F77_FUNC_(ga_sdiag,GA_SDIAG)
#define ga_zdiag_ F77_FUNC_(ga_zdiag,GA_ZDIAG)
#define nga_diag_  F77_FUNC_(nga_diag, NGA_DIAG)
#define nga_cdiag_ F77_FUNC_(nga_cdiag,NGA_CDIAG)
#define nga_ddiag_ F77_FUNC_(nga_ddiag,NGA_DDIAG)
#define nga_idiag_ F77_FUNC_(nga_idiag,NGA_IDIAG)
#define nga_sdiag_ F77_FUNC_(nga_sdiag,NGA_SDIAG)
#define nga_zdiag_ F77_FUNC_(nga_zdiag,NGA_ZDIAG)
#define ga_diag_std_  F77_FUNC_(ga_diag_std, GA_DIAG_STD)
#define ga_cdiag_std_ F77_FUNC_(ga_cdiag_std,GA_CDIAG_STD)
#define ga_ddiag_std_ F77_FUNC_(ga_ddiag_std,GA_DDIAG_STD)
#define ga_idiag_std_ F77_FUNC_(ga_idiag_std,GA_IDIAG_STD)
#define ga_sdiag_std_ F77_FUNC_(ga_sdiag_std,GA_SDIAG_STD)
#define ga_zdiag_std_ F77_FUNC_(ga_zdiag_std,GA_ZDIAG_STD)
#define nga_diag_std_  F77_FUNC_(nga_diag_std, NGA_DIAG_STD)
#define nga_cdiag_std_ F77_FUNC_(nga_cdiag_std,NGA_CDIAG_STD)
#define nga_ddiag_std_ F77_FUNC_(nga_ddiag_std,NGA_DDIAG_STD)
#define nga_idiag_std_ F77_FUNC_(nga_idiag_std,NGA_IDIAG_STD)
#define nga_sdiag_std_ F77_FUNC_(nga_sdiag_std,NGA_SDIAG_STD)
#define nga_zdiag_std_ F77_FUNC_(nga_zdiag_std,NGA_ZDIAG_STD)
#define ga_diag_reuse_  F77_FUNC_(ga_diag_reuse, GA_DIAG_REUSE)
#define ga_cdiag_reuse_ F77_FUNC_(ga_cdiag_reuse,GA_CDIAG_REUSE)
#define ga_ddiag_reuse_ F77_FUNC_(ga_ddiag_reuse,GA_DDIAG_REUSE)
#define ga_idiag_reuse_ F77_FUNC_(ga_idiag_reuse,GA_IDIAG_REUSE)
#define ga_sdiag_reuse_ F77_FUNC_(ga_sdiag_reuse,GA_SDIAG_REUSE)
#define ga_zdiag_reuse_ F77_FUNC_(ga_zdiag_reuse,GA_ZDIAG_REUSE)
#define nga_diag_reuse_  F77_FUNC_(nga_diag_reuse, NGA_DIAG_REUSE)
#define nga_cdiag_reuse_ F77_FUNC_(nga_cdiag_reuse,NGA_CDIAG_REUSE)
#define nga_ddiag_reuse_ F77_FUNC_(nga_ddiag_reuse,NGA_DDIAG_REUSE)
#define nga_idiag_reuse_ F77_FUNC_(nga_idiag_reuse,NGA_IDIAG_REUSE)
#define nga_sdiag_reuse_ F77_FUNC_(nga_sdiag_reuse,NGA_SDIAG_REUSE)
#define nga_zdiag_reuse_ F77_FUNC_(nga_zdiag_reuse,NGA_ZDIAG_REUSE)
#define ga_lu_solve_alt_  F77_FUNC_(ga_lu_solve_alt, GA_LU_SOLVE_ALT)
#define ga_clu_solve_alt_ F77_FUNC_(ga_clu_solve_alt,GA_CLU_SOLVE_ALT)
#define ga_dlu_solve_alt_ F77_FUNC_(ga_dlu_solve_alt,GA_DLU_SOLVE_ALT)
#define ga_ilu_solve_alt_ F77_FUNC_(ga_ilu_solve_alt,GA_ILU_SOLVE_ALT)
#define ga_slu_solve_alt_ F77_FUNC_(ga_slu_solve_alt,GA_SLU_SOLVE_ALT)
#define ga_zlu_solve_alt_ F77_FUNC_(ga_zlu_solve_alt,GA_ZLU_SOLVE_ALT)
#define nga_lu_solve_alt_  F77_FUNC_(nga_lu_solve_alt, NGA_LU_SOLVE_ALT)
#define nga_clu_solve_alt_ F77_FUNC_(nga_clu_solve_alt,NGA_CLU_SOLVE_ALT)
#define nga_dlu_solve_alt_ F77_FUNC_(nga_dlu_solve_alt,NGA_DLU_SOLVE_ALT)
#define nga_ilu_solve_alt_ F77_FUNC_(nga_ilu_solve_alt,NGA_ILU_SOLVE_ALT)
#define nga_slu_solve_alt_ F77_FUNC_(nga_slu_solve_alt,NGA_SLU_SOLVE_ALT)
#define nga_zlu_solve_alt_ F77_FUNC_(nga_zlu_solve_alt,NGA_ZLU_SOLVE_ALT)
#define ga_lu_solve_  F77_FUNC_(ga_lu_solve, GA_LU_SOLVE)
#define ga_clu_solve_ F77_FUNC_(ga_clu_solve,GA_CLU_SOLVE)
#define ga_dlu_solve_ F77_FUNC_(ga_dlu_solve,GA_DLU_SOLVE)
#define ga_ilu_solve_ F77_FUNC_(ga_ilu_solve,GA_ILU_SOLVE)
#define ga_slu_solve_ F77_FUNC_(ga_slu_solve,GA_SLU_SOLVE)
#define ga_zlu_solve_ F77_FUNC_(ga_zlu_solve,GA_ZLU_SOLVE)
#define nga_lu_solve_  F77_FUNC_(nga_lu_solve, NGA_LU_SOLVE)
#define nga_clu_solve_ F77_FUNC_(nga_clu_solve,NGA_CLU_SOLVE)
#define nga_dlu_solve_ F77_FUNC_(nga_dlu_solve,NGA_DLU_SOLVE)
#define nga_ilu_solve_ F77_FUNC_(nga_ilu_solve,NGA_ILU_SOLVE)
#define nga_slu_solve_ F77_FUNC_(nga_slu_solve,NGA_SLU_SOLVE)
#define nga_zlu_solve_ F77_FUNC_(nga_zlu_solve,NGA_ZLU_SOLVE)
#define ga_llt_solve_  F77_FUNC_(ga_llt_solve, GA_LLT_SOLVE)
#define ga_cllt_solve_ F77_FUNC_(ga_cllt_solve,GA_CLLT_SOLVE)
#define ga_dllt_solve_ F77_FUNC_(ga_dllt_solve,GA_DLLT_SOLVE)
#define ga_illt_solve_ F77_FUNC_(ga_illt_solve,GA_ILLT_SOLVE)
#define ga_sllt_solve_ F77_FUNC_(ga_sllt_solve,GA_SLLT_SOLVE)
#define ga_zllt_solve_ F77_FUNC_(ga_zllt_solve,GA_ZLLT_SOLVE)
#define nga_llt_solve_  F77_FUNC_(nga_llt_solve, NGA_LLT_SOLVE)
#define nga_cllt_solve_ F77_FUNC_(nga_cllt_solve,NGA_CLLT_SOLVE)
#define nga_dllt_solve_ F77_FUNC_(nga_dllt_solve,NGA_DLLT_SOLVE)
#define nga_illt_solve_ F77_FUNC_(nga_illt_solve,NGA_ILLT_SOLVE)
#define nga_sllt_solve_ F77_FUNC_(nga_sllt_solve,NGA_SLLT_SOLVE)
#define nga_zllt_solve_ F77_FUNC_(nga_zllt_solve,NGA_ZLLT_SOLVE)
#define ga_solve_  F77_FUNC_(ga_solve, GA_SOLVE)
#define ga_csolve_ F77_FUNC_(ga_csolve,GA_CSOLVE)
#define ga_dsolve_ F77_FUNC_(ga_dsolve,GA_DSOLVE)
#define ga_isolve_ F77_FUNC_(ga_isolve,GA_ISOLVE)
#define ga_ssolve_ F77_FUNC_(ga_ssolve,GA_SSOLVE)
#define ga_zsolve_ F77_FUNC_(ga_zsolve,GA_ZSOLVE)
#define nga_solve_  F77_FUNC_(nga_solve, NGA_SOLVE)
#define nga_csolve_ F77_FUNC_(nga_csolve,NGA_CSOLVE)
#define nga_dsolve_ F77_FUNC_(nga_dsolve,NGA_DSOLVE)
#define nga_isolve_ F77_FUNC_(nga_isolve,NGA_ISOLVE)
#define nga_ssolve_ F77_FUNC_(nga_ssolve,NGA_SSOLVE)
#define nga_zsolve_ F77_FUNC_(nga_zsolve,NGA_ZSOLVE)
#define ga_spd_invert_  F77_FUNC_(ga_spd_invert, GA_SPD_INVERT)
#define ga_cspd_invert_ F77_FUNC_(ga_cspd_invert,GA_CSPD_INVERT)
#define ga_dspd_invert_ F77_FUNC_(ga_dspd_invert,GA_DSPD_INVERT)
#define ga_ispd_invert_ F77_FUNC_(ga_ispd_invert,GA_ISPD_INVERT)
#define ga_sspd_invert_ F77_FUNC_(ga_sspd_invert,GA_SSPD_INVERT)
#define ga_zspd_invert_ F77_FUNC_(ga_zspd_invert,GA_ZSPD_INVERT)
#define nga_spd_invert_  F77_FUNC_(nga_spd_invert, NGA_SPD_INVERT)
#define nga_cspd_invert_ F77_FUNC_(nga_cspd_invert,NGA_CSPD_INVERT)
#define nga_dspd_invert_ F77_FUNC_(nga_dspd_invert,NGA_DSPD_INVERT)
#define nga_ispd_invert_ F77_FUNC_(nga_ispd_invert,NGA_ISPD_INVERT)
#define nga_sspd_invert_ F77_FUNC_(nga_sspd_invert,NGA_SSPD_INVERT)
#define nga_zspd_invert_ F77_FUNC_(nga_zspd_invert,NGA_ZSPD_INVERT)
#define ga_copy_patch_dp_  F77_FUNC_(ga_copy_patch_dp, GA_COPY_PATCH_DP)
#define ga_ccopy_patch_dp_ F77_FUNC_(ga_ccopy_patch_dp,GA_CCOPY_PATCH_DP)
#define ga_dcopy_patch_dp_ F77_FUNC_(ga_dcopy_patch_dp,GA_DCOPY_PATCH_DP)
#define ga_icopy_patch_dp_ F77_FUNC_(ga_icopy_patch_dp,GA_ICOPY_PATCH_DP)
#define ga_scopy_patch_dp_ F77_FUNC_(ga_scopy_patch_dp,GA_SCOPY_PATCH_DP)
#define ga_zcopy_patch_dp_ F77_FUNC_(ga_zcopy_patch_dp,GA_ZCOPY_PATCH_DP)
#define nga_copy_patch_dp_  F77_FUNC_(nga_copy_patch_dp, NGA_COPY_PATCH_DP)
#define nga_ccopy_patch_dp_ F77_FUNC_(nga_ccopy_patch_dp,NGA_CCOPY_PATCH_DP)
#define nga_dcopy_patch_dp_ F77_FUNC_(nga_dcopy_patch_dp,NGA_DCOPY_PATCH_DP)
#define nga_icopy_patch_dp_ F77_FUNC_(nga_icopy_patch_dp,NGA_ICOPY_PATCH_DP)
#define nga_scopy_patch_dp_ F77_FUNC_(nga_scopy_patch_dp,NGA_SCOPY_PATCH_DP)
#define nga_zcopy_patch_dp_ F77_FUNC_(nga_zcopy_patch_dp,NGA_ZCOPY_PATCH_DP)
#define ga_ddot_patch_dp_  F77_FUNC_(ga_ddot_patch_dp, GA_DDOT_PATCH_DP)
#define ga_cddot_patch_dp_ F77_FUNC_(ga_cddot_patch_dp,GA_CDDOT_PATCH_DP)
#define ga_dddot_patch_dp_ F77_FUNC_(ga_dddot_patch_dp,GA_DDDOT_PATCH_DP)
#define ga_iddot_patch_dp_ F77_FUNC_(ga_iddot_patch_dp,GA_IDDOT_PATCH_DP)
#define ga_sddot_patch_dp_ F77_FUNC_(ga_sddot_patch_dp,GA_SDDOT_PATCH_DP)
#define ga_zddot_patch_dp_ F77_FUNC_(ga_zddot_patch_dp,GA_ZDDOT_PATCH_DP)
#define nga_ddot_patch_dp_  F77_FUNC_(nga_ddot_patch_dp, NGA_DDOT_PATCH_DP)
#define nga_cddot_patch_dp_ F77_FUNC_(nga_cddot_patch_dp,NGA_CDDOT_PATCH_DP)
#define nga_dddot_patch_dp_ F77_FUNC_(nga_dddot_patch_dp,NGA_DDDOT_PATCH_DP)
#define nga_iddot_patch_dp_ F77_FUNC_(nga_iddot_patch_dp,NGA_IDDOT_PATCH_DP)
#define nga_sddot_patch_dp_ F77_FUNC_(nga_sddot_patch_dp,NGA_SDDOT_PATCH_DP)
#define nga_zddot_patch_dp_ F77_FUNC_(nga_zddot_patch_dp,NGA_ZDDOT_PATCH_DP)
#define ga_timer_  F77_FUNC_(ga_timer, GA_TIMER)
#define ga_ctimer_ F77_FUNC_(ga_ctimer,GA_CTIMER)
#define ga_dtimer_ F77_FUNC_(ga_dtimer,GA_DTIMER)
#define ga_itimer_ F77_FUNC_(ga_itimer,GA_ITIMER)
#define ga_stimer_ F77_FUNC_(ga_stimer,GA_STIMER)
#define ga_ztimer_ F77_FUNC_(ga_ztimer,GA_ZTIMER)
#define nga_timer_  F77_FUNC_(nga_timer, NGA_TIMER)
#define nga_ctimer_ F77_FUNC_(nga_ctimer,NGA_CTIMER)
#define nga_dtimer_ F77_FUNC_(nga_dtimer,NGA_DTIMER)
#define nga_itimer_ F77_FUNC_(nga_itimer,NGA_ITIMER)
#define nga_stimer_ F77_FUNC_(nga_stimer,NGA_STIMER)
#define nga_ztimer_ F77_FUNC_(nga_ztimer,NGA_ZTIMER)
#define ga_register_type_  F77_FUNC_(ga_register_type, GA_REGISTER_TYPE)
#define ga_cregister_type_ F77_FUNC_(ga_cregister_type,GA_CREGISTER_TYPE)
#define ga_dregister_type_ F77_FUNC_(ga_dregister_type,GA_DREGISTER_TYPE)
#define ga_iregister_type_ F77_FUNC_(ga_iregister_type,GA_IREGISTER_TYPE)
#define ga_sregister_type_ F77_FUNC_(ga_sregister_type,GA_SREGISTER_TYPE)
#define ga_zregister_type_ F77_FUNC_(ga_zregister_type,GA_ZREGISTER_TYPE)
#define nga_register_type_  F77_FUNC_(nga_register_type, NGA_REGISTER_TYPE)
#define nga_cregister_type_ F77_FUNC_(nga_cregister_type,NGA_CREGISTER_TYPE)
#define nga_dregister_type_ F77_FUNC_(nga_dregister_type,NGA_DREGISTER_TYPE)
#define nga_iregister_type_ F77_FUNC_(nga_iregister_type,NGA_IREGISTER_TYPE)
#define nga_sregister_type_ F77_FUNC_(nga_sregister_type,NGA_SREGISTER_TYPE)
#define nga_zregister_type_ F77_FUNC_(nga_zregister_type,NGA_ZREGISTER_TYPE)
#define ga_deregister_type_  F77_FUNC_(ga_deregister_type, GA_DEREGISTER_TYPE)
#define ga_cderegister_type_ F77_FUNC_(ga_cderegister_type,GA_CDEREGISTER_TYPE)
#define ga_dderegister_type_ F77_FUNC_(ga_dderegister_type,GA_DDEREGISTER_TYPE)
#define ga_ideregister_type_ F77_FUNC_(ga_ideregister_type,GA_IDEREGISTER_TYPE)
#define ga_sderegister_type_ F77_FUNC_(ga_sderegister_type,GA_SDEREGISTER_TYPE)
#define ga_zderegister_type_ F77_FUNC_(ga_zderegister_type,GA_ZDEREGISTER_TYPE)
#define nga_deregister_type_  F77_FUNC_(nga_deregister_type, NGA_DEREGISTER_TYPE)
#define nga_cderegister_type_ F77_FUNC_(nga_cderegister_type,NGA_CDEREGISTER_TYPE)
#define nga_dderegister_type_ F77_FUNC_(nga_dderegister_type,NGA_DDEREGISTER_TYPE)
#define nga_ideregister_type_ F77_FUNC_(nga_ideregister_type,NGA_IDEREGISTER_TYPE)
#define nga_sderegister_type_ F77_FUNC_(nga_sderegister_type,NGA_SDEREGISTER_TYPE)
#define nga_zderegister_type_ F77_FUNC_(nga_zderegister_type,NGA_ZDEREGISTER_TYPE)
#define ga_get_field_  F77_FUNC_(ga_get_field, GA_GET_FIELD)
#define ga_cget_field_ F77_FUNC_(ga_cget_field,GA_CGET_FIELD)
#define ga_dget_field_ F77_FUNC_(ga_dget_field,GA_DGET_FIELD)
#define ga_iget_field_ F77_FUNC_(ga_iget_field,GA_IGET_FIELD)
#define ga_sget_field_ F77_FUNC_(ga_sget_field,GA_SGET_FIELD)
#define ga_zget_field_ F77_FUNC_(ga_zget_field,GA_ZGET_FIELD)
#define nga_get_field_  F77_FUNC_(nga_get_field, NGA_GET_FIELD)
#define nga_cget_field_ F77_FUNC_(nga_cget_field,NGA_CGET_FIELD)
#define nga_dget_field_ F77_FUNC_(nga_dget_field,NGA_DGET_FIELD)
#define nga_iget_field_ F77_FUNC_(nga_iget_field,NGA_IGET_FIELD)
#define nga_sget_field_ F77_FUNC_(nga_sget_field,NGA_SGET_FIELD)
#define nga_zget_field_ F77_FUNC_(nga_zget_field,NGA_ZGET_FIELD)
#define ga_nbget_field_  F77_FUNC_(ga_nbget_field, GA_NBGET_FIELD)
#define ga_cnbget_field_ F77_FUNC_(ga_cnbget_field,GA_CNBGET_FIELD)
#define ga_dnbget_field_ F77_FUNC_(ga_dnbget_field,GA_DNBGET_FIELD)
#define ga_inbget_field_ F77_FUNC_(ga_inbget_field,GA_INBGET_FIELD)
#define ga_snbget_field_ F77_FUNC_(ga_snbget_field,GA_SNBGET_FIELD)
#define ga_znbget_field_ F77_FUNC_(ga_znbget_field,GA_ZNBGET_FIELD)
#define nga_nbget_field_  F77_FUNC_(nga_nbget_field, NGA_NBGET_FIELD)
#define nga_cnbget_field_ F77_FUNC_(nga_cnbget_field,NGA_CNBGET_FIELD)
#define nga_dnbget_field_ F77_FUNC_(nga_dnbget_field,NGA_DNBGET_FIELD)
#define nga_inbget_field_ F77_FUNC_(nga_inbget_field,NGA_INBGET_FIELD)
#define nga_snbget_field_ F77_FUNC_(nga_snbget_field,NGA_SNBGET_FIELD)
#define nga_znbget_field_ F77_FUNC_(nga_znbget_field,NGA_ZNBGET_FIELD)
#define ga_nbput_field_  F77_FUNC_(ga_nbput_field, GA_NBPUT_FIELD)
#define ga_cnbput_field_ F77_FUNC_(ga_cnbput_field,GA_CNBPUT_FIELD)
#define ga_dnbput_field_ F77_FUNC_(ga_dnbput_field,GA_DNBPUT_FIELD)
#define ga_inbput_field_ F77_FUNC_(ga_inbput_field,GA_INBPUT_FIELD)
#define ga_snbput_field_ F77_FUNC_(ga_snbput_field,GA_SNBPUT_FIELD)
#define ga_znbput_field_ F77_FUNC_(ga_znbput_field,GA_ZNBPUT_FIELD)
#define nga_nbput_field_  F77_FUNC_(nga_nbput_field, NGA_NBPUT_FIELD)
#define nga_cnbput_field_ F77_FUNC_(nga_cnbput_field,NGA_CNBPUT_FIELD)
#define nga_dnbput_field_ F77_FUNC_(nga_dnbput_field,NGA_DNBPUT_FIELD)
#define nga_inbput_field_ F77_FUNC_(nga_inbput_field,NGA_INBPUT_FIELD)
#define nga_snbput_field_ F77_FUNC_(nga_snbput_field,NGA_SNBPUT_FIELD)
#define nga_znbput_field_ F77_FUNC_(nga_znbput_field,NGA_ZNBPUT_FIELD)
#define ga_put_field_  F77_FUNC_(ga_put_field, GA_PUT_FIELD)
#define ga_cput_field_ F77_FUNC_(ga_cput_field,GA_CPUT_FIELD)
#define ga_dput_field_ F77_FUNC_(ga_dput_field,GA_DPUT_FIELD)
#define ga_iput_field_ F77_FUNC_(ga_iput_field,GA_IPUT_FIELD)
#define ga_sput_field_ F77_FUNC_(ga_sput_field,GA_SPUT_FIELD)
#define ga_zput_field_ F77_FUNC_(ga_zput_field,GA_ZPUT_FIELD)
#define nga_put_field_  F77_FUNC_(nga_put_field, NGA_PUT_FIELD)
#define nga_cput_field_ F77_FUNC_(nga_cput_field,NGA_CPUT_FIELD)
#define nga_dput_field_ F77_FUNC_(nga_dput_field,NGA_DPUT_FIELD)
#define nga_iput_field_ F77_FUNC_(nga_iput_field,NGA_IPUT_FIELD)
#define nga_sput_field_ F77_FUNC_(nga_sput_field,NGA_SPUT_FIELD)
#define nga_zput_field_ F77_FUNC_(nga_zput_field,NGA_ZPUT_FIELD)
/* the missing functions are either complex type or strangely named */

#define gai_cdot_patch_     F77_FUNC_(gai_cdot_patch,GAI_CDOT_PATCH)
#define gai_zdot_patch_     F77_FUNC_(gai_zdot_patch,GAI_ZDOT_PATCH)
#define ngai_cdot_patch_    F77_FUNC_(ngai_cdot_patch,NGAI_CDOT_PATCH)
#define ngai_zdot_patch_    F77_FUNC_(ngai_zdot_patch,NGAI_ZDOT_PATCH)

#define ga_cscal_patch_     F77_FUNC_(ga_cscal_patch,GA_CSCAL_PATCH)
#define ga_dscal_patch_     F77_FUNC_(ga_dscal_patch,GA_DSCAL_PATCH)
#define ga_iscal_patch_     F77_FUNC_(ga_iscal_patch,GA_ISCAL_PATCH)
#define ga_sscal_patch_     F77_FUNC_(ga_sscal_patch,GA_SSCAL_PATCH)
#define ga_zscal_patch_     F77_FUNC_(ga_zscal_patch,GA_ZSCAL_PATCH)

#define ga_cscal_           F77_FUNC_(ga_cscal,GA_CSCAL)
#define ga_dscal_           F77_FUNC_(ga_dscal,GA_DSCAL)
#define ga_iscal_           F77_FUNC_(ga_iscal,GA_ISCAL)
#define ga_sscal_           F77_FUNC_(ga_sscal,GA_SSCAL)
#define ga_zscal_           F77_FUNC_(ga_zscal,GA_ZSCAL)

#define gai_cdot_           F77_FUNC_(gai_cdot,GAI_CDOT)
#define gai_zdot_           F77_FUNC_(gai_zdot,GAI_ZDOT)
#define ngai_cdot_          F77_FUNC_(ngai_cdot,NGAI_CDOT)
#define ngai_zdot_          F77_FUNC_(ngai_zdot,NGAI_ZDOT)

#define ga_cgemm_           F77_FUNC_(ga_cgemm,GA_CGEMM)
#define ga_dgemm_           F77_FUNC_(ga_dgemm,GA_DGEMM)
#define ga_sgemm_           F77_FUNC_(ga_sgemm,GA_SGEMM)
#define ga_zgemm_           F77_FUNC_(ga_zgemm,GA_ZGEMM)

#define nga_periodic_get_   F77_FUNC_(nga_periodic_get,NGA_PERIODIC_GET)
#define nga_periodic_put_   F77_FUNC_(nga_periodic_put,NGA_PERIODIC_PUT)
#define nga_periodic_acc_   F77_FUNC_(nga_periodic_acc,NGA_PERIODIC_ACC)

#define ga_access_          F77_FUNC_(ga_access,GA_ACCESS)
#define nga_access_         F77_FUNC_(nga_access,NGA_ACCESS)
#define nga_access_block_   F77_FUNC_(nga_access_block,NGA_ACCESS_BLOCK)
#define nga_access_block_grid_      F77_FUNC_(nga_access_block_grid,NGA_ACCESS_BLOCK_GRID)
#define nga_access_block_segment_   F77_FUNC_(nga_access_block_segment,NGA_ACCESS_BLOCK_SEGMENT)

#define ga_pgroup_cgop_     F77_FUNC_(ga_pgroup_cgop,GA_PGROUP_CGOP)
#define ga_pgroup_dgop_     F77_FUNC_(ga_pgroup_dgop,GA_PGROUP_DGOP)
#define ga_pgroup_igop_     F77_FUNC_(ga_pgroup_igop,GA_PGROUP_IGOP)
#define ga_pgroup_sgop_     F77_FUNC_(ga_pgroup_sgop,GA_PGROUP_SGOP)
#define ga_pgroup_zgop_     F77_FUNC_(ga_pgroup_zgop,GA_PGROUP_ZGOP)

#define nga_pgroup_cgop_    F77_FUNC_(nga_pgroup_cgop,NGA_PGROUP_CGOP)
#define nga_pgroup_dgop_    F77_FUNC_(nga_pgroup_dgop,NGA_PGROUP_DGOP)
#define nga_pgroup_igop_    F77_FUNC_(nga_pgroup_igop,NGA_PGROUP_IGOP)
#define nga_pgroup_sgop_    F77_FUNC_(nga_pgroup_sgop,NGA_PGROUP_SGOP)
#define nga_pgroup_zgop_    F77_FUNC_(nga_pgroup_zgop,NGA_PGROUP_ZGOP)
