forrtl: severe (27): too many records in I/O statement, unit -5, file Internal Formatted Write

在运行mpirun时遇到'forrtl: severe (27): too many records in I/O statement, unit -5, file Internal Formatted Write'错误。错误与AMG迭代求解器和内核数量相关。建议尝试使用AMG-MF迭代求解器或禁用超线程,或者切换到稀疏求解器来解决问题。" 110841359,10294400,MATLAB绘制带有置信区间的折线图教程,"['MATLAB编程', '图形绘制', '统计图表']

参考:

https://stackoverflow.com/questions/31360099/unclear-cause-of-too-many-records-in-i-o-statement-error

https://knowledge.autodesk.com/support/simulation-mechanical/troubleshooting/caas/sfdcarticles/sfdcarticles/Forrtl-severe-27-too-many-records-in-I-O-statement-unit-5-file-Internal-Formatted-Write.html

 

[theo@localhost run7(nws=20_nonc)(2)]$ mpirun -np 2 ./padcirc
 INFO: Searching for ADCIRC subdomain directories:
 INFO: Looking for './PE0000/fort.14' ...
 INFO: File './PE0000/fort.14' was found!
 INFO: The search for the subdomain directory was completed successfully.
 INFO: The ROOTDIR is  '.'.
 INFO: The INPUTDIR is './PE0000'.
 INFO: The GBLINPUTDIR is '.'.
 INFO: The GLOBALDIR is '.'.
 INFO: The LOCALDIR is './PE0000'.
forrtl: severe (27): too many records in I/O statement, unit -5, file Internal Formatted Write

 

Primary job  terminated normally, but 1 process returned
a non-zero exit code. Per user-direction, the job has been aborted.
--------------------------------------------------------------------------
--------------------------------------------------------------------------
mpirun detected that one or more processes exited with non-zero status, thus causing
the job to be terminated. The first process to do so was:

  Process name: [[30302,1],0]
  Exit code:    27

 

 

[theo @ localhost run7(nws = 20_nonc)(2)] $ mpirun -np 2 ./padcirc
信息:搜索ADCIRC子域目录:
INFO:寻找'./PE0000/fort.14'...
信息:找到文件“ ./PE0000/fort.14”!
信息:搜索子域目录已成功完成。
信息:ROOTDIR为“。”。
信息:INPUTDIR是'./PE0000'。
信息:GBLINPUTDIR为“。”。
信息:GLOBALDIR为“。”。
信息:LOCALDIR是'./PE0000'。
forrtl:严重(27):I / O语句,单位-5,文件内部格式写的记录过多
Image PC常规线源

 

主作业正常终止,但是返回了1个进程
非零退出代码。 按照用户方向,作业已中止。
-------------------------------------------------- ------------------------
-------------------------------------------------- ------------------------
mpirun检测到一个或多个进程以非零状态退出,从而导致
要终止的工作。 这样做的第一个过程是:

   流程名称:[[30302,1],0]
   退出代码:27

 

 

解:

由于原因与AMG迭代求解器和内核数有关,因此有多种解决方案。

  1. 如果可用,请使用AMG-MF迭代求解器。“分析参数->解法->解算器类型->迭代(AMG-MF)”
  2. 如果计算机的内核数少于33,但是超线程导致计算机的内核数超过32,请禁用超线程。(这需要重新启动计算机并更改BIOS设置。)
  3. 使用稀疏求解器。“分析参数->解法->解算器类型->稀疏”

 

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值