24小时热门版块排行榜    

北京石油化工学院2026年研究生招生接收调剂公告
查看: 594  |  回复: 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

金虫 (文坛精英)

老汉一枚

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

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

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的回帖

acdmail1

金虫 (小有名气)

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


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

现在上传附件好慢!
5楼2008-06-18 15:55:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 0703化学调剂325分 +8 15771691647 2026-04-04 8/400 2026-04-05 10:21 by 戴维ING
[考研] 083200 333求调剂 +3 十二!! 2026-04-04 3/150 2026-04-05 08:28 by barlinike
[考研] 313求调剂 +3 海日海日 2026-04-04 5/250 2026-04-05 07:54 by 544594351
[考研] 086000生物与医药298调剂求助 +6 元元青青 2026-03-31 8/400 2026-04-04 22:15 by lys0704
[考研] 296材料专硕求调剂 +21 202451007219 2026-04-02 22/1100 2026-04-04 21:48 by hemengdong
[考研] 325求调剂 +4 春风不借意 2026-04-04 4/200 2026-04-04 14:46 by 湘农储能材料
[考研] 一志愿南昌大学324求调剂 +9 hanamiko 2026-03-30 9/450 2026-04-04 11:04 by 猪会飞
[考研] 考研求调剂 +3 木心想继续深造 2026-04-03 3/150 2026-04-03 21:56 by 啵啵啵0119
[考研] 311求调剂 +11 勇敢的小吴 2026-04-02 11/550 2026-04-03 21:46 by qlm5820
[考研] 建环,能源,土木老师路过看一看!!! +5 嘿嘿uu 2026-04-01 5/250 2026-04-03 11:47 by znian
[考研] 一志愿陕西师范大学生物学317分 +5 1563日。 2026-04-02 5/250 2026-04-03 06:58 by ilovexiaobin
[考研] 一志愿山东大学,085600,344 +7 魏子per 2026-04-02 8/400 2026-04-02 21:12 by 百灵童888
[考研] 一志愿北京科技大学085601材料工程英一数二初试总分335求调剂 +8 双马尾痞老板2 2026-04-02 9/450 2026-04-02 14:45 by 5896
[考研] 314求调剂 +11 1xiaojun23 2026-03-31 12/600 2026-04-02 12:31 by 1xiaojun23
[考研] 生物学327,求调剂 +5 书上的梅子 2026-04-01 6/300 2026-04-02 06:47 by ilovexiaobin
[考研] 材料调剂 +12 一样YWY 2026-04-01 12/600 2026-04-02 00:21 by 百秒光年
[考研] 298求调剂 +4 什么是胖头鱼 2026-03-30 6/300 2026-04-01 22:06 by 客尔美德
[考研] 08工科275求调剂,可跨考。 +5 AaAa7420 2026-03-31 5/250 2026-04-01 15:21 by 159357hjz
[考研] 0856 335分 +9 cccchenso 2026-03-29 9/450 2026-03-31 16:37 by lishahe
[有机交流] 甲基亚磺磺酸钠和甲基磺酸酯反应机理 10+3 kaobao456 2026-03-29 4/200 2026-03-30 23:16 by nBu锂
信息提示
请填处理意见