I am trying to compile a numerical simulation software that is still in F77. It uses maximum array sizes, e.g. for the number of elements in the finite difference scheme. If I push the maximum array size over a certain threshold, e.g. 300000, so not that big a number compared to today's memory size, the program crashes on startup.
I tried compiling it with debug options and ran it in gdb, but it crashes faster than gdb can catch, it only gives a SIGKILL message.
I normally don't get an error message, only once I saw this message
Inconsistency detected by ld.so: rtld.c: 1075: dl_main: Assertion
`_rtld_local._dl_rtld_map.l_libname' failed!
so it's some kind of memory problem.
The developers say that they can run the program for 1 million elements and more.
I have tried different compilers (pgf90, gfortran, g77) and two different Linux systems (Ubuntu) with 2GB and 3GB RAM. I have tried to find compiler options, but I couldn't find one relating to this problems, and honestly I wouldn't really know what to look for.
Do you have any idea how to find out what this problem could be?
I tried compiling it with debug options and ran it in gdb, but it crashes faster than gdb can catch, it only gives a SIGKILL message.
I normally don't get an error message, only once I saw this message
Inconsistency detected by ld.so: rtld.c: 1075: dl_main: Assertion
`_rtld_local._dl_rtld_map.l_libname' failed!
so it's some kind of memory problem.
The developers say that they can run the program for 1 million elements and more.
I have tried different compilers (pgf90, gfortran, g77) and two different Linux systems (Ubuntu) with 2GB and 3GB RAM. I have tried to find compiler options, but I couldn't find one relating to this problems, and honestly I wouldn't really know what to look for.
Do you have any idea how to find out what this problem could be?