FDS Runtime Error
Symptom
An error is reported during FDS running, indicating that too many files are opened. The error message is "Fortran runtime error: Cannot open file 'weak_scaling_test_128_0022_04.s3d': Too many open files."
Key Process and Cause Analysis
When the FDS is running, a large number of files are read and written. By default, the maximum number of files that can be opened is 1,024, which cannot meet the FDS running requirements.
Conclusion and Solution
Tens of millions of files can be opened at the same time on a Taishan server. You can run the ulimit -n command to set the maximum number of files that can be opened at the same time.
For example, run the ulimit -n 10240 command.