PoMaIIIka
01-18-2013, 02:42 PM
In spite of an expirience of programming to fortran 90, I face with this error for the very first time...
In a big program I ask to allocate memory for an array in the following way:
...
integer,dimension( : ),pointer :: test_array
...
allocate(test_array(1:5))
And exactly in this moment my computer writes to me:
*** glibc detected *** ./main_simple: malloc(): memory corruption: 0x0000000000d99b00 ***
It seems that I have enough memory and I have no idea (unfortunately) what is this error about...
So, I hope that someone has already faced with this error and knows how to solve it
Thanks a lot!!
In a big program I ask to allocate memory for an array in the following way:
...
integer,dimension( : ),pointer :: test_array
...
allocate(test_array(1:5))
And exactly in this moment my computer writes to me:
*** glibc detected *** ./main_simple: malloc(): memory corruption: 0x0000000000d99b00 ***
It seems that I have enough memory and I have no idea (unfortunately) what is this error about...
So, I hope that someone has already faced with this error and knows how to solve it
Thanks a lot!!