run time error: Too many open files

run time error: Too many open files


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,


2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

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?

Retired 12/31/2016

Leave a Comment

Please sign in to add a comment. Not a member? Join today