24小时热门版块排行榜    

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

acdmail1

金虫 (小有名气)

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


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

现在上传附件好慢!
5楼2008-06-18 15:55:54
已阅   回复此楼   关注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的回帖

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的回帖
普通表情 高级回复 (可上传附件)
最具人气热帖推荐 [查看全部] 作者 回/看 最后发表
[考研] 材料调剂 +13 一样YWY 2026-04-03 14/700 2026-04-05 18:20 by 蓝云思雨
[考研] 08专硕275调剂 +5 AaAa7420 2026-04-05 5/250 2026-04-05 18:01 by jkddd
[考研] 328分调剂 +6 门men 2026-04-04 6/300 2026-04-05 13:40 by imissbao
[考研] 288求调剂,一志愿华南理工大学071005 +6 ioodiiij 2026-04-04 6/300 2026-04-05 10:09 by guoweigw
[考研] 求调剂 +3 小沢 2026-04-03 3/150 2026-04-05 09:10 by sihailian3
[考研] 材料调剂 +11 一样YWY 2026-04-02 13/650 2026-04-04 23:10 by 无际的草原
[考研] 材料334求调剂 +15 Eecho# 2026-04-03 15/750 2026-04-04 23:05 by 无际的草原
[考研] 294求调剂 +6 Grey_Ey 2026-04-02 9/450 2026-04-04 22:07 by hemengdong
[考研] 283求调剂 +4 mcbbc 2026-04-03 5/250 2026-04-04 20:51 by imissbao
[考研] 一志愿中国石油大学化学工程323分求调剂 +4 化工专硕323分 2026-04-03 6/300 2026-04-03 22:12 by dongzh2009
[考研] 085600 295分求调剂 +19 W55j 2026-03-30 23/1150 2026-04-03 09:53 by 千千运气
[考研] 266求调剂 +4 学员97LZgn 2026-04-02 4/200 2026-04-02 13:03 by yulian1987
[考研] 材料工程322分 +8 哈哈哈吼吼吼哈 2026-04-01 8/400 2026-04-02 11:53 by 3041
[考研] 材料求调剂 +10 呢呢妮妮 2026-04-01 13/650 2026-04-02 09:17 by olim
[考研] 292求调剂 +17 木虫er12138 2026-04-01 17/850 2026-04-01 21:37 by 七度不信任
[考研] 307分求调剂 +14 (o~o) 2026-03-31 15/750 2026-04-01 20:43 by longlotian
[考研] 0817化工学硕调剂 +11 努力上岸中! 2026-03-31 11/550 2026-04-01 20:30 by 赖春艳
[考研] 一志愿西安交大材料学硕(英一数二)347,求调剂到高分子/材料相关专业 +7 zju51 2026-03-31 9/450 2026-04-01 19:35 by CFQZAFU
[考研] 301求调剂 +8 axibli 2026-04-01 8/400 2026-04-01 09:51 by 我的船我的海
[考研] 求调剂,一志愿北林食品与营养095500,301分,已过六级,有科研经历 +4 快乐储蓄罐 2026-03-31 4/200 2026-04-01 09:26 by JourneyLucky
信息提示
请填处理意见