I am working on a model which name is DAYCENT. I will make some modifications for this model (I need to change some source codes). The source codes of this model were written in mixed languages of Microsoft Fortran PowerStation v4.0 and Visual C++4.0. All files can pass compile and link, and can build the executable file under the above two compilers. The executable file can run smoothly, without any errors. However, this model was developed in another university. I received all source code files, but I don't have the above version of compilers. I use Compaq Visual Fortran v6.0 and Microsoft Visual C++ 6.0. When I used these two higher version of compilers , I could pass the compile, link and build the executable file without errors. But when I ran the executable file which was built under the higher version of compilers, I met the array bounds exceeded eorrors like this:
forrtl: severe (161): Program Exception - array bounds exceeded
I assume this problem was caused by using higher compilers. It's very hard to fix the array bounds exceeded errors. Do you have any ideas to fixed this problem? Could this problem be fixed by change the project setting?
Your help would be highly appreciated.