24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 592  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 297求调剂 +11 ljy20040718! 2026-04-03 12/600 2026-04-04 03:36 by -迷了路啊路
[考研] 317分 一志愿江南大学 化学工程学硕 求调剂 +6 YinTai 2026-04-03 6/300 2026-04-03 22:30 by 无际的草原
[考研] 调剂 +6 19945159693 2026-04-03 7/350 2026-04-03 22:04 by 啵啵啵0119
[考研] 材料334求调剂 +9 Eecho# 2026-04-03 9/450 2026-04-03 21:38 by lbsjt
[考研] 一志愿重庆大学085404,总分314分,求调剂 +4 zf83hn 2026-04-03 4/200 2026-04-03 21:25 by 啵啵啵0119
[考研] 282求调剂 不挑专业 求收留 +7 Yam. 2026-03-30 8/400 2026-04-03 14:12 by zhangdingwa
[考研] 求调剂 +9 akdhjs 2026-03-31 11/550 2026-04-03 13:32 by akdhjs
[考研] 366求调剂 +7 sbdnd 2026-04-03 7/350 2026-04-03 12:40 by cymywx
[考研] 复试调剂 +3 bvzz 2026-04-01 3/150 2026-04-03 09:47 by 蓝云思雨
[考研] 求调剂 +5 朔朔话 2026-04-02 6/300 2026-04-02 22:02 by barlinike
[考研] 土木304求调剂 +4 兔突突突, 2026-04-02 5/250 2026-04-02 21:16 by 兔突突突,
[考研] 413求调剂 +3 柯某某 2026-03-31 3/150 2026-04-02 16:59 by zzsw+
[考研] 调剂 +3 好好读书。 2026-04-01 6/300 2026-04-02 15:49 by liumengping
[考研] 314求调剂 +11 1xiaojun23 2026-03-31 12/600 2026-04-02 12:31 by 1xiaojun23
[考研] 0856初试324分求调剂 +6 想上学求调 2026-04-01 6/300 2026-04-02 11:42 by 星空星月
[考研] 一志愿安徽大学计算机科学与技术学硕,331分求调剂 +5 蒋昌鹏qtj 2026-04-01 5/250 2026-04-02 08:10 by fxue1114
[考研] 0817化工学硕调剂 +11 努力上岸中! 2026-03-31 11/550 2026-04-01 20:30 by 赖春艳
[考研] 材料专硕306英一数二 +7 z1z2z3879 2026-03-31 7/350 2026-04-01 14:50 by ZXlzxl0425
[硕博家园] 博一被送出联培感觉不适应怎么办 +3 全村的狗 2026-03-31 3/150 2026-04-01 10:44 by 328838485
[考研] 085601英二数二求调剂 总分325 +4 余航航 2026-03-31 4/200 2026-03-31 17:38 by 唐沐儿
信息提示
请填处理意见