I need some help with static arrays. I have a pretty significantly large number of different n by n sized arrays in a program that I have worked on. The arrays are supposed to be symmetric so array[i][j]==array[j][i]. What is happening is that when I compile and run the program on a linux machine running ubuntu its runs just fine but when I compile and run the program on osx it breaks the degeneracy of the matrix. I am running gcc versions:
gcc (Ubuntu 4.4.3-4ubuntu5) 4.4.3 vs osx gcc-4.2
I am guessing the osx is not assigning enough memory space to the program but I have no idea how to go around fixing it. Any ideas, clues or useful hints will be appreciated.