forrt1:严重(170):程序异常 - 堆栈溢出
并提前感谢您的帮助!
我已经编译了一个程序(不是我编写的),它在 Mac 上运行得很好,但是当我尝试在 Windows 上执行该程序时,在程序开始执行后不久,我收到以下错误消息:
forrt1:严重(170):程序异常 - 堆栈溢出
我不是 ifort 或 Fortran 用户,但尝试编译工作程序。
我做了一个“ifort --version”,并且使用版本为 12.0.0.104 的 Intel Visual Fortran Compiler XE。我已经研究这个问题几天了,并且尝试过修改 Makefile 中的标志,但没有成功。
如果我能提供任何进一步的信息,我会尽力提供。再次感谢!
and thanks ahead of time for any help!
I have compiled a program (which I did not write) and it works just fine on Mac's but when I try to execute the program on Windows I get the following error message shortly after execution of the program began:
forrt1: severe (170): Program Exception - stack overflow
I am not an ifort or Fortran user, but trying to compile a program for work.
I did an "ifort --version" and I am using Intel Visual Fortran Compiler XE with verion 12.0.0.104. I have been working on this problem for a few days now and I have tried messing with the flags in the Makefile some, but with no luck.
If I can provide any further information, I'll try to do my best. Thanks again!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
尝试在编译期间添加以下标志以获得更多信息:
/回溯/检查:全部
check
会进行运行时错误检查,traceback
会告诉编译器在运行时发生严重错误时生成额外信息。Try adding the following flags during compilation to get more information printed out:
/traceback /check:all
check
will do runtime error checking,traceback
will tell the compiler to generate extra information when a severe error occurs at runtime.编译程序时,尝试使用选项 /heap-arrays 让编译器将数组放置在堆上而不是堆栈上。否则,请尝试使可执行文件可用的堆栈更大。
When you compile the program, try the option /heap-arrays to have the compiler place arrays on the heap instead of the stack. Otherwise try making the stack available to the executable larger.