Add --with-pic when configuring fftw. -- Josh
On Thu, 2011-06-02 at 15:16 +0800, Jianguo Li wrote: > The error message already shows some hints. Try recompile FFTW with > -fPIC. > Jianguo > > > > > ______________________________________________________________________ > From: Chandan Choudhury <[email protected]> > To: gmx-users <[email protected]> > Sent: Thursday, 2 June 2011 15:03:03 > Subject: [gmx-users] gmx4.5.4 installation help > > Hello gmx-users, > > I am trying to install gmx-4.5.4 on a HPC Linux cluster x86_64. > 1. I installed fftw 3.2.2 > ./configure --prefix /soft/sudip/abc/execs/fftw/ > --enable-single --enable-threads > 2. Installing Gromacs : CPPFLAGS and LDFLAGS were written in bashrc > file > a) ./configure --prefix=/soft/sudip/abc/execs/gromacs/ > execute successfully without any complain. > b) make > /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 > /soft/sudip/abc/execs/fftw/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 > `/soft/sudip/abc/untar/gromacs-4.5.4/src/mdlib' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory > `/soft/sudip/abc/untar/gromacs-4.5.4/src' > make[1]: *** [all] Error 2 > make[1]: Leaving directory > `/soft/sudip/abc/untar/gromacs-4.5.4/src' > make: *** [all-recursive] Error 1 > > shows problem. > > Couldnot understand the origin of problem. Kndly let me know if some > information is missing. > > Chandan > > -- > Chandan kumar Choudhury > NCL, Pune > INDIA > > -- > gmx-users mailing list [email protected] > http://lists.gromacs.org/mailman/listinfo/gmx-users > Please search the archive at > http://www.gromacs.org/Support/Mailing_Lists/Search before posting! > Please don't post (un)subscribe requests to the list. Use the > www interface or send it to [email protected]. > Can't post? Read http://www.gromacs.org/Support/Mailing_Lists -- Joshua L. Phillips Ph.D. Candidate - School of Engineering University of California, Merced [email protected] -- gmx-users mailing list [email protected] http://lists.gromacs.org/mailman/listinfo/gmx-users Please search the archive at http://www.gromacs.org/Support/Mailing_Lists/Search before posting! Please don't post (un)subscribe requests to the list. Use the www interface or send it to [email protected]. Can't post? Read http://www.gromacs.org/Support/Mailing_Lists

