【求助】vasp并行安装mpich2的错误
linux-pd32:/tmp/mpich2-1.3 # ./configure -- prefix=/usr/mpich2-1.3
Configuring MPICH2 version 1.3 with '--' 'prefix=/usr/mpich2-1.3'
Running on system: Linux linux-pd32 2.6.16.60-0.21-smp #1 SMP Tue May 6 12:41:02 UTC 2008 x86_64 x86_64 x86_64 GNU/Linux
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking how to run the C preprocessor... gcc -E
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for grep that handles long lines and -e... /usr/bin/grep
checking for fgrep... /usr/bin/grep -F
Executing mpich2prereq in /tmp/mpich2-1.3/src/mpid/ch3 with
Executing mpich2prereq in /tmp/mpich2-1.3/src/mpid/ch3/channels/nemesis
configure: ===== configuring src/mpl =====
configure: executing: /tmp/mpich2-1.3/src/mpl/configure '--' 'prefix=/usr/mpich2-1.3' --disable-option-checking
configure: WARNING: you should use --build, --host, --target
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 build system type... configure: error: /bin/sh confdb/config.sub --disable-option-checking failed
configure: WARNING: cache variable ac_cv_build contains a newline
configure: error: MPL configure failed
linux-pd32:/tmp/mpich2-1.3 # make
make: *** 没有指明目标并且找不到 makefile。 停止。
不知道出了什么问题?大家帮帮忙。
返回小木虫查看更多
京公网安备 11010802022153号
我知道乐,谢谢
[ Last edited by 夕阳西下 on 2010-11-12 at 11:02 ]
这是什么意思啊?我现在也在编译并行vasp,老是出错,我觉得主要是在修改makefile中,lz能给出一份正确的并行编译的makefile吗?谢谢。我的邮箱是yanghua@tju.edu.cn。
例子可以看这里我的回帖:
https://muchong.com/bbs/viewthread.php?tid=3395443&fpage=1
网上的正确的例子也非常多。
但是,由于每个人用的库不同,选择的库不同,库的安装位置也不同,所以,在参考别人的makefile的基础上,自己至少要有点makefile脚本的基础知识,才容易过关~
,