4006 File size limit exceeded

I am running a code which is compiled using pgf77 compiler. During execution of the code, it generate lot of scrach file. But when size of a single scrach file exceeded 2GB limit, the code terminated abnormally with following ERROR.

“4006 File size limit exceeded”

Any help is highly appreciated.



Compile using the “-Mlfs” flag which enables large file (> 2GB) support.

  • Mat