24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 598  |  回复: 6
当前主题已经存档。

chemozhang

木虫 (正式写手)

[交流] [求助]dock6.2安装中的错误

dock.6.2_source.tar.gz以及legacy_accessories.tar.gz解压缩在/tmp/dock6目录下,进入/tmp/dock6/install,运行./configure(gnu等四个参数)之后,make all或make dock出现这样的错误,望高人指点
我的平台为RHEL AS4 U5

[*******@localhost install]$ make all
Starting installation of
DOCK v6.2
at 涓? 6鏈?18 08:56:18 CST 2008.
cd ../src && make install
make[1]: Entering directory `/tmp/dock6/src'
cd dock && make install
make[2]: Entering directory `/tmp/dock6/src/dock'
g++ -c  -DBUILD_DOCK_WITH_MPI -DMPICH_IGNORE_CXX_SEEK -I/include -DBUILD_DOCK_WITH_ZAP -I -O2 -o base_mpi.o  base_mpi.cpp
In file included from base_mpi.cpp:2:
base_mpi.h:11:19: mpi.h: 娌℃湁閭d釜鏂囦欢鎴栫洰褰?base_mpi.cpp: In member function `bool Base_MPI::initialize_mpi(int*, char***)':base_mpi.cpp:274: error: `MPI_Init' was not declared in this scope
base_mpi.cpp:275: error: `MPI_COMM_WORLD' was not declared in this scope
base_mpi.cpp:275: error: `MPI_Comm_rank' was not declared in this scope
base_mpi.cpp:276: error: `MPI_Comm_size' was not declared in this scope
base_mpi.cpp:279: error: `MPI_Finalize' was not declared in this scope
base_mpi.cpp: In member function `void Base_MPI::finalize_mpi()':
base_mpi.cpp:296: error: `MPI_Finalize' was not declared in this scope
base_mpi.cpp: In member function `bool Base_MPI::listen_for_request()':
base_mpi.cpp:414: error: `MPI_Status' was not declared in this scope
base_mpi.cpp:414: error: expected `;' before "status"
base_mpi.cpp:419: error: `MPI_INT' was not declared in this scope
base_mpi.cpp:419: error: `MPI_ANY_SOURCE' was not declared in this scope
base_mpi.cpp:419: error: `MPI_COMM_WORLD' was not declared in this scope
base_mpi.cpp:420: error: `status' was not declared in this scope
base_mpi.cpp:420: error: `MPI_Recv' was not declared in this scope
base_mpi.cpp: In member function `bool Base_MPI::send_queue_request()':
base_mpi.cpp:451: error: `MPI_Status' was not declared in this scope
base_mpi.cpp:451: error: expected `;' before "status"
base_mpi.cpp:465: error: `MPI_INT' was not declared in this scope
base_mpi.cpp:465: error: `MPI_COMM_WORLD' was not declared in this scope
base_mpi.cpp:465: error: `MPI_Send' was not declared in this scope
base_mpi.cpp:466: error: `status' was not declared in this scope
base_mpi.cpp:466: error: `MPI_Recv' was not declared in this scope
base_mpi.cpp:476: error: `MPI_UNSIGNED_CHAR' was not declared in this scope
base_mpi.cpp: In member function `void Base_MPI::transmit_send_queue()':
base_mpi.cpp:511: error: `MPI_INT' was not declared in this scope
base_mpi.cpp:511: error: `MPI_COMM_WORLD' was not declared in this scope
base_mpi.cpp:511: error: `MPI_Send' was not declared in this scope
base_mpi.cpp:524: error: `MPI_UNSIGNED_CHAR' was not declared in this scope
base_mpi.cpp: In member function `void Base_MPI::recv_queue_request()':
base_mpi.cpp:536: error: `MPI_Status' was not declared in this scope
base_mpi.cpp:536: error: expected `;' before "status"
base_mpi.cpp:553: error: `MPI_INT' was not declared in this scope
base_mpi.cpp:553: error: `MPI_COMM_WORLD' was not declared in this scope
base_mpi.cpp:553: error: `MPI_Send' was not declared in this scope
base_mpi.cpp:554: error: `status' was not declared in this scope
base_mpi.cpp:554: error: `MPI_Recv' was not declared in this scope
base_mpi.cpp:569: error: `MPI_UNSIGNED_CHAR' was not declared in this scope
base_mpi.cpp:579: error: `MPI_FLOAT' was not declared in this scope
base_mpi.cpp: In member function `void Base_MPI::receive_recv_queue()':
base_mpi.cpp:592: error: `MPI_Status' was not declared in this scope
base_mpi.cpp:592: error: expected `;' before "status"
base_mpi.cpp:607: error: `MPI_INT' was not declared in this scope
base_mpi.cpp:607: error: `MPI_COMM_WORLD' was not declared in this scope
base_mpi.cpp:607: error: `MPI_Send' was not declared in this scope
base_mpi.cpp:608: error: `status' was not declared in this scope
base_mpi.cpp:608: error: `MPI_Recv' was not declared in this scope
base_mpi.cpp:620: error: `MPI_UNSIGNED_CHAR' was not declared in this scope
base_mpi.cpp:643: error: `MPI_FLOAT' was not declared in this scope
base_mpi.cpp: In member function `void Base_MPI::barrier()':
base_mpi.cpp:662: error: `MPI_COMM_WORLD' was not declared in this scope
base_mpi.cpp:662: error: `MPI_Barrier' was not declared in this scope
make[2]: *** [base_mpi.o] 閿欒 1
make[2]: Leaving directory `/tmp/dock6/src/dock'
make[1]: *** [dock6] 閿欒 2
make[1]: Leaving directory `/tmp/dock6/src'
make: *** [install] 閿欒 2

其中中文在windows下显示有点乱码
回复此楼
故地如重游月圆更寂寞
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yalefield

金虫 (文坛精英)

老汉一枚

★ ★
lei0736(金币+2,VIP+0):谢谢分析
这是由于你的计算机上:
(1)没有安装并行库MPI;
(2)安装了并行库MPI,但Dock的安装(编译)程序没有找到。
2楼2008-06-18 12:03:16
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

acdmail1

金虫 (小有名气)

★ ★
lei0736(金币+2,VIP+0):谢谢 楼下说的有理 继续系列讲座 十大“耐思”版主评选欢迎参与投票 http://edu.emuch.net/bbs/viewthread.php?tid=845527&fpage=1
你在单机上没有必要进行并行计算的编译,在./configure的时候去掉并行编译的标示参数。重新编译之前一定要 make clean
3楼2008-06-18 13:11:55
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yalefield

金虫 (文坛精英)

老汉一枚

引用回帖:
Originally posted by acdmail1 at 2008-6-18 13:11:
你在单机上没有必要进行并行计算的编译,在./configure的时候去掉并行编译的标示参数。重新编译之前一定要 make clean

快发系列讲座吧。
这些小事就别管了。
4楼2008-06-18 15:08:34
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

acdmail1

金虫 (小有名气)

引用回帖:
Originally posted by yalefield at 2008-6-18 15:08:


快发系列讲座吧。
这些小事就别管了。

现在上传附件好慢!
5楼2008-06-18 15:55:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

chemozhang

木虫 (正式写手)

引用回帖:
Originally posted by acdmail1 at 2008-6-18 13:11:
你在单机上没有必要进行并行计算的编译,在./configure的时候去掉并行编译的标示参数。重新编译之前一定要 make clean

多谢,多谢,我再试试!,非常感谢大家
故地如重游月圆更寂寞
6楼2008-06-18 18:54:26
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

chemozhang

木虫 (正式写手)

已解决,谢谢
故地如重游月圆更寂寞
7楼2008-06-19 22:02:04
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 chemozhang 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 工科08专硕机械275求调剂 +3 AaAa7420 2026-04-02 3/150 2026-04-05 13:26 by jp9609
[考研] 材料专硕(0856) 339分求调剂 +9 哈哈哈鹅哈哈哈 2026-04-04 9/450 2026-04-05 13:09 by gaoxiaoniuma
[考研] 081700学硕,323分,一志愿中国海洋大学求调剂学校 +16 披星河 2026-04-04 16/800 2026-04-05 11:27 by 猪会飞
[考研] 348求调剂 +5 wukira 2026-04-04 5/250 2026-04-05 11:05 by xiayan13521
[考研] 288求调剂,一志愿华南理工大学071005 +6 ioodiiij 2026-04-04 6/300 2026-04-05 10:09 by guoweigw
[考研] 求调剂 +10 熊二想上岸 2026-04-04 10/500 2026-04-05 08:09 by qlm5820
[考研] +5 化工专硕323分 2026-04-04 5/250 2026-04-05 08:02 by 544594351
[考研] 320求调剂 +3 一样圆 2026-04-04 3/150 2026-04-04 22:29 by 啵啵啵0119
[考研] 材料专硕306英一数二 +8 z1z2z3879 2026-03-31 8/400 2026-04-04 22:08 by hemengdong
[考研] 385分 生物学(071000)求调剂 +9 qf626 2026-04-01 9/450 2026-04-04 18:10 by macy2011
[考研] 336求调剂 +8 kiyy 2026-04-01 8/400 2026-04-03 19:41 by lijunpoly
[考研] 275求调剂 +14 waltzh 2026-04-01 14/700 2026-04-03 11:24 by qqq850810
[考研] 一志愿a区211,085601-307分求调剂 +13 党嘉豪 2026-03-31 26/1300 2026-04-03 08:33 by 495374996
[考研] 346求调剂 +5 郑诚乐 2026-04-02 5/250 2026-04-02 16:38 by SZW_UJN
[考研] 348求调剂 +6 吴彦祖24k 2026-04-02 6/300 2026-04-02 14:07 by 给你你注意休息
[考研] 314求调剂 +11 1xiaojun23 2026-03-31 12/600 2026-04-02 12:31 by 1xiaojun23
[考研] 311求调剂 +14 蓝月亮亮 2026-03-30 14/700 2026-04-02 12:18 by 1753564080
[考研] 求调剂推荐 +3 南山南@ 2026-04-01 3/150 2026-04-02 12:09 by xiaoranmu
[考研] 一志愿大连理工大学,机械工程学硕,341 +3 西瓜田的守望者 2026-03-30 3/150 2026-03-31 11:08 by asdfzly
[考研] 293求调剂 +3 末未mm 2026-03-30 5/250 2026-03-30 17:23 by 王保杰33
信息提示
请填处理意见