<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=gb2312">
<META content="MSHTML 6.00.2900.6082" name=GENERATOR>
<STYLE>@font-face {
        font-family: ËÎÌå;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @ËÎÌå;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>Hi all gmx-users:</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>I install gromacs-4.5.4, with</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV>
<DIV>tar xzf gromacs-4.5.4.tar.gz</DIV>
<DIV>cd gromacs-4.5.4</DIV></DIV>
<DIV>export MPICC=/usr/mpi/gcc/mvapich2-1.4.1/bin/mpicc </DIV>
<DIV>./configure --prefix=/home/xuji/bin/gmx_4.5.4/parallel_float --enable-mpi --program-suffix=_mpi --without-x --with-fft=fftw3 --enable-all-static --without-xml --with-pic CPPFLAGS=-I/home/xuji/bin/fftw3_f/include/ LDFLAGS=-L/home/xuji/bin/fftw3_f/lib/
</DIV>
<DIV>
<DIV>make -j 8</DIV></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV><FONT color=#000080>but always got following errors:</FONT></DIV>
<DIV><FONT color=#000000></FONT> </DIV>
<DIV>
<DIV>Making all in kernel</DIV>
<DIV>make[3]: Entering directory `/home/xuji/src/gromacs-4.5.4/src/kernel'</DIV>
<DIV>/bin/sh ../../libtool --tag=CC --mode=link /usr/mpi/gcc/mvapich2-1.4.1/bin/mpicc -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -msse2 -funroll-all-loops -std=gnu99 -L/home/xuji/bin/fftw3_f/lib/ -all-static -o grompp grompp.o libgmxpreprocess_mpi.la ../mdlib/libmd_mpi.la ../gmxlib/libgmx_mpi.la -lnsl -lm </DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/bin/mpicc -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -msse2 -funroll-all-loops -std=gnu99 -static -o grompp grompp.o -L/home/xuji/bin/fftw3_f/lib/ ./.libs/libgmxpreprocess_mpi.a /home/xuji/src/gromacs-4.5.4/src/mdlib/.libs/libmd_mpi.a ../mdlib/.libs/libmd_mpi.a /home/xuji/bin/fftw3_f/lib/libfftw3f.a /home/xuji/src/gromacs-4.5.4/src/gmxlib/.libs/libgmx_mpi.a ../gmxlib/.libs/libgmx_mpi.a -lnsl -lm </DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(simple_pmi.o): In function `PMI_Init':</DIV>
<DIV>(.text+0x1690): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking</DIV>
<DIV>/usr/lib64/libc.a(malloc.o): In function `__malloc_check_init':</DIV>
<DIV>(.text+0x13d0): multiple definition of `__malloc_check_init'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o):(.text+0x8c0): first defined here</DIV>
<DIV>/usr/bin/ld: Warning: size of symbol `__malloc_check_init' changed from 113 in /usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o) to 107 in /usr/lib64/libc.a(malloc.o)</DIV>
<DIV>/usr/lib64/libc.a(malloc.o): In function `free':</DIV>
<DIV>(.text+0x6da0): multiple definition of `free'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o):(.text+0x3260): first defined here</DIV>
<DIV>/usr/bin/ld: Warning: size of symbol `free' changed from 247 in /usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o) to 375 in /usr/lib64/libc.a(malloc.o)</DIV>
<DIV>/usr/lib64/libc.a(malloc.o): In function `malloc':</DIV>
<DIV>(.text+0x55b0): multiple definition of `malloc'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o):(.text+0x3370): first defined here</DIV>
<DIV>/usr/bin/ld: Warning: size of symbol `malloc' changed from 364 in /usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o) to 547 in /usr/lib64/libc.a(malloc.o)</DIV>
<DIV>/usr/lib64/libc.a(malloc.o): In function `realloc':</DIV>
<DIV>(.text+0x6f20): multiple definition of `realloc'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o):(.text+0x3740): first defined here</DIV>
<DIV>/usr/bin/ld: Warning: size of symbol `realloc' changed from 508 in /usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mvapich_malloc.o) to 1123 in /usr/lib64/libc.a(malloc.o)</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mem_hooks.o): In function `set_real_munmap_ptr':</DIV>
<DIV>(.text+0x1e): undefined reference to `dlsym'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mem_hooks.o): In function `set_real_munmap_ptr':</DIV>
<DIV>(.text+0x26): undefined reference to `dlerror'</DIV>
<DIV>/usr/mpi/gcc/mvapich2-1.4.1/lib/libmpich.a(mem_hooks.o): In function `mvapich2_minit':</DIV>
<DIV>(.text+0x14c): undefined reference to `dlerror'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-init.o): In function `load_driver':</DIV>
<DIV>(.text+0xc7): undefined reference to `dlopen'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-init.o): In function `load_driver':</DIV>
<DIV>(.text+0x102): undefined reference to `dlerror'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-init.o): In function `ibverbs_init':</DIV>
<DIV>(.text+0x11af): undefined reference to `dlopen'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-init.o): In function `ibverbs_init':</DIV>
<DIV>(.text+0x11c0): undefined reference to `dlclose'</DIV>
<DIV>/usr/lib64/libibverbs.a(src_libibverbs_la-verbs.o): In function `ibv_create_comp_channel':</DIV>
<DIV>(.text+0xb76): undefined reference to `pthread_mutex_trylock'</DIV>
<DIV>collect2: ld returned 1 exit status</DIV>
<DIV>make[3]: *** [grompp] Error 1</DIV>
<DIV>make[3]: Leaving directory `/home/xuji/src/gromacs-4.5.4/src/kernel'</DIV>
<DIV>make[2]: *** [all-recursive] Error 1</DIV>
<DIV>make[2]: Leaving directory `/home/xuji/src/gromacs-4.5.4/src'</DIV>
<DIV>make[1]: *** [all] Error 2</DIV>
<DIV>make[1]: Leaving directory `/home/xuji/src/gromacs-4.5.4/src'</DIV>
<DIV>make: *** [all-recursive] Error 1</DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV><FONT color=#000080>Can someone show me what's wrong?</FONT></DIV>
<DIV><FONT color=#000080>Appreciate any help in advance!</FONT></DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2011-06-08 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>
<DIV>
<DIV><FONT face=Verdana size=2></FONT>
<DIV> </DIV>
<DIV>Best </DIV>
<DIV> wishes£¡</DIV>
<DIV> </DIV>
<DIV>Ji Xu</DIV>
<DIV></DIV>
<DIV>The State Key Laboratory of Multiphase Complex System</DIV>
<DIV>Institute of Process Engineering</DIV>
<DIV>Chinese Academy of Sciences</DIV>
<DIV>Beijing 100190, China</DIV>
<DIV>Tel.: +86 10 8262 3713-804 </DIV></DIV></DIV></SPAN></FONT></DIV>
<HR color=#b5c4df SIZE=1>
</BODY></HTML>