[gmx-developers] difficluties in compiling gromacs

David van der Spoel spoel at xray.bmc.uu.se
Tue Jan 12 22:41:51 CET 2010


On 1/12/10 9:31 PM, Jin Wu wrote:
> I get the following error message when I install gromacsv4.0.7. the 
> commands I run are as follows:
> /home/jinwu/swinstall/gromacs/v4.0.7/fftw-3.2.2 /configure 
> --enable-threads --enable-float --enable-sse
don't use the --enable-threads


> make
> make install
> /home/jinwu/swinstall/gromacs/v4.0.7/gromacs-4.0.7/configure 
> --with-fft=fftw3 --without-x --enable-shared
> make
> /usr/bin/ld: /usr/local/lib/libfftw3f.a(plan-dft-2d.o): relocation 
> R_X86_64_32 against `a local symbol' can not be used when making a 
> shared object; recompile with -fPIC
> /usr/local/lib/libfftw3f.a: could not read symbols: Bad value
> collect2: ld returned 1 exit status
> make[3]: *** [libmd.la] Error 1
> make[3]: Leaving directory 
> `/home/jinwu/swinstall/v4.0.7/gromacs-4.0.7/src/mdlib'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory 
> `/home/jinwu/swinstall/v4.0.7/gromacs-4.0.7/src'
> make[1]: *** [all] Error 2
> make[1]: Leaving directory 
> `/home/jinwu/swinstall/v4.0.7/gromacs-4.0.7/src'
> make: *** [all-recursive] Error 1
>


-- 
David.
________________________________________________________________________
David van der Spoel, PhD, Professor of Biology
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://xray.bmc.uu.se/~spoel
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++




More information about the gromacs.org_gmx-developers mailing list