Fortran 解释发生FPE的gdb输出
我正在使用与此URL中提供的相同的说明-我正在收到这些消息-Fortran 解释发生FPE的gdb输出,fortran,gdb,gfortran,Fortran,Gdb,Gfortran,我正在使用与此URL中提供的相同的说明-我正在收到这些消息- 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 m
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).
断点1,psiappsor(ω=1.809994,
pv=,
psi=,nsq=…,rhoref=…,。。。,
θ=,
thetabot=,thetaref=。。。,
科里奥尔=,,
ua=,
ub=,
va=,
vb=,
a=,
b=,,
c=,nx=249,ny=249,nz=124,dx=26437.7188,dy=27813.7012,
dz=200.139206)在库存车上。f:1226
1226>c(i,j,k))+(1.-ω)*psi(i,j,k)。
用谷歌搜索这些文本或查找以前的问题,所以Q/A毫无帮助。我可以告诉你,很多这些变量,比如pv、psi、thetoop、thetabot、ua、ub、va、vb、a、b、c都是从调用子例程传入的。
这就是造成这些信息的原因吗?如果需要,我可以发布与断点关联的完整代码。这些消息是什么意思?我认为这些消息是自我描述的:GDB不能存储大型数组的值。您可以在启动程序之前更改最大值大小
设置最大值大小不受限制
。有关更多详细信息,请参见@M.Chinoune-谢谢。我设置了它,但现在它在遇到FPE后挂起。