<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.6082" name=GENERATOR><LINK 
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}" 
rel=stylesheet></HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana size=2>
<DIV>Hi&nbsp;all</DIV>
<DIV>&nbsp;</DIV>
<DIV>I post this question in users mailing list, but got no response yet.</DIV>
<DIV>So I post here again.</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV>I&nbsp;install&nbsp;gromacs-4.5.4,&nbsp;with</DIV>
<DIV></DIV>
<DIV>tar&nbsp;xzf&nbsp;gromacs-4.5.4.tar.gz</DIV>
<DIV>cd&nbsp;gromacs-4.5.4</DIV>
<DIV>export&nbsp;MPICC=/usr/mpi/gcc/mvapich2-1.4.1/bin/mpicc&nbsp;</DIV>
<DIV>./configure&nbsp;--prefix=/home/xuji/bin/gmx_4.5.4/parallel_float&nbsp;--enable-mpi&nbsp;--program-suffix=_mpi&nbsp;--without-x&nbsp;--with-fft=fftw3&nbsp;--enable-all-static&nbsp;--without-xml&nbsp;--with-pic&nbsp;CPPFLAGS=-I/home/xuji/bin/fftw3_f/include/&nbsp;LDFLAGS=-L/home/xuji/bin/fftw3_f/lib/&nbsp;</DIV>
<DIV>make&nbsp;-j&nbsp;8</DIV>
<DIV></DIV>
<DIV>but&nbsp;always&nbsp;got&nbsp;following&nbsp;errors:</DIV>
<DIV></DIV>
<DIV>Making&nbsp;all&nbsp;in&nbsp;kernel</DIV>
<DIV>make[3]:&nbsp;Entering&nbsp;directory&nbsp;`/home/xuji/src/gromacs-4.5.4/src/kernel'</DIV>
<DIV>/bin/sh&nbsp;../../libtool&nbsp;--tag=CC&nbsp;&nbsp;&nbsp;--mode=link&nbsp;/usr/mpi/gcc/mvapich2-1.4.1/bin/mpicc&nbsp;&nbsp;-O3&nbsp;-fomit-frame-pointer&nbsp;-finline-functions&nbsp;-Wall&nbsp;-Wno-unused&nbsp;-msse2&nbsp;-funroll-all-loops&nbsp;-std=gnu99&nbsp;&nbsp;-L/home/xuji/bin/fftw3_f/lib/&nbsp;&nbsp;&nbsp;-all-static&nbsp;-o&nbsp;grompp&nbsp;grompp.o&nbsp;libgmxpreprocess_mpi.la&nbsp;&nbsp;../mdlib/libmd_mpi.la&nbsp;../gmxlib/libgmx_mpi.la&nbsp;&nbsp;-lnsl&nbsp;-lm&nbsp;&nbsp;</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/bin/mpicc&nbsp;-O3&nbsp;-fomit-frame-pointer&nbsp;-finline-functions&nbsp;-Wall&nbsp;-Wno-unused&nbsp;-msse2&nbsp;-funroll-all-loops&nbsp;-std=gnu99&nbsp;-static&nbsp;-o&nbsp;grompp&nbsp;grompp.o&nbsp;&nbsp;-L/home/xuji/bin/fftw3_f/lib/&nbsp;./.libs/libgmxpreprocess_mpi.a&nbsp;/home/xuji/src/gromacs-4.5.4/src/mdlib/.libs/libmd_mpi.a&nbsp;../mdlib/.libs/libmd_mpi.a&nbsp;/home/xuji/bin/fftw3_f/lib/libfftw3f.a&nbsp;/home/xuji/src/gromacs-4.5.4/src/gmxlib/.libs/libgmx_mpi.a&nbsp;../gmxlib/.libs/libgmx_mpi.a&nbsp;-lnsl&nbsp;-lm&nbsp;&nbsp;</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(simple_pmi.o):&nbsp;In&nbsp;function&nbsp;`PMI_Init':</DIV>
<DIV>(.text+0x1690):&nbsp;warning:&nbsp;Using&nbsp;'gethostbyname'&nbsp;in&nbsp;statically&nbsp;linked&nbsp;applications&nbsp;requires&nbsp;at&nbsp;runtime&nbsp;the&nbsp;shared&nbsp;libraries&nbsp;from&nbsp;the&nbsp;glibc&nbsp;version&nbsp;used&nbsp;for&nbsp;linking</DIV>
<DIV>/usr/lib64/libc.a(malloc.o):&nbsp;In&nbsp;function&nbsp;`__malloc_check_init':</DIV>
<DIV>(.text+0x13d0):&nbsp;multiple&nbsp;definition&nbsp;of&nbsp;`__malloc_check_init'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o):(.text+0x8c0):&nbsp;first&nbsp;defined&nbsp;here</DIV>
<DIV>/usr/bin/ld:&nbsp;Warning:&nbsp;size&nbsp;of&nbsp;symbol&nbsp;`__malloc_check_init'&nbsp;changed&nbsp;from&nbsp;113&nbsp;in&nbsp;/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o)&nbsp;to&nbsp;107&nbsp;in&nbsp;/usr/lib64/libc.a(malloc.o)</DIV>
<DIV>/usr/lib64/libc.a(malloc.o):&nbsp;In&nbsp;function&nbsp;`free':</DIV>
<DIV>(.text+0x6da0):&nbsp;multiple&nbsp;definition&nbsp;of&nbsp;`free'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o):(.text+0x3260):&nbsp;first&nbsp;defined&nbsp;here</DIV>
<DIV>/usr/bin/ld:&nbsp;Warning:&nbsp;size&nbsp;of&nbsp;symbol&nbsp;`free'&nbsp;changed&nbsp;from&nbsp;247&nbsp;in&nbsp;/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o)&nbsp;to&nbsp;375&nbsp;in&nbsp;/usr/lib64/libc.a(malloc.o)</DIV>
<DIV>/usr/lib64/libc.a(malloc.o):&nbsp;In&nbsp;function&nbsp;`malloc':</DIV>
<DIV>(.text+0x55b0):&nbsp;multiple&nbsp;definition&nbsp;of&nbsp;`malloc'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o):(.text+0x3370):&nbsp;first&nbsp;defined&nbsp;here</DIV>
<DIV>/usr/bin/ld:&nbsp;Warning:&nbsp;size&nbsp;of&nbsp;symbol&nbsp;`malloc'&nbsp;changed&nbsp;from&nbsp;364&nbsp;in&nbsp;/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o)&nbsp;to&nbsp;547&nbsp;in&nbsp;/usr/lib64/libc.a(malloc.o)</DIV>
<DIV>/usr/lib64/libc.a(malloc.o):&nbsp;In&nbsp;function&nbsp;`realloc':</DIV>
<DIV>(.text+0x6f20):&nbsp;multiple&nbsp;definition&nbsp;of&nbsp;`realloc'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o):(.text+0x3740):&nbsp;first&nbsp;defined&nbsp;here</DIV>
<DIV>/usr/bin/ld:&nbsp;Warning:&nbsp;size&nbsp;of&nbsp;symbol&nbsp;`realloc'&nbsp;changed&nbsp;from&nbsp;508&nbsp;in&nbsp;/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o)&nbsp;to&nbsp;1123&nbsp;in&nbsp;/usr/lib64/libc.a(malloc.o)</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mem_hooks.o):&nbsp;In&nbsp;function&nbsp;`set_real_munmap_ptr':</DIV>
<DIV>(.text+0x1e):&nbsp;undefined&nbsp;reference&nbsp;to&nbsp;`dlsym'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mem_hooks.o):&nbsp;In&nbsp;function&nbsp;`set_real_munmap_ptr':</DIV>
<DIV>(.text+0x26):&nbsp;undefined&nbsp;reference&nbsp;to&nbsp;`dlerror'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mem_hooks.o):&nbsp;In&nbsp;function&nbsp;`mvapich2_minit':</DIV>
<DIV>(.text+0x14c):&nbsp;undefined&nbsp;reference&nbsp;to&nbsp;`dlerror'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-init.o):&nbsp;In&nbsp;function&nbsp;`load_driver':</DIV>
<DIV>(.text+0xc7):&nbsp;undefined&nbsp;reference&nbsp;to&nbsp;`dlopen'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-init.o):&nbsp;In&nbsp;function&nbsp;`load_driver':</DIV>
<DIV>(.text+0x102):&nbsp;undefined&nbsp;reference&nbsp;to&nbsp;`dlerror'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-init.o):&nbsp;In&nbsp;function&nbsp;`ibverbs_init':</DIV>
<DIV>(.text+0x11af):&nbsp;undefined&nbsp;reference&nbsp;to&nbsp;`dlopen'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-init.o):&nbsp;In&nbsp;function&nbsp;`ibverbs_init':</DIV>
<DIV>(.text+0x11c0):&nbsp;undefined&nbsp;reference&nbsp;to&nbsp;`dlclose'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-verbs.o):&nbsp;In&nbsp;function&nbsp;`ibv_create_comp_channel':</DIV>
<DIV>(.text+0xb76):&nbsp;undefined&nbsp;reference&nbsp;to&nbsp;`pthread_mutex_trylock'</DIV>
<DIV>collect2:&nbsp;ld&nbsp;returned&nbsp;1&nbsp;exit&nbsp;status</DIV>
<DIV>make[3]:&nbsp;***&nbsp;[grompp]&nbsp;Error&nbsp;1</DIV>
<DIV>make[3]:&nbsp;Leaving&nbsp;directory&nbsp;`/home/xuji/src/gromacs-4.5.4/src/kernel'</DIV>
<DIV>make[2]:&nbsp;***&nbsp;[all-recursive]&nbsp;Error&nbsp;1</DIV>
<DIV>make[2]:&nbsp;Leaving&nbsp;directory&nbsp;`/home/xuji/src/gromacs-4.5.4/src'</DIV>
<DIV>make[1]:&nbsp;***&nbsp;[all]&nbsp;Error&nbsp;2</DIV>
<DIV>make[1]:&nbsp;Leaving&nbsp;directory&nbsp;`/home/xuji/src/gromacs-4.5.4/src'</DIV>
<DIV>make:&nbsp;***&nbsp;[all-recursive]&nbsp;Error&nbsp;1</DIV>
<DIV>&nbsp;</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>Can&nbsp;someone&nbsp;show&nbsp;me&nbsp;what's&nbsp;wrong?</DIV>
<DIV>Appreciate&nbsp;any&nbsp;help&nbsp;in&nbsp;advance!</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>&nbsp;</DIV>
<DIV></FONT>&nbsp;</DIV></DIV>
<DIV align=left><FONT face=Verdana color=#c0c0c0 size=2>2011-06-09 
</FONT></DIV><FONT face=Verdana size=2>
<HR style="WIDTH: 122px; HEIGHT: 2px" align=left SIZE=2>

<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>
<DIV>
<DIV><FONT face=Verdana size=2></FONT>
<DIV>&nbsp;</DIV>
<DIV>Best </DIV>
<DIV>&nbsp;&nbsp;&nbsp; wishes&#65281;</DIV>
<DIV>&nbsp;</DIV>
<DIV>Ji Xu</DIV>
<DIV></DIV>
<DIV>The&nbsp;State&nbsp;Key&nbsp;Laboratory&nbsp;of&nbsp;Multiphase&nbsp;Complex&nbsp;System</DIV>
<DIV>Institute&nbsp;of&nbsp;Process&nbsp;Engineering</DIV>
<DIV>Chinese&nbsp;Academy&nbsp;of&nbsp;Sciences</DIV>
<DIV>Beijing&nbsp;100190,&nbsp;China</DIV>
<DIV>Tel.:&nbsp;+86&nbsp;10&nbsp;8262&nbsp;3713-804&nbsp;</DIV></DIV></DIV></SPAN></FONT></DIV></FONT></BODY></HTML>