Hi all,
I am using Fortran for my work.
I have a very big 3 dimensional array in my code. when i tried to compile it using gfortran, i got an error message -"relocation truncated to fit: R_X86_64_32S against `.bss" . I realized that it is due to the huge amount of memory to be used (> 2GB) and hence used -mcmodel=medium and the compilation was successfulL. But when i try to run the *.exe, it is getting killed by ZSH. Can anyone help me to figure this out. The dimension of the array is Array[10000,50000,50000]. I know that the array size large but i have to use this for my work ;-).
At the same time, i tried to compile the same code in 32-bit machine and ran the *.exe, in this case it runs through the program and i get "segemntation faults". On debugging, i found that the 3D array (for some reasons) is not assigning values to it.
Thanks in advance
I am using Fortran for my work.
I have a very big 3 dimensional array in my code. when i tried to compile it using gfortran, i got an error message -"relocation truncated to fit: R_X86_64_32S against `.bss" . I realized that it is due to the huge amount of memory to be used (> 2GB) and hence used -mcmodel=medium and the compilation was successfulL. But when i try to run the *.exe, it is getting killed by ZSH. Can anyone help me to figure this out. The dimension of the array is Array[10000,50000,50000]. I know that the array size large but i have to use this for my work ;-).
At the same time, i tried to compile the same code in 32-bit machine and ran the *.exe, in this case it runs through the program and i get "segemntation faults". On debugging, i found that the 3D array (for some reasons) is not assigning values to it.
Thanks in advance