Hi,<br><br>1.method:<br>You can install it from Synaptic package manager.<br>2.method:<br>sudo apt-get install libfftw3-dev<br>Later, in gromacs directory<br>./configure<br>sudo make<br>sudo make install<br>sudo make mdrun<br>
sudo make links<br><br><div class="gmail_quote">2012/1/18 Mark Abraham <span dir="ltr"><<a href="mailto:Mark.Abraham@anu.edu.au">Mark.Abraham@anu.edu.au</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div bgcolor="#FFFFFF" text="#000000">
On 18/01/2012 7:30 PM, kumud agarwal wrote:
<blockquote type="cite">Hi<br>
<br>
I have been trying to install Gromacs on ubuntu.<br>
<br>
After make command I got the following error<br>
<br>
<p style="margin-bottom:0in"><b>/usr/bin/ld:
/usr/local/lib/libfftw3f.a(alloc.o): relocation R_X86_64_32
against
`.rodata.str1.1' can not be used when making a shared object;
recompile with -fPIC</b></p>
</blockquote>
<br>
See
<a href="http://www.gromacs.org/Downloads/Installation_Instructions#Details_for_building_the_FFTW_prerequisite" target="_blank">http://www.gromacs.org/Downloads/Installation_Instructions#Details_for_building_the_FFTW_prerequisite</a><br>
<br>
Mark<br>
<br>
<blockquote type="cite">
<p style="margin-bottom:0in"><b>/usr/local/lib/libfftw3f.a: could
not
read symbols: Bad value</b></p>
<p style="margin-bottom:0in"><b>collect2: ld returned 1 exit
status</b></p>
<p style="margin-bottom:0in"><b>make[3]: *** [<a href="http://libmd.la" target="_blank">libmd.la</a>]
Error 1</b></p>
<p style="margin-bottom:0in"><b>make[3]: Leaving directory
`/home/ankit/gromacs/gromacs-4.5.5/src/mdlib'</b></p>
<p style="margin-bottom:0in"><b>make[2]: *** [all-recursive] Error
1</b></p>
<p style="margin-bottom:0in"><b>make[2]: Leaving directory
`/home/ankit/gromacs/gromacs-4.5.5/src'</b></p>
<p style="margin-bottom:0in"><b>make[1]: *** [all] Error 2</b></p>
<p style="margin-bottom:0in"><b>make[1]: Leaving directory
`/home/ankit/gromacs/gromacs-4.5.5/src'</b></p>
<p style="margin-bottom:0in"><b>make: *** [all-recursive] Error 1</b></p>
<p style="margin-bottom:0in"><b><a href="mailto:ankit@ubuntu:%7E/gromacs/gromacs-4.5.5$" target="_blank">ankit@ubuntu:~/gromacs/gromacs-4.5.5$</a>
<br>
</b></p>
<p style="margin-bottom:0in">How can I solve this error?</p>
<p style="margin-bottom:0in">Thanks</p>
<p style="margin-bottom:0in">Kumud Agarwal<br>
</p>
<p style="margin-bottom:0in"><br>
</p>
<br>
<br>
<fieldset></fieldset>
<br>
</blockquote>
<br>
</div>
<br>--<br>
gmx-users mailing list <a href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>
<a href="http://lists.gromacs.org/mailman/listinfo/gmx-users" target="_blank">http://lists.gromacs.org/mailman/listinfo/gmx-users</a><br>
Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/Search" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!<br>
Please don't post (un)subscribe requests to the list. Use the<br>
www interface or send it to <a href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>.<br>
Can't post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br></blockquote></div><br><br clear="all"><br>-- <br>Ahmet Yıldırım<br><br>