Hi Guys,
I wrote a code that part of it looks like:
integer: imax
parameter(imax=4000)
double precision,dimension(imax,imax): clst,Nver.
When I used imax=500, it worked so well, but with imax=4000, it gives error like this:
libc detected *** malloc(): memory corruption: 0x1c109cb8 ***...
Thanks to all that responded. Sorry that I did write back that I had seen my mistake. My actual array size is larger than 50. It had been corrected. Thanks for other corrections about my "newbie style".
I'm really a novice. I wrote a small utility to calculate averages of numbers which it reads from a file. After reading I discover that it does not send the same values to the next loop. Unfortunately it works for a simple data set but not for my problem which has large data.
Here is the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.