24小时热门版块排行榜    

CyRhmU.jpeg
查看: 1503  |  回复: 4

yjcmwgk

禁虫 (文坛精英)

密度泛函·小卒

优秀版主

[交流] 【求助】安装openmpi的问题,向各位高手请教已有4人参与

各位高手你们好
我要运行我们专业的一个程序,叫做orca【这个orca是一个量子化学计算软件,而不是那个浏览器orca】,并行运算的时候,需要使用openmpi 1.4.2。但是我对Linux其实知之甚少,出现了问题,只好向各位高手求助

我从网上下载了openmpi的源码openmpi-1.4.2.tar.bz2
然后解压得到了一个文件夹叫做openmpi-1.4.2
进入这个文件夹,输入./configure CC=icc CXX=icpc --prefix=/opt/openMPI命令,得到这样一大串字符
CODE:
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking how to create a ustar tar archive... gnutar

============================================================================
== Configuring Open MPI
============================================================================

*** Checking versions
checking Open MPI version... 1.4.2
checking Open MPI release date... May 04, 2010
checking Open MPI Subversion repository version... r23093
checking Open Run-Time Environment version... 1.4.2
checking Open Run-Time Environment release date... May 04, 2010
checking Open Run-Time Environment Subversion repository version... r23093
checking Open Portable Access Layer version... 1.4.2
checking Open Portable Access Layer release date... May 04, 2010
checking Open Portable Access Layer Subversion repository version... r23093

*** Initialization, setup
configure: builddir: /home/orca/installfiles/openmpi-1.4.2
configure: srcdir: /home/orca/installfiles/openmpi-1.4.2
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
installing to directory "/usr/local/openmpi"

*** Configuration options
checking whether to run code coverage... no
checking whether to compile with branch probabilities... no
checking whether to debug memory usage... no
checking whether to profile memory usage... no
checking if want developer-level compiler pickyness... no
checking if want developer-level debugging code... no
checking if want sparse process groups... no
checking if want Fortran 77 bindings... yes
checking if want Fortran 90 bindings... yes
checking desired Fortran 90 bindings "size"... small
checking whether to enable PMPI... yes
checking if want C++ bindings... yes
checking if want MPI::SEEK_SET support... yes
checking if want to enable weak symbol support... yes
checking if want run-time MPI parameter checking... runtime
checking if want to install OMPI header files... no
checking if want pretty-print stacktrace... yes
checking if peruse support is required... no
checking max supported array dimension in F90 MPI bindings... 4
checking if pty support should be enabled... yes
checking if user wants dlopen support... yes
checking if heterogeneous support should be enabled... no
checking if want trace file debugging... no
checking if want full RTE support... yes
checking if want fault tolerance... Disabled fault tolerance
checking if want IPv6 support... yes (if underlying system supports it)
checking if want orterun "--prefix" behavior to be enabled by default... no
checking for package/brand string... Open MPI root@node5 Distribution
checking for ident string... 1.4.2
checking whether to add padding to the openib control header... no
checking whether to use an alternative checksum algo for messages... no

============================================================================
== Compiler and preprocessor tests
============================================================================

*** C compiler and preprocessor
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... no
checking for cl.exe... no
configure: error: in `/home/orca/installfiles/openmpi-1.4.2':
configure: error: no acceptable C compiler found in $PATH
See `config.log' for more details.

然后我输入make all | tee make.log &,得到提示如下
CODE:
make: *** No rule to make target `all'.  Stop.

我的系统是centos5.4
我的机器是曙光的塔式服务器,2片Intel Xeon CPU E5504,外加8条2G内存

非常感谢诸位高手!!
回复此楼

» 猜你喜欢

» 本主题相关价值贴推荐,对您同样有帮助:

已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yalefield

金虫 (文坛精英)

老汉一枚


yjcmwgk(金币+20): 2010-08-03 21:59:34
余泽成(金币+1):谢谢参与应助! 2010-08-03 23:42:35
CC=icc CXX=icpc
请检查是否安装了编译工具哟
2楼2010-08-03 20:00:38
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

beyondstar

木虫 (正式写手)


余泽成(金币+1):谢谢参与应助! 2010-08-03 23:42:50
3楼2010-08-03 21:28:18
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

yjcmwgk

禁虫 (文坛精英)

密度泛函·小卒

优秀版主

引用回帖:
Originally posted by yalefield at 2010-08-03 20:00:38:
CC=icc CXX=icpc
请检查是否安装了编译工具哟

这个命令是我从网上copy的
请问老汉
我应该事先安装什么编译工具呢?谢谢老汉
4楼2010-08-03 21:58:54
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖

独孤狼

金虫 (正式写手)

独行者


余泽成(金币+1):欢迎新虫,谢谢参与应助! 2010-08-03 23:43:25
yjcmwgk(金币+180):谢谢独孤狼! 2010-08-04 15:40:35
引用回帖:
Originally posted by yjcmwgk at 2010-08-03 21:58:54:

这个命令是我从网上copy的
请问老汉
我应该事先安装什么编译工具呢?谢谢老汉

都是intel的c/c++编译器,可以先装一下

下载地址可以这里找找http://software.intel.com/en-us/intel-compilers/
轮回的过往,注定的未来;独孤的行者,孤独的路途……
5楼2010-08-03 22:20:59
已阅   回复此楼   关注TA 给TA发消息 送TA红花 TA的回帖
相关版块跳转 我要订阅楼主 yjcmwgk 的主题更新
普通表情 高级回复(可上传附件)
信息提示
请填处理意见