| 查看: 1379 | 回复: 1 | ||
wufengseu木虫 (正式写手)
|
[求助]
MPI f90编译程序遇到 relocation truncated to fit: R_X86_64_32
|
|
使用ifort 11.0; mpif90 -O2 -axW -assume byterecl -mcmodel=large -i-dynamic -L/opt/intel/Compiler/11.1/072/mkl/lib/em64t -lmkl_scalapack_lp64 -lmkl_blacs_intelmpi_lp64 -lmkl_sequential -lmkl_core -lmkl_solver_lp64 -lmkl_intel_lp64 -lguide -c main.f 出现如下问题: /opt/mpich2/lib/libmpich.a(setbotf.o): In function `mpirinitf_': setbotf.f: (.text+0x4): relocation truncated to fit: R_X86_64_32 against symbol `mpifcmb1_' defined in .bss section in /opt/mpich2/lib/libmpich.a(setbot.o) setbotf.f: (.text+0x9): relocation truncated to fit: R_X86_64_32 against symbol `mpifcmb2_' defined in .bss section in /opt/mpich2/lib/libmpich.a(setbot.o) setbotf.f: (.text+0xe): relocation truncated to fit: R_X86_64_32 against symbol `mpifcmb3_' defined in .bss section in /opt/mpich2/lib/libmpich.a(setbot.o) ... 因为使用的数组较大,-mcmodel=large是必须选项。http://blog.sina.com.cn/s/blog_7a37c79f0100t708.html的描述不能解决当前问题。 静待高手指教。 |
» 猜你喜欢
国自然上会要求
已经有9人回复
博士申请
已经有5人回复
面上本子正文33页,违规吗?会被低分嘛?
已经有9人回复
评审有感
已经有6人回复
今年审到国自然15份,谈谈感受
已经有16人回复
上海大学实验技术岗位非升即走
已经有8人回复
考博自荐
已经有6人回复
青C资助名额大幅增加!
已经有16人回复
重磅!青年科学基金项目(C类)资助增幅预计超过50%
已经有10人回复
我在等一个没有答案的答案
已经有3人回复
» 本主题相关价值贴推荐,对您同样有帮助:
jingfuqiang
银虫 (小有名气)
- 应助: 0 (幼儿园)
- 金币: 376.6
- 帖子: 94
- 在线: 92.4小时
- 虫号: 2576417
- 注册: 2013-08-01
- 性别: GG
- 专业: 化学动力学

2楼2015-02-03 19:46:24












回复此楼
20