免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 6505 | 回复: 4
打印 上一主题 下一主题

[SCO UNIX] Make 时显示:"array is too large" ?? 请高人指点 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2005-01-15 12:52 |只看该作者 |倒序浏览
在下用 SGI 机运行中尺度气象模式MM5

在make MM5模块时出错,提示信息如下:
   ………
   ………
f77 -c -I../../include -D"SGI_Origin" -n32  -mpio  -mp -MPld_mp=OFF -O3 -OPT:roundoff=3:IEEE_arithmetic=3 -OPT:reorg_common=OFF sound.F
"../../include/parame.incl", line 204: error(2116): array is too large
        REAL ALLARR,ALLFG,ALLFO
                 ^  
   …………
   …………

我用的这台机器内存是512m的!
其中 "^"指示的位置 "ALLARR"!
还请高手们指点!


论坛徽章:
0
2 [报告]
发表于 2005-01-15 13:36 |只看该作者

Make 时显示:"array is too large" ?? 请高人指点

  1. "../../include/parame.incl", line 204: error(2116): array is too large
  2. REAL ALLARR,ALLFG,ALLFO
复制代码


IMHO, please check/post your include file parame.incl, in particular line 204. The error seems to suggest that you define the array ALLARR in the include file parame.incl

Also post result of hinv -mt for your machine

论坛徽章:
0
3 [报告]
发表于 2005-01-18 13:03 |只看该作者

Make 时显示:"array is too large" ?? 请高人指点

先谢过!

在 parame.incl 中有定义: PARAMETER (MIX=301 ,MJX=301 ,MKX=62 )

当我使用MKX=40时,编译可以通过;
             MKX=50时,编译时显示:"bdyin.F": Warning: Stack frame size (9422652 larger than system limit (67108864)
"sound.F", line 838: Warning: Stack frame size (135899712) larger than system limit (67108864)
"solve.F", line 2208: Warning: Stack frame size (644616384) larger than system limit (67108864)

             MKX=62时,则显示前贴贴的信息了。

IRIS12 78% hinv -m
      PM10300MHZ Board: barcode KXJ555     part 030-1355-001 rev  M
            IP30 Board: barcode KSC711     part 030-1467-001 rev  D
    PWR.SPPLY.ER Board: barcode AAE0010718 part 060-0035-002 rev  A
             FP1 Board: barcode KKZ748     part 030-0891-003 rev  G
           MOT10 Board: barcode KXK463     part 030-1241-002 rev  J
1 300 MHZ IP30 Processor
CPU: MIPS R12000 Processor Chip Revision: 2.3
FPU: MIPS R12010 Floating Point Chip Revision: 0.0
Main memory size: 512 Mbytes
Instruction cache size: 32 Kbytes
Data cache size: 32 Kbytes
Secondary unified instruction/data cache size: 2 Mbytes
Integral SCSI controller 0: Version QL1040B (rev. 2), single ended
  Disk drive: unit 1 on SCSI controller 0
  Disk drive: unit 2 on SCSI controller 0
Integral SCSI controller 1: Version QL1040B (rev. 2), single ended
  CDROM: unit 4 on SCSI controller 1
IOC3 serial port: tty1
IOC3 serial port: tty2
IOC3 parallel port: plp1
Graphics board: ESI
Integral Fast Ethernet: ef0, version 1, pci 2
Iris Audio Processor: version RAD revision 12.0, number 1

论坛徽章:
0
4 [报告]
发表于 2005-01-18 15:36 |只看该作者

Make 时显示:"array is too large" ?? 请高人指点

See if these helps -->;

http://www.arsc.edu/support/news/HPCnews/HPCnews202.shtml

http://www.ccp4.ac.uk/problems/ccp4onIRIX.html

http://bullard.esc.cam.ac.uk/~hobro/Jive3D/manualhtml0.4/node11.html   (on limitation of fortran 77 in dynamic mmemory allocation)

http://bullard.esc.cam.ac.uk/~hobro/Jive3D/manualhtml0.4/node12.html   (Table 2.2)

* * * *

Also check the size of arrays vs your system memory. For example, one of your arrays could be 301 x 301 x 50~ 60 x 8 bytes (real x 8 bytes) ~ 36 M

See my little experiment earlier -->;

http://bbs.chinaunix.net/forum/viewtopic.php?t=384996&show_type=

论坛徽章:
0
5 [报告]
发表于 2005-01-20 21:43 |只看该作者

Make 时显示:"array is too large" ?? 请高人指点

好的,我先看看。非常感谢!
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP