【求助】vasp并行安裝mpich2的錯(cuò)誤
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: *** 沒有指明目標(biāo)并且找不到 makefile。 停止。
不知道出了什么問題?大家?guī)蛶兔Α?span style="margin-left:5px; font-size: 12px;">
返回小木蟲查看更多
京公網(wǎng)安備 11010802022153號(hào)
我知道樂,謝謝
[ Last edited by 夕陽西下 on 2010-11-12 at 11:02 ]
這是什么意思。课椰F(xiàn)在也在編譯并行vasp,老是出錯(cuò),我覺得主要是在修改makefile中,lz能給出一份正確的并行編譯的makefile嗎?謝謝。我的郵箱是yanghua@tju.edu.cn。
例子可以看這里我的回帖:
http://www.gaoyang168.com/bbs/viewthread.php?tid=3395443&fpage=1
網(wǎng)上的正確的例子也非常多。
但是,由于每個(gè)人用的庫不同,選擇的庫不同,庫的安裝位置也不同,所以,在參考別人的makefile的基礎(chǔ)上,自己至少要有點(diǎn)makefile腳本的基礎(chǔ)知識(shí),才容易過關(guān)~
,