pyMPI 构建和安装

发布于 2024-11-07 09:23:22 字数 3251 浏览 2 评论 0原文

大家好,我正在尝试在 ubuntu 服务器 10.04.2 上安装 pyMPI 。 当我运行 ./configure 时,它​​会

enter 
root@ACRS-CN1:/usr/local/src/pyMPI-2.5b0# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking host overrides... no
checking fatal error on cancel of isend (--with-bad-cancel)... no
checking Assume stdin is interactive (--with-isatty)...
checking Append a newline to prompt (--with-prompt-nl)...
checking for mpcc... no
checking for mpxlc... no
checking for mpiicc... no
checking for mpicc... mpicc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of mpicc... none
checking for an ANSI C-conforming const... yes
checking for mpicc is really C++... checking how to run the C preprocessor... mpicc    checking for egrep... grep -E
no
checking for sed... /bin/sed
checking for grep... /bin/grep
checking for mpiCC... no
checking for mpi++... no
checking for mpicC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for mpicc... /usr/bin/mpicc
checking for g++... /usr/bin/g++
checking if /usr/bin/mpicc -E -w is a valid CPP... yes
checking how to run the C preprocessor... /usr/bin/mpicc -E -w
checking for --with-python... no
checking executable /usr/bin/python2.6... yes
checking for Python... /usr/bin/python2.6
checking for MPIRun.exe... no
checking for mpirun... /usr/bin/mpirun
checking for mvrun... no
checking for poe... no
checking for nopoe... no
checking Python version 2.2 or higher... yes
checking distutils?... yes
checking distutils works... yes
checking Numeric?...
checking Numpy?...
checking Python version string... 2.6checking install prefix for /usr/bin/python2.6... /usr
checking Prefix exists...... yes
checking for python include location... /usr/include/python2.6
checking that include directory exists... yes
checking for python library location... /usr/lib/python2.6/dist-packages
checking that lib directory is accessable... yes
checking for python lib/config location... /usr/lib/python2.6/config
checking that lib/config directory is accessable... yes
checking libpython2.6.a is there... not there
 configure: WARNING: If you get link errors add a --with-libs=-L/path/to/dir where   libpython2.6.a lives
 checking configuration Makefile is there... yes
 checking module configuration table is there... not there
 configure: error: config.c wasn't where I thought it was
 root@ACRS-CN1:/usr/local/src/pyMPI-2.5b0#

在此处打印出代码

配置:错误:config.c 不在我认为的位置,

这是什么意思以及如何修复它?

Hi everyone I'm trying to install pyMPI on ubuntu server 10.04.2 .
When i run ./configure this is what it prints out

enter 
root@ACRS-CN1:/usr/local/src/pyMPI-2.5b0# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for ranlib... ranlib
checking host overrides... no
checking fatal error on cancel of isend (--with-bad-cancel)... no
checking Assume stdin is interactive (--with-isatty)...
checking Append a newline to prompt (--with-prompt-nl)...
checking for mpcc... no
checking for mpxlc... no
checking for mpiicc... no
checking for mpicc... mpicc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether mpicc accepts -g... yes
checking for mpicc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of mpicc... none
checking for an ANSI C-conforming const... yes
checking for mpicc is really C++... checking how to run the C preprocessor... mpicc    checking for egrep... grep -E
no
checking for sed... /bin/sed
checking for grep... /bin/grep
checking for mpiCC... no
checking for mpi++... no
checking for mpicC... no
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... none
checking for mpicc... /usr/bin/mpicc
checking for g++... /usr/bin/g++
checking if /usr/bin/mpicc -E -w is a valid CPP... yes
checking how to run the C preprocessor... /usr/bin/mpicc -E -w
checking for --with-python... no
checking executable /usr/bin/python2.6... yes
checking for Python... /usr/bin/python2.6
checking for MPIRun.exe... no
checking for mpirun... /usr/bin/mpirun
checking for mvrun... no
checking for poe... no
checking for nopoe... no
checking Python version 2.2 or higher... yes
checking distutils?... yes
checking distutils works... yes
checking Numeric?...
checking Numpy?...
checking Python version string... 2.6checking install prefix for /usr/bin/python2.6... /usr
checking Prefix exists...... yes
checking for python include location... /usr/include/python2.6
checking that include directory exists... yes
checking for python library location... /usr/lib/python2.6/dist-packages
checking that lib directory is accessable... yes
checking for python lib/config location... /usr/lib/python2.6/config
checking that lib/config directory is accessable... yes
checking libpython2.6.a is there... not there
 configure: WARNING: If you get link errors add a --with-libs=-L/path/to/dir where   libpython2.6.a lives
 checking configuration Makefile is there... yes
 checking module configuration table is there... not there
 configure: error: config.c wasn't where I thought it was
 root@ACRS-CN1:/usr/local/src/pyMPI-2.5b0#

code here

configure: error: config.c wasn't where I thought it was

what does this mean and how can i fix it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

夜血缘 2024-11-14 09:23:22
sudo apt-get install python-dev libopenmpi-dev

需要构建成功。现在刚刚测试。

sudo apt-get install python-dev libopenmpi-dev

are needed to build successfully. Just tested right now.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文