How to Set Size of Global Array?


Click here for full thread
Just Got Here


Thanks. Still don't understand where global array is. Does it use the space in "global" when I'm allocating the memory, or somewhere else? So when I'm setting memory like "memory stack ** heap ** global ** mb", am I telling the program some information about global array allocation? From the quote above, how to allocate global array seems depending on the machines architecture --- distributed memory or shared memory.