[gmx-users] Error while compiling gromacs-4.5.4

vivek sharma viveksharma.iitb at gmail.com
Thu Apr 28 06:52:00 CEST 2011

Hi there,
I am trying to install gromacs-4.5.4 on my local machine with FC, I tried
following set of commands:

-----------------------------to install FFTW at location
./configure --prefix=/root/Desktop/Vivek/calcitonin/FFTW
make install
export LDFLAGS=-L/root/Desktop/Vivek/calcitonin/FFTW/lib
export CPPFLAGS=-I/root/Desktop/Vivek/calcitonin/FFTW/include
-------------------to install gromacs at location
./configure --prefix=/root/Desktop/Vivek/calcitonin/GROMACS-4.5.4/
make install

and end up with following error
/usr/bin/ld: /usr/local/lib/libfftw3f.a(plan-dft-c2r-3d.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[2]: *** [libmd.la] Error 1
make[2]: Leaving directory
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory
make: *** [install-recursive] Error 1

Does anybody have any idea regarding this error. Any insight and suggestion
are appreciated.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-users/attachments/20110428/74c79f55/attachment.html>

More information about the gromacs.org_gmx-users mailing list