简体   繁体   中英

Is there a maximum amount of data that can be read during a Fortran namelist read?

Is there a maximum amount of data that can be read in a namelist read using Intel Visual Fortran?

I'm interested to know total, but more specifically for an individual field.

I can't seem to find anything on it anywhere, but it seems to be crashing at around a 2,500 character array. I'm trying to put it into a 3,000 character array.

The data is on one line too if that could be an issue.

For Intel Fortran this is documented under the topic "Compiler Limits". The maximum size of a character value read in during list-directed and NAMELIST I/O is 2048. The variable itself may be longer.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM