解释FPE发生的gdb输出

时间:2017-07-08 08:13:30

标签: fortran gdb gfortran

我使用的是此网址中提供的相同说明 - Debug fortran code with gdb,我收到了这些消息 -

Breakpoint 1, psiappsor (omega=1.80999994, 
pv=<error reading variable: value requires 31250000 bytes, which is more than max-value-size>, 
psi=<error reading variable: value requires 31250000 bytes, which is more than max-value-size>, nsq=..., rhoref=..., 
thetatop=<error reading variable: value requires 250000 bytes, which is more than max-value-size>, 
thetabot=<error reading variable: value requires 250000 bytes, which is more than max-value-size>, thetaref=..., 
coriol=<error reading variable: value requires 250000 bytes, which is more than max-value-size>, 
ua=<error reading variable: value requires 125000 bytes, which is more than max-value-size>, 
ub=<error reading variable: value requires 125000 bytes, which is more than max-value-size>, 
va=<error reading variable: value requires 125000 bytes, which is more than max-value-size>, 
vb=<error reading variable: value requires 125000 bytes, which is more than max-value-size>, 
a=<error reading variable: value requires 31250000 bytes, which is more than max-value-size>, 
b=<error reading variable: value requires 31250000 bytes, which is more than max-value-size>, 
c=<error reading variable: value requires 31250000 bytes, which is more than max-value-size>, nx=249, ny=249, nz=124, dx=26437.7188, dy=27813.7012, 
dz=200.139206) at inv_cart.f:1226
1226         >              c(i,j,k))+(1.-omega)*psi(i,j,k).

搜索这些文本或查找以前的SO Q / A根本没有帮助。我可以告诉你,很多这些变量,如pv,psi,thetatop,thetabot,ua,ub,va,vb,a,b,c都是从调用子程序传入的。 这是导致这些消息的原因吗?如果需要,我可以发布与断点关联的完整代码。这些消息意味着什么?

0 个答案:

没有答案