Intel® Fortran Compiler
Build applications that can scale for the future with optimized code designed for Intel® Xeon® and compatible processors.

run time error: Too many open files

shulan
Beginner
1,515 Views
Hi,

Does anyone here know what might be the source of
the "Too many open files" run time error?

I used ifort (8.0) on a Linux (Redhat7.2 modified by
SGI) machine. The fortran program compiled successfully.
After being executed, it crashed after generating 1006 files
with the name fort.#, where # is the number from 14-1026.

Thanks in advance,

Shulan
0 Kudos
1 Reply
Steven_L_Intel1
Employee
1,515 Views
I would guess that some operating system resource limit on the number of simultaneously open files was reached. Do you close the files after opening them?
0 Kudos
Reply