24小时热门版块排行榜    

查看: 1725  |  回复: 17
当前只显示满足指定条件的回帖,点击这里查看本话题的所有回帖

kevin123581

金虫 (正式写手)

[求助] 超级计算机运算fortran的问题

我一个程序,最开始用比较小的数据和区域进行的计算,pc和超级计算机都能算。然后我把数据和区域改大了,结果pc能算,虽然很慢。
但是超级计算机却报错了。
附件是我的程序


网上查了下说是数组的问题,数组定义过多什么的。
但是pc 2g内存的pc都能算,为嘛工作站却出问题了
谢谢
错误提示


图好像看不清楚:
[p019cde@leopard tmp]$ ifort -r8 Console6.f90
/tmp/ifortalR5n7.o: In function `MAIN__':
Console6.f90.text+0x4de): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
Console6.f90.text+0x4e7): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
Console6.f90.text+0x2d0c): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
Console6.f90.text+0x334f): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
Console6.f90.text+0xd38a): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
Console6.f90.text+0xd3e3): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
Console6.f90.text+0xd964): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
/tmp/ifortalR5n7.o: In function `th_d_fdtd_IP_plot_results_':
Console6.f90.text+0xf627): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
Console6.f90.text+0xf6d6): relocation truncated to fit: R_X86_64_32S against `th_d_fdtd_$NE'
/opt/intel/Compiler/11.1/059/lib/intel64/libifcore.a(for_diags_intel.o): In function `for__io_return':
for_diags_intel.c.text+0x64d): relocation truncated to fit: R_X86_64_PC32 against symbol `for__user_iomsg_len' defined in .bss section in /opt/intel/Compiler/11.1/059/lib/intel64/libifcore.a(for_diags_intel.o)
for_diags_intel.c.text+0x654): additional relocation overflows omitted from the output

[ Last edited by kevin123581 on 2012-8-2 at 16:48 ]
回复此楼

» 本帖附件资源列表

  • 欢迎监督和反馈:小木虫仅提供交流平台,不对该内容负责。
    本内容由用户自主发布,如果其内容涉及到知识产权问题,其责任在于用户本人,如对版权有异议,请联系邮箱:xiaomuchong@tal.com
  • 附件 1 : Console6.f90
  • 2012-08-02 16:45:55, 36.34 K

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kevin123581

金虫 (正式写手)

引用回帖:
6楼: Originally posted by zhangguangping at 2012-08-06 09:49:50
我用你提供的附件里面的源代码,不用-r8编译过后可以是算的。算到10000步就结束了。文件太大,没法给你传。...

对的  只算10000步   
你用了r8也会有那个报错么?
我试了下,去掉r8是可以的。但是我把把步长再改小了点,去掉r8也不行了
7楼2012-08-06 11:12:19
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
查看全部 18 个回答

zhangguangping

木虫 (著名写手)

【答案】应助回帖

★ ★ ★ ★ ★ ★ ★ ★ ★ ★ ★
感谢参与,应助指数 +1
csgt0: 金币+1, 多谢应助 2012-08-04 21:25:04
kevin123581: 金币+10, ★★★★★最佳答案 2012-08-05 11:48:41
ifort -r8 Console6.f90修改为
ifort  Console6.f90
不要使用-r8参数,real默认情况下就是8个字节。我没有用这个参数编译运算很正常。如果加上这个参数也是出现你的这个类似的错误。
弘德明志博学笃行
2楼2012-08-04 11:33:31
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

zhangguangping

木虫 (著名写手)

★ ★
dbb627: 金币+2, 感谢应助 2012-08-04 22:37:07
不使用-r8参数,运行到现在还在算。看来应该没问题的。
T, dt   1.0546666E-12  1.3333332E-16
        7910 Ex, Ez, Ey at source loc    345006.6       8.380198   
  -176013.2   
        7910 MAX Hx    7105319.      -6546696.   
        7910 MAX Hz    151846.2      -151846.1   
        7910 MAX Hy    16067.86      -16068.13       16067.86      -16068.13   
        7910 MAX Ex    9349.113      -9349.144       5273.124      -5273.099   
        7910 MAX Ez    46894.30      -46901.89       14089.67      -14089.65   
        7910 MAX Ey    2197114.      -1879547.   
        7910 MAX TE    300.0000       300.0000   
        7910 MAX TI    300.0000       300.0000   
        7910 MAX ne   1.3236882E+19  0.0000000E+00
        7910 MAX sig    6.585646      0.0000000E+00
弘德明志博学笃行
3楼2012-08-04 20:24:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

kevin123581

金虫 (正式写手)

引用回帖:
3楼: Originally posted by zhangguangping at 2012-08-04 20:24:59
不使用-r8参数,运行到现在还在算。看来应该没问题的。
T, dt   1.0546666E-12  1.3333332E-16
        7910 Ex, Ez, Ey at source loc    345006.6       8.380198   
  -176013.2   
        7910 MAX Hx  ...

恩   谢谢 我试下
4楼2012-08-05 11:48:25
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
信息提示
请填处理意见