<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"><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Okay, thanks, I'll look into config.log. Can you tell me about this error:&nbsp;<span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; ">relocation R_X86_64_32 against `.rodata' can not be used when making</span></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><span class="Apple-style-span" style="font-family: arial, helvetica, sans-serif; font-size: 13px; ">&gt;&nbsp; &nbsp; a shared object; recompile with -fPIC. Does it have something to do with --enable-shared during configuration of fftw, and gromacs?</span>&nbsp;</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;
 "><br></div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Best Regards,</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; ">Majid</div><div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "><br><div style="font-family:arial, helvetica, sans-serif;font-size:10pt"><font size="2" face="Tahoma"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Justin A. Lemkul &lt;jalemkul@vt.edu&gt;<br><b><span style="font-weight: bold;">To:</span></b> Discussion list for GROMACS users &lt;gmx-users@gromacs.org&gt;<br><b><span style="font-weight: bold;">Sent:</span></b> Mon, February 14, 2011 6:46:47 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [gmx-users] Gromacs Installation<br></font><br>
<br><br>majid hasan wrote:<br>&gt; Okay, I'll try with --enable-single. But as far as I understood, it seems like its an issue with --enable-shared. In the first attempt, I did enable-shared in fftw configuration, but didn't do it in gromacs configuration, and got this error. In the second attempt, I did enable-shared in ./configure for both fftw and gromacs, but still got the same message. In the third attempt, I didn't enable shared anywhere, and installation went well. Only issue is that when I run ngmx, it says "command not found", and I can't view .trr file, but this seems to be a different issue. But I don't know why --enable-shared isn't working.<br>&gt; <br>&gt; About installing in home directory: actually I downloaded the source from gromacs website, and I did manage to install it in my home directory. But some of the commands, like luck, and ngmx are missing. When I type any of luck, I get, command not found and you can install it by typing
 sudo apt-get install gromacs. I did try to download it using apt-get and software center in ubuntu, but it installs it in usr/share/gromacs, but I want to install it in my home directory.<br>&gt; <br><br>In the latest version of Gromacs, "luck" is named "g_luck."&nbsp; If ngmx was not installed, then probably the required X11 libraries were not found on your system.&nbsp; Check the output from configuration (i.e. config.log) for details.<br><br>-Justin<br><br>&gt; Thanks,<br>&gt; Majid<br>&gt; <br>&gt; ------------------------------------------------------------------------<br>&gt; *From:* lina zhao &lt;<a ymailto="mailto:lnzhao99@gmail.com" href="mailto:lnzhao99@gmail.com">lnzhao99@gmail.com</a>&gt;<br>&gt; *To:* Discussion list for GROMACS users &lt;<a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br>&gt; *Sent:* Mon, February 14, 2011 6:24:47 PM<br>&gt; *Subject:* Re: [gmx-users] Gromacs
 Installation<br>&gt; <br>&gt; 1. Seems the default fftw configuration is double,<br>&gt;&nbsp; &nbsp;  when you install the fftw-3.2.2 configure with --enable single.<br>&gt; <br>&gt; 2. about your question:"I wanted to ask if I can download gromacs in my home directory using the ubuntu software center or synaptic manager?"<br>&gt; <br>&gt; 1] You can download in your home directory and install.<br>&gt; <br><span>&gt; 2] a better but a bit not so-easy way, is download the source (<a target="_blank" href="http://packages.debian.org/sid/gromacs">http://packages.debian.org/sid/gromacs</a>), built the package and add it into repository.</span><br>&gt; <br>&gt; There maybe also some other ways.<br>&gt; <br>&gt; HTH,<br>&gt; <br>&gt; lina<br>&gt; <br>&gt; On Tue, Feb 15, 2011 at 6:23 AM, majid hasan &lt;<a ymailto="mailto:pu_majidhasan@yahoo.com" href="mailto:pu_majidhasan@yahoo.com">pu_majidhasan@yahoo.com</a> &lt;mailto:<a
 ymailto="mailto:pu_majidhasan@yahoo.com" href="mailto:pu_majidhasan@yahoo.com">pu_majidhasan@yahoo.com</a>&gt;&gt; wrote:<br>&gt; <br>&gt;&nbsp; &nbsp;  Dear All,<br>&gt; <br>&gt;&nbsp; &nbsp;  I am trying to install gromacs in ubuntu. I configured both fftw and<br>&gt;&nbsp; &nbsp;  gromacs in my home folder following the instructions on<br><span>&gt;&nbsp; &nbsp;  <a target="_blank" href="http://www.gromacs.org/Downloads/Installation_Instructions">http://www.gromacs.org/Downloads/Installation_Instructions</a>. However,</span><br>&gt;&nbsp; &nbsp;  when I&nbsp; do "make", I get an error in the end (pasted below). I have<br>&gt;&nbsp; &nbsp;  also attached the log file of compilation with the email.<br>&gt; <br>&gt;&nbsp; &nbsp;  /usr/bin/ld: /home/majid/user/soft/fftw/lib/libfftw3f.a(mapflags.o):<br>&gt;&nbsp; &nbsp;  relocation R_X86_64_32 against `.rodata' can not be used when making<br>&gt;&nbsp; &nbsp;  a shared object; recompile with
 -fPIC<br>&gt;&nbsp; &nbsp;  /home/majid/user/soft/fftw/lib/libfftw3f.a: could not read symbols:<br>&gt;&nbsp; &nbsp;  Bad value<br>&gt;&nbsp; &nbsp;  collect2: ld returned 1 exit status<br>&gt;&nbsp; &nbsp;  make[3]: *** [<a target="_blank" href="http://libmd.la">libmd.la</a><span> &lt;<a target="_blank" href="http://libmd.la">http://libmd.la</a>&gt;] Error 1</span><br>&gt;&nbsp; &nbsp;  make[3]: Leaving directory `/home/majid/user/down/gromacs/src/mdlib'<br>&gt;&nbsp; &nbsp;  make[2]: *** [all-recursive] Error 1<br>&gt;&nbsp; &nbsp;  make[2]: Leaving directory `/home/majid/user/down/gromacs/src'<br>&gt;&nbsp; &nbsp;  make[1]: *** [all] Error 2<br>&gt;&nbsp; &nbsp;  make[1]: Leaving directory `/home/majid/user/down/gromacs/src'<br>&gt;&nbsp; &nbsp;  make: *** [all-recursive] Error 1<br>&gt; <br>&gt;&nbsp; &nbsp;  Moreover, I wanted to ask if I can download gromacs in my home<br>&gt;&nbsp; &nbsp;  directory using the ubuntu software center or synaptic
 manager?<br>&gt; <br>&gt;&nbsp; &nbsp;  Thanks,<br>&gt;&nbsp; &nbsp;  Majid<br>&gt; <br>&gt;&nbsp; &nbsp;  ------------------------------------------------------------------------<br>&gt;&nbsp; &nbsp;  Never miss an email again!<br>&gt;&nbsp; &nbsp;  Yahoo! Toolbar<br><span>&gt;&nbsp; &nbsp;  &lt;<a target="_blank" href="http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/">http://us.rd.yahoo.com/evt=49938/*http://tools.search.yahoo.com/toolbar/features/mail/</a>&gt;</span><br>&gt;&nbsp; &nbsp;  alerts you the instant new Mail arrives. Check it out.<br><span>&gt;&nbsp; &nbsp;  &lt;<a target="_blank" href="http://us.rd.yahoo.com/evt=49937/*http://tools.search.yahoo.com/toolbar/features/mail/">http://us.rd.yahoo.com/evt=49937/*http://tools.search.yahoo.com/toolbar/features/mail/</a>&gt;</span><br>&gt; <br>&gt;&nbsp; &nbsp;  --<br>&gt;&nbsp; &nbsp;  gmx-users mailing list&nbsp; &nbsp; <a
 ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a><br>&gt;&nbsp; &nbsp;  &lt;mailto:<a ymailto="mailto:gmx-users@gromacs.org" href="mailto:gmx-users@gromacs.org">gmx-users@gromacs.org</a>&gt;<br><span>&gt;&nbsp; &nbsp;  <a target="_blank" href="http://lists.gromacs.org/mailman/listinfo/gmx-users">http://lists.gromacs.org/mailman/listinfo/gmx-users</a></span><br>&gt;&nbsp; &nbsp;  Please search the archive at<br><span>&gt;&nbsp; &nbsp;  <a target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists/Search">http://www.gromacs.org/Support/Mailing_Lists/Search</a> before posting!</span><br>&gt;&nbsp; &nbsp;  Please don't post (un)subscribe requests to the list. Use the<br>&gt;&nbsp; &nbsp;  www interface or send it to <a ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a><br>&gt;&nbsp; &nbsp;  &lt;mailto:<a
 ymailto="mailto:gmx-users-request@gromacs.org" href="mailto:gmx-users-request@gromacs.org">gmx-users-request@gromacs.org</a>&gt;.<br><span>&gt;&nbsp; &nbsp;  Can't post? Read <a target="_blank" href="http://www.gromacs.org/Support/Mailing_Lists">http://www.gromacs.org/Support/Mailing_Lists</a></span><br>&gt; <br>&gt; <br>&gt; <br>&gt; ------------------------------------------------------------------------<br><span>&gt; Sucker-punch spam &lt; <a target="_blank" href="http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html">http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html</a>&gt; with award-winning protection.</span><br>&gt; Try the free Yahoo! Mail Beta. &lt; <a href="http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html"
 target="_blank">http://us.rd.yahoo.com/evt=49981/*http://advision.webevents.yahoo.com/mailbeta/features_spam.html</a>&gt;<br>&gt; <br><br>-- ========================================<br><br>Justin A. Lemkul<br>Ph.D. Candidate<br>ICTAS Doctoral Scholar<br>MILES-IGERT Trainee<br>Department of Biochemistry<br>Virginia Tech<br>Blacksburg, VA<br>jalemkul[at]<a target="_blank" href="http://vt.edu">vt.edu</a> | (540) 231-9080<br><span><a target="_blank" href="http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin">http://www.bevanlab.biochem.vt.edu/Pages/Personal/justin</a></span><br><br>========================================<br>-- gmx-users mailing list&nbsp; &nbsp; <a ymailto="mailto:gmx-users@gromacs.org" 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 www interface or send it to <a ymailto="mailto:gmx-users-request@gromacs.org" 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></div></div><div style="position: fixed; font-family: 'times new roman', 'new york', times, serif; font-size: 12pt; "></div>


</div><br>

<hr size=1>Don't be flakey. <a href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail">Get Yahoo! Mail for Mobile</a> and <br><a href="http://us.rd.yahoo.com/evt=43909/*http://mobile.yahoo.com/mail">always stay connected</a> to friends.</body></html>