<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">The error message already shows some hints. Try recompile FFTW with -fPIC.<br>Jianguo <br><div><br></div><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><br><div style="font-family:times new roman, new york, times, serif;font-size:12pt"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Chandan Choudhury <iitdckc@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> gmx-users <gmx-users@gromacs.org><br><b><span style="font-weight: bold;">Sent:</span></b> Thursday, 2 June 2011 15:03:03<br><b><span style="font-weight: bold;">Subject:</span></b> [gmx-users] gmx4.5.4 installation help<br></font><br><meta http-equiv="x-dns-prefetch-control" content="off">Hello gmx-users,<br><br>I am trying to install
gmx-4.5.4 on a HPC Linux cluster x86_64. <br>1. I installed fftw 3.2.2<br clear="all"> ./configure --prefix /soft/sudip/abc/execs/fftw/ --enable-single --enable-threads<br>
2. Installing Gromacs : CPPFLAGS and LDFLAGS were written in bashrc file<br> a) ./configure --prefix=/soft/sudip/abc/execs/gromacs/<br> execute successfully without any complain.<br> b) make<br> /usr/bin/ld: /soft/sudip/abc/execs/fftw/lib/libfftw3f.a(apiplan.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC<br>
/soft/sudip/abc/execs/fftw/lib/libfftw3f.a: could not read symbols: Bad value<br> collect2: ld returned 1 exit status<br> make[3]: *** [<a rel="nofollow" target="_blank" href="http://libmd.la">libmd.la</a>] Error 1<br>
make[3]: Leaving directory `/soft/sudip/abc/untar/gromacs-4.5.4/src/mdlib'<br> make[2]: *** [all-recursive] Error 1<br> make[2]: Leaving directory `/soft/sudip/abc/untar/gromacs-4.5.4/src'<br>
make[1]: *** [all] Error 2<br> make[1]: Leaving directory `/soft/sudip/abc/untar/gromacs-4.5.4/src'<br> make: *** [all-recursive] Error 1<br><br> shows problem. <br><br>Couldnot understand the origin of problem. Kndly let me know if some information is missing.<br>
<br>Chandan<br><br>--<br>Chandan kumar Choudhury<br>NCL, Pune<br>INDIA<br>
<meta http-equiv="x-dns-prefetch-control" content="on"></div></div>
</div></body></html>