problem on larger file support (>2G) on 32 bit Linux syst

I am running into problem on larger file support (>2G) on 32bit linux system for Fortran code. Based on pgi user guide, if you add Mlfs option when you compile the fortran code, the program should have larger file support. The problem is the program built with Mlfs option can not read beyond 2G but it can produce file larger than 2G. Is it strange? Is anybody has this kind of problem? What’s the solution?

My system is RHEL3, pgi compiler version is 5.2-4 workstation.

Thanks in advance.

Please discard my question. PGI compiler is fine. The problem is caused by corrupted input file. I am sorry for this confusion.

Thanks.