fortran open
时间: 2023-10-18 11:59:47 浏览: 90
fortran程序
在Fortran中,open语句用于打开文件。根据引用所述,在您的代码中,open语句的语法存在错误。为了解决这个问题,可以按照引用所提到的方式添加action='read'参数来修复open语句的错误。修正后的代码如下所示:
open(30, file=filename0, Access='Direct', Form='Unformatted', action='read', RecL=17)
此外,引用提供了一本关于并行编程的Fortran手册,《Parallel Programming in Fortran 95 using OpenMP》。该手册翻译自Miguel Hermanns的作品,介绍了OpenMP v1.1和v2.0的部分内容。虽然这本手册的内容较老,但仍可以作为入门读物。希望这些信息能够帮助到您解决问题。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* [Fortran文件操作之 open](https://blog.csdn.net/weixin_41277663/article/details/131045859)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
- *3* [Fortran 95 并行编程 —— OpenMP](https://download.csdn.net/download/lixingwang0913/86545163)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v92^chatsearchT3_1"}}] [.reference_item style="max-width: 50%"]
[ .reference_list ]
阅读全文