24小时热门版块排行榜    

查看: 555  |  回复: 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 的主题更新
普通表情 高级回复 (可上传附件)
信息提示
请填处理意见