阅读背景:

如何在Fortran中将可分配的数组传递给子程序

来源:互联网 

The following code is returning a Segmentation Fault because the allocatable array I am trying to pass is not being properly recognized (size returns 1, when it should be 3). In this page (https://www.eng-tips.com/viewthread.cfm?qid=170599) a similar example seems to indicate that it should work fine in F95; my code file has a .F90 extension, but I tried changing it to F95, and I am using gfortran to compile.The following code is returning a Segmentation




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: