[gmx-users] compilation --enable-threads fails

David van der Spoel spoel at xray.bmc.uu.se
Wed Feb 8 10:41:52 CET 2006


Rene Meier wrote:
> Hi!
> 
> I try to install gromacs 3.3 with threads enabled. my configuration is:
> gcc -v
> Lese Spezifikationen von /usr/lib/gcc/i686-pc-linux-gnu/3.4.4/specs
> Konfiguriert mit: /var/tmp/portage/gcc-3.4.4-r1/work/gcc-3.4.4/configure --prefix=/usr --bindir=/usr/i686-pc-linux-gnu/gcc-bin/3.4.4 --includedir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include --datadir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4 --mandir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/man --infodir=/usr/share/gcc-data/i686-pc-linux-gnu/3.4.4/info --with-gxx-include-dir=/usr/lib/gcc/i686-pc-linux-gnu/3.4.4/include/g++-v3 --host=i686-pc-linux-gnu --build=i686-pc-linux-gnu --disable-altivec --enable-nls --without-included-gettext --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --disable-multilib --disable-libmudflap --disable-libgcj --enable-languages=c,c++,f77 --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
> Thread-Modell: posix
> gcc-Version 3.4.4 (Gentoo 3.4.4-r1, ssp-3.4.4-1.0, pie-8.7.8)
> 
> binutils version 2.16.1
> fftw version 3.0.1
> 
> i made:
> 
> ./configure --enable-threads
> make
> 
> during make i get the following error:
> cc -O3 -fomit-frame-pointer -finline-functions -Wall -Wno-unused -malign-double -funroll-all-loops -o grompp topio.o toppush.o topcat.o topshake.o convparm.o tomorse.o sorting.o splitter.o vsite_parm.o readir.o add_par.o topexcl.o toputil.o topdirs.o grompp.o  ../mdlib/.libs/libmd.a ../gmxlib/.libs/libgmx.a -lnsl /usr/lib/libfftw3f.so -lm /usr/lib/libXm.so -lXmu -lXt -lSM -lICE -lXext -lXp -lX11
> ../gmxlib/.libs/libgmx.a(nb_kernel010_c.o): In function `nb_kernel010':
> nb_kernel010_c.c:(.text+0x4a): undefined reference to `gmx_thread_mutex_lock'
> nb_kernel010_c.c:(.text+0x8a): undefined reference to `gmx_thread_mutex_unlock'
> ../gmxlib/.libs/libgmx.a(nb_kernel010_c.o): In function `nb_kernel010nf':
> nb_kernel010_c.c:(.text+0x366): undefined reference to `gmx_thread_mutex_lock'
> nb_kernel010_c.c:(.text+0x3a6): undefined reference to `gmx_thread_mutex_unlock'
> ...
> 
> Is this a known error? Did i something wrong? 
threads are not yet functional.
try without.

> 
> Thanks in advance.
> 
> Rene Meier
> 
> 


-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Assoc. Prof., Molecular Biophysics group,
Dept. of Cell and Molecular Biology, Uppsala University.
Husargatan 3, Box 596,  	75124 Uppsala, Sweden
phone:	46 18 471 4205		fax: 46 18 511 755
spoel at xray.bmc.uu.se	spoel at gromacs.org   http://folding.bmc.uu.se
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



More information about the gromacs.org_gmx-users mailing list