- UID
- 5218
- 性别
- 男
学习程序的底层科研人员
- 积分
- 48
- F 币
- 32 元
- 最后登录
- 2021-3-16
- 贡献
- 13 点
- 注册时间
- 2021-3-9
- 权杖
- 0 枚
惯用编译器:Intel Visual Fortran for Windows
新人
学习程序的底层科研人员
- F 币
- 32 元
- 贡献
- 13 点
|
本帖最后由 相辅相成 于 2021-3-9 20:20 编辑
program Mo
implicit none
integer number,itype(128),l,i1,i2,m,j4,j5,j6,n2,n,igama,m0
integer na,nb,i,j,k,j1,h,n4,j2,n1,n5,nc,kind,j3,nb0,nc0,na
double complex fr(-512:512,-512:512,-64:64),f2r(-512:512,-512:512,-64:64),lo1(-512:512,-512:512,-64:64)
double complex lo2(-512:512,-512:512,-64:64),proj(-512:512,-512:512,-2:2),u21(4,4),u22(4,4),w21(4,4),w22(4,4)
double complex l1c(-516:515,-516:515,1:2),l2c(1:2,-516:515,-516:515),l3c(1:2,-516:515,-516:515)
double complex f3r(1:2,-512:511,-512:511), f4r(1:2,-512:511,-512:511),l22c(1:2,-516:515,-516:515)
double complex l6wc(-512:511,-512:511),f5r(-512:511,-512:511),f6r(-512:511,-512:511)
double complex xreal(0:1023),xy(0:1023),l5c(0:1023,0:1023),l4c(0:1023,0:1023),f1r(0:2047,0:2047)
double complex l6c(0:1023,0:1023),l7c(0:1023,0:1023),f7r(0:1023,0:1023),f8r(-512:511,-512:511),f9r(-512:511,-512:511)
double complex l66c(0:1023,0:1023),l77c(0:1023,0:1023),f77r(0:1023,0:1023),f88r(-512:511,-512:511),f99r(-512:511,-512:511)
上面是定义的数据类型,编译后出现下面这样的错误
------ Build started: Project: RS-RRS, Configuration: Debug|x64 ------
Compiling with Intel(R) Visual Fortran Compiler 17.0.8.275 [Intel(R) 64]...
Source1.f90
x64\Debug\Source1.obj: catastrophic error: Variable MO$FR.0.1 too large for NTCOFF. Bigger than 2GB. Use heap instead
compilation aborted for C:\Users\user\Desktop\RRS vs RS-abc\RS-RRS\Source1.f90 (code 1)
Build log written to "file://C:\Users\user\Desktop\RRS%20vs%20RS-abc\RS-RRS\x64\Debug\BuildLog.htm"
RS-RRS - 1 error(s), 0 warning(s)
请问各位大神,谁知道怎么解决?
|
|