简体   繁体   English

在读取Fortran名称列表期间是否可以读取最大数量的数据?

[英]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? 使用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. 我似乎在任何地方都找不到任何东西,但是它似乎崩溃了,大约有2500个字符。 I'm trying to put it into a 3,000 character array. 我正在尝试将其放入3,000个字符的数组中。

The data is on one line too if that could be an issue. 如果可能会出现问题,数据也将放在一行上。

For Intel Fortran this is documented under the topic "Compiler Limits". 对于英特尔Fortran,这在“编译器限制”主题下进行了介绍。 The maximum size of a character value read in during list-directed and NAMELIST I/O is 2048. The variable itself may be longer. 在列表定向和NAMELIST I / O期间读取的字符值的最大大小为2048。变量本身可能更长。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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